|
1 | | -// ------------------------------------------------------------------------------------------------- |
2 | | -// <copyright file="IAnnotation.cs" company="Starion Group S.A."> |
3 | | -// |
4 | | -// Copyright 2022-2025 Starion Group S.A. |
5 | | -// |
6 | | -// Licensed under the Apache License, Version 2.0 (the "License"); |
7 | | -// you may not use this file except in compliance with the License. |
8 | | -// You may obtain a copy of the License at |
9 | | -// |
10 | | -// http://www.apache.org/licenses/LICENSE-2.0 |
11 | | -// |
12 | | -// Unless required by applicable law or agreed to in writing, software |
13 | | -// distributed under the License is distributed on an "AS IS" BASIS, |
14 | | -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | | -// See the License for the specific language governing permissions and |
16 | | -// limitations under the License. |
17 | | -// |
18 | | -// </copyright> |
19 | | -// ------------------------------------------------------------------------------------------------ |
20 | | - |
21 | | -// ------------------------------------------------------------------------------------------------ |
22 | | -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- |
23 | | -// ------------------------------------------------------------------------------------------------ |
24 | | - |
25 | | -namespace SysML2.NET.Core.POCO |
26 | | -{ |
27 | | - using System; |
28 | | - using System.Collections.Generic; |
29 | | - |
30 | | - using SysML2.NET.Core; |
31 | | - using SysML2.NET.Decorators; |
32 | | - |
33 | | - /// <summary> |
34 | | - /// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by |
35 | | - /// that AnnotatingElement.(owningAnnotatedElement <> null) = (ownedAnnotatingElement <> |
36 | | - /// null)ownedAnnotatingElement <> null xor owningAnnotatingElement <> nullownedAnnotatingElement = |
37 | | - /// let ownedAnnotatingElements : Sequence(AnnotatingElement) = |
38 | | - /// ownedRelatedElement->selectByKind(AnnotatingElement) in if ownedAnnotatingElements->isEmpty() |
39 | | - /// then null else ownedAnnotatingElements->first() endifannotatingElement = if |
40 | | - /// ownedAnnotatingElement <> null then ownedAnnotatingElement else owningAnnotatingElement endif |
41 | | - /// </summary> |
42 | | - public partial interface IAnnotation : IRelationship |
43 | | - { |
44 | | - /// <summary> |
45 | | - /// The Element that is annotated by the annotatingElement of this Annotation. |
46 | | - /// </summary> |
47 | | - [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
48 | | - IElement AnnotatedElement { get; set; } |
49 | | - |
50 | | - /// <summary> |
51 | | - /// Queries the derived property AnnotatingElement |
52 | | - /// </summary> |
53 | | - [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
54 | | - AnnotatingElement QueryAnnotatingElement(); |
55 | | - |
56 | | - /// <summary> |
57 | | - /// Queries the derived property OwnedAnnotatingElement |
58 | | - /// </summary> |
59 | | - [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
60 | | - AnnotatingElement QueryOwnedAnnotatingElement(); |
61 | | - |
62 | | - /// <summary> |
63 | | - /// Queries the derived property OwningAnnotatedElement |
64 | | - /// </summary> |
65 | | - [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
66 | | - IElement QueryOwningAnnotatedElement(); |
67 | | - |
68 | | - /// <summary> |
69 | | - /// Queries the derived property OwningAnnotatingElement |
70 | | - /// </summary> |
71 | | - [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
72 | | - AnnotatingElement QueryOwningAnnotatingElement(); |
73 | | - |
74 | | - } |
75 | | -} |
76 | | - |
77 | | -// ------------------------------------------------------------------------------------------------ |
78 | | -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- |
79 | | -// ------------------------------------------------------------------------------------------------ |
| 1 | +// ------------------------------------------------------------------------------------------------- |
| 2 | +// <copyright file="IAnnotation.cs" company="Starion Group S.A."> |
| 3 | +// |
| 4 | +// Copyright 2022-2025 Starion Group S.A. |
| 5 | +// |
| 6 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +// you may not use this file except in compliance with the License. |
| 8 | +// You may obtain a copy of the License at |
| 9 | +// |
| 10 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +// |
| 12 | +// Unless required by applicable law or agreed to in writing, software |
| 13 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +// See the License for the specific language governing permissions and |
| 16 | +// limitations under the License. |
| 17 | +// |
| 18 | +// </copyright> |
| 19 | +// ------------------------------------------------------------------------------------------------ |
| 20 | + |
| 21 | +// ------------------------------------------------------------------------------------------------ |
| 22 | +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- |
| 23 | +// ------------------------------------------------------------------------------------------------ |
| 24 | + |
| 25 | +namespace SysML2.NET.Core.POCO |
| 26 | +{ |
| 27 | + using System; |
| 28 | + using System.Collections.Generic; |
| 29 | + |
| 30 | + using SysML2.NET.Core; |
| 31 | + using SysML2.NET.Decorators; |
| 32 | + |
| 33 | + /// <summary> |
| 34 | + /// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by |
| 35 | + /// that AnnotatingElement.(owningAnnotatedElement <> null) = (ownedAnnotatingElement <> |
| 36 | + /// null)ownedAnnotatingElement <> null xor owningAnnotatingElement <> nullownedAnnotatingElement = |
| 37 | + /// let ownedAnnotatingElements : Sequence(AnnotatingElement) = |
| 38 | + /// ownedRelatedElement->selectByKind(AnnotatingElement) in if ownedAnnotatingElements->isEmpty() |
| 39 | + /// then null else ownedAnnotatingElements->first() endifannotatingElement = if |
| 40 | + /// ownedAnnotatingElement <> null then ownedAnnotatingElement else owningAnnotatingElement endif |
| 41 | + /// </summary> |
| 42 | + public partial interface IAnnotation : IRelationship |
| 43 | + { |
| 44 | + /// <summary> |
| 45 | + /// The Element that is annotated by the annotatingElement of this Annotation. |
| 46 | + /// </summary> |
| 47 | + [EFeature(isChangeable: true, isVolatile: false, isTransient: false, isUnsettable: false, isDerived: false, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
| 48 | + IElement AnnotatedElement { get; set; } |
| 49 | + |
| 50 | + /// <summary> |
| 51 | + /// Queries the derived property AnnotatingElement |
| 52 | + /// </summary> |
| 53 | + [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 1, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
| 54 | + AnnotatingElement QueryAnnotatingElement(); |
| 55 | + |
| 56 | + /// <summary> |
| 57 | + /// Queries the derived property OwnedAnnotatingElement |
| 58 | + /// </summary> |
| 59 | + [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
| 60 | + AnnotatingElement QueryOwnedAnnotatingElement(); |
| 61 | + |
| 62 | + /// <summary> |
| 63 | + /// Queries the derived property OwningAnnotatedElement |
| 64 | + /// </summary> |
| 65 | + [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
| 66 | + IElement QueryOwningAnnotatedElement(); |
| 67 | + |
| 68 | + /// <summary> |
| 69 | + /// Queries the derived property OwningAnnotatingElement |
| 70 | + /// </summary> |
| 71 | + [EFeature(isChangeable: true, isVolatile: true, isTransient: true, isUnsettable: false, isDerived: true, isOrdered: false, isUnique: true, lowerBound: 0, upperBound: 1, isMany: false, isRequired: false, isContainment: false)] |
| 72 | + AnnotatingElement QueryOwningAnnotatingElement(); |
| 73 | + |
| 74 | + } |
| 75 | +} |
| 76 | + |
| 77 | +// ------------------------------------------------------------------------------------------------ |
| 78 | +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- |
| 79 | +// ------------------------------------------------------------------------------------------------ |
0 commit comments