|
| 1 | +// ------------------------------------------------------------------------------------------------- |
| 2 | +// <copyright file="IAssociation.cs" company="Starion Group S.A."> |
| 3 | +// |
| 4 | +// Copyright (C) 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.DTO |
| 26 | +{ |
| 27 | + using System; |
| 28 | + using System.CodeDom.Compiler; |
| 29 | + using System.Collections.Generic; |
| 30 | + |
| 31 | + |
| 32 | + using SysML2.NET.Decorators; |
| 33 | + |
| 34 | + /// <summary> |
| 35 | + /// An Association is a Relationship and a Classifier to enable classification of links between things |
| 36 | + /// (in the universe). The co-domains (types) of the associationEnd Features are the relatedTypes, as |
| 37 | + /// co-domain and participants (linked things) of an Association identify each other. |
| 38 | + /// </summary> |
| 39 | + [Class(xmiId: "_18_5_3_12e503d9_1533160651716_116234_42240", isAbstract: false, isFinalSpecialization: false, isActive: false)] |
| 40 | + [GeneratedCode("SysML2.NET", "latest")] |
| 41 | + public partial interface IAssociation : IClassifier, IRelationship |
| 42 | + { |
| 43 | + /// <summary> |
| 44 | + /// The features of the Association that identify the things that can be related by it. A concrete |
| 45 | + /// Association must have at least two associationEnds. When it has exactly two, the Association is |
| 46 | + /// called a binary Association. |
| 47 | + /// </summary> |
| 48 | + [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)] |
| 49 | + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] |
| 50 | + List<Guid> AssociationEnd { get; } |
| 51 | + |
| 52 | + /// <summary> |
| 53 | + /// The types of the associationEnds of the Association, which are the relatedElements of the |
| 54 | + /// Association considered as a Relationship. |
| 55 | + /// </summary> |
| 56 | + [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)] |
| 57 | + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] |
| 58 | + List<Guid> RelatedType { get; } |
| 59 | + |
| 60 | + /// <summary> |
| 61 | + /// The source relatedType for this Association. It is the first relatedType of the Association. |
| 62 | + /// </summary> |
| 63 | + [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)] |
| 64 | + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] |
| 65 | + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] |
| 66 | + Guid? SourceType { get; } |
| 67 | + |
| 68 | + /// <summary> |
| 69 | + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the |
| 70 | + /// sourceType. |
| 71 | + /// </summary> |
| 72 | + [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)] |
| 73 | + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] |
| 74 | + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] |
| 75 | + List<Guid> TargetType { get; } |
| 76 | + |
| 77 | + } |
| 78 | +} |
| 79 | + |
| 80 | +// ------------------------------------------------------------------------------------------------ |
| 81 | +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- |
| 82 | +// ------------------------------------------------------------------------------------------------ |
0 commit comments