-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathFramedConcernMembership.cs
More file actions
492 lines (437 loc) · 33.3 KB
/
FramedConcernMembership.cs
File metadata and controls
492 lines (437 loc) · 33.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
// -------------------------------------------------------------------------------------------------
// <copyright file="FramedConcernMembership.cs" company="Starion Group S.A.">
//
// Copyright (C) 2022-2026 Starion Group S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
namespace SysML2.NET.Core.POCO.Systems.Requirements
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using SysML2.NET.Core.Root.Namespaces;
using SysML2.NET.Core.Systems.Requirements;
using SysML2.NET.Core.POCO.Core.Features;
using SysML2.NET.Core.POCO.Core.Types;
using SysML2.NET.Core.POCO.Root.Annotations;
using SysML2.NET.Core.POCO.Root.Elements;
using SysML2.NET.Core.POCO.Root.Namespaces;
using SysML2.NET.Core.POCO.Systems.Constraints;
using SysML2.NET.Collections;
using SysML2.NET.Decorators;
/// <summary>
/// A FramedConcernMembership is a RequirementConstraintMembership for a framed ConcernUsage of a
/// RequirementDefinition or RequirementUsage.
/// </summary>
[Class(xmiId: "_19_0_4_12e503d9_1617120429499_126250_3667", isAbstract: false, isFinalSpecialization: false, isActive: false)]
[GeneratedCode("SysML2.NET", "latest")]
public partial class FramedConcernMembership : IFramedConcernMembership, IContainedRelationship
{
/// <summary>
/// Initialize a new instance of <see cref="FramedConcernMembership" />
/// </summary>
public FramedConcernMembership()
{
((IContainedRelationship)this).OwnedRelatedElement = new ContainerList<IRelationship, IElement>(this,
(element, relationship) => ((IContainedElement)element).OwningRelationship = relationship,
element => element.OwningRelationship);
((IContainedElement)this).OwnedRelationship = new ContainerList<IElement, IRelationship>(this,
(relationship, element) => ((IContainedRelationship)relationship).OwningRelatedElement = element,
relationship => relationship.OwningRelatedElement);
}
/// <summary>
/// Gets or sets the unique identifier
/// </summary>
[Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IData.Id")]
public Guid Id { get; set; }
/// <summary>
/// Various alternative identifiers for this Element. Generally, these will be set by tools.
/// </summary>
[Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.AliasIds")]
public List<string> AliasIds { get; set; } = [];
/// <summary>
/// The declared name of this Element.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.DeclaredName")]
public string DeclaredName { get; set; }
/// <summary>
/// An optional alternative name for the Element that is intended to be shorter or in some way more
/// succinct than its primary name. It may act as a modeler-specified identifier for the Element, though
/// it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a
/// model or relative to some other context.
/// </summary>
[Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.DeclaredShortName")]
public string DeclaredShortName { get; set; }
/// <summary>
/// The Documentation owned by this Element.
/// </summary>
[Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")]
[Implements(implementation: "IElement.Documentation")]
public List<IDocumentation> documentation => this.ComputeDocumentation();
/// <summary>
/// The globally unique identifier for this Element. This is intended to be set by tooling, and it must
/// not change during the lifetime of the Element.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.ElementId")]
public string ElementId { get; set; }
/// <summary>
/// Whether this Relationship was generated by tooling to meet semantic rules, rather than being
/// directly created by a modeler.
/// </summary>
[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; }
/// <summary>
/// Whether all necessary implied Relationships have been included in the ownedRelationships of this
/// Element. This property may be true, even if there are not actually any ownedRelationships with
/// isImplied = true, meaning that no such Relationships are actually implied for this Element. However,
/// if it is false, then ownedRelationships may not contain any implied Relationships. That is, either
/// all required implied Relationships must be included, or none of them.
/// </summary>
[Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")]
[Implements(implementation: "IElement.IsImpliedIncluded")]
public bool IsImpliedIncluded { get; set; }
/// <summary>
/// Whether this Element is contained in the ownership tree of a library model.
/// </summary>
[Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.IsLibraryElement")]
public bool isLibraryElement => this.ComputeIsLibraryElement();
/// <summary>
/// The kind of an FramedConcernMembership must be requirement.
/// </summary>
[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; } = RequirementConstraintKind.Requirement;
/// <summary>
/// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage.
/// </summary>
[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 => this.Kind;
set
{
this.Kind = value;
}
}
/// <summary>
/// The Element that becomes a member of the membershipOwningNamespace due to this Membership.
/// </summary>
[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")]
IElement Root.Namespaces.IMembership.MemberElement
{
get => ((SysML2.NET.Core.POCO.Root.Namespaces.IOwningMembership)this).ownedMemberElement;
set { }
}
/// <summary>
/// The elementId of the memberElement.
/// </summary>
[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 => this.ownedMemberElementId;
/// <summary>
/// The name of the memberElement relative to the membershipOwningNamespace.
/// </summary>
[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 => this.ownedMemberName;
set { }
}
/// <summary>
/// The Namespace of which the memberElement becomes a member due to this Membership.
/// </summary>
[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")]
INamespace Root.Namespaces.IMembership.membershipOwningNamespace => this.owningType;
/// <summary>
/// The short name of the memberElement relative to the membershipOwningNamespace.
/// </summary>
[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 => this.ownedMemberShortName;
set { }
}
/// <summary>
/// The name to be used for this Element during name resolution within its owningNamespace. This is
/// derived using the effectiveName() operation. By default, it is the same as the declaredName, but
/// this is overridden for certain kinds of Elements to compute a name even when the declaredName is
/// null.
/// </summary>
[Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.Name")]
public string name => this.ComputeName();
/// <summary>
/// The ownedRelationships of this Element that are Annotations, for which this Element is the
/// annotatedElement.
/// </summary>
[Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")]
[Implements(implementation: "IElement.OwnedAnnotation")]
public List<IAnnotation> ownedAnnotation => this.ComputeOwnedAnnotation();
/// <summary>
/// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership.
/// </summary>
[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 ownedConcern => this.ComputeOwnedConcern();
/// <summary>
/// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership.
/// </summary>
[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")]
IConstraintUsage IRequirementConstraintMembership.ownedConstraint => this.ownedConcern;
/// <summary>
/// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of
/// this Element.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.OwnedElement")]
public List<IElement> ownedElement => this.ComputeOwnedElement();
/// <summary>
/// The Element that becomes an ownedMember of the membershipOwningNamespace due to this
/// OwningMembership.
/// </summary>
[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")]
IElement Root.Namespaces.IOwningMembership.ownedMemberElement => ((SysML2.NET.Core.POCO.Core.Types.IFeatureMembership)this).ownedMemberFeature;
/// <summary>
/// The elementId of the ownedMemberElement.
/// </summary>
[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 => this.ComputeOwnedMemberElementId();
/// <summary>
/// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the
/// owningType.
/// </summary>
[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")]
IFeature Core.Types.IFeatureMembership.ownedMemberFeature => ((SysML2.NET.Core.POCO.Systems.Requirements.IRequirementConstraintMembership)this).ownedConstraint;
/// <summary>
/// The name of the ownedMemberElement.
/// </summary>
[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 => this.ComputeOwnedMemberName();
/// <summary>
/// The shortName of the ownedMemberElement.
/// </summary>
[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 => this.ComputeOwnedMemberShortName();
/// <summary>
/// The relatedElements of this Relationship that are owned by the Relationship.
/// </summary>
[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 IReadOnlyList<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;
/// <summary>Backing field for IRelationship.OwnedRelatedElement</summary>
ContainerList<IRelationship, IElement> IContainedRelationship.OwnedRelatedElement { get; set; }
/// <summary>
/// The Relationships for which this Element is the owningRelatedElement.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
/// <summary>
/// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this
/// Element, if any.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", 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 owner => this.ComputeOwner();
/// <summary>
/// The owningRelationship of this Element, if that Relationship is a Membership.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")]
[Implements(implementation: "IElement.OwningMembership")]
public IOwningMembership owningMembership => this.ComputeOwningMembership();
/// <summary>
/// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership
/// of this Element, if any.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, 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 owningNamespace => this.ComputeOwningNamespace();
/// <summary>
/// The relatedElement of this Relationship that owns the Relationship, if any.
/// </summary>
[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 IElement OwningRelatedElement => ((IContainedRelationship)this).OwningRelatedElement;
/// <summary>Backing field for IRelationship.OwningRelatedElement</summary>
IElement IContainedRelationship.OwningRelatedElement { get; set; }
/// <summary>
/// The Relationship for which this Element is an ownedRelatedElement, if any.
/// </summary>
[Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwningRelationship")]
public IRelationship OwningRelationship => ((IContainedElement)this).OwningRelationship;
/// <summary>Backing field for IElement.OwningRelationship</summary>
IRelationship IContainedElement.OwningRelationship { get; set; }
/// <summary>
/// The Type that owns this FeatureMembership.
/// </summary>
[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 IType owningType => this.ComputeOwningType();
/// <summary>
/// The full ownership-qualified name of this Element, represented in a form that is valid according to
/// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation
/// and escaped characters, as necessary). The qualifiedName is null if this Element has no
/// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root
/// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one,
/// then the qualifiedName is null for all such Elements other than the first.
/// </summary>
[Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.QualifiedName")]
public string qualifiedName => this.ComputeQualifiedName();
/// <summary>
/// The ConcernUsage that is referenced through this FramedConcernMembership. It is the
/// referencedConstraint of the FramedConcernMembership considered as a RequirementConstraintMembership,
/// which must be a ConcernUsage.
/// </summary>
[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 referencedConcern => this.ComputeReferencedConcern();
/// <summary>
/// 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.
/// </summary>
[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")]
IConstraintUsage IRequirementConstraintMembership.referencedConstraint => this.referencedConcern;
/// <summary>
/// The Elements that are related by this Relationship, derived as the union of the source and target
/// Elements of the Relationship.
/// </summary>
[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<IElement> relatedElement => this.ComputeRelatedElement();
/// <summary>
/// The short name to be used for this Element during name resolution within its owningNamespace. This
/// is derived using the effectiveShortName() operation. By default, it is the same as the
/// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even
/// when the declaredName is null.
/// </summary>
[Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[Implements(implementation: "IElement.ShortName")]
public string shortName => this.ComputeShortName();
/// <summary>
/// The relatedElements from which this Relationship is considered to be directed.
/// </summary>
[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<IElement> Root.Elements.IRelationship.Source
{
get => ((SysML2.NET.Core.POCO.Root.Namespaces.IMembership)this).membershipOwningNamespace != null ? [((SysML2.NET.Core.POCO.Root.Namespaces.IMembership)this).membershipOwningNamespace] : [];
set { }
}
/// <summary>
/// The relatedElements to which this Relationship is considered to be directed.
/// </summary>
[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<IElement> Root.Elements.IRelationship.Target
{
get => ((SysML2.NET.Core.POCO.Root.Namespaces.IMembership)this).MemberElement != null ? [((SysML2.NET.Core.POCO.Root.Namespaces.IMembership)this).MemberElement] : [];
set
{
if (value.Count != 0)
{
((SysML2.NET.Core.POCO.Root.Namespaces.IMembership)this).MemberElement = value[0];
}
}
}
/// <summary>
/// The TextualRepresentations that annotate this Element.
/// </summary>
[Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")]
[Implements(implementation: "IElement.TextualRepresentation")]
public List<ITextualRepresentation> textualRepresentation => this.ComputeTextualRepresentation();
/// <summary>
/// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly
/// visible outside that Namespace.
/// </summary>
[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; } = VisibilityKind.Public;
}
}
// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------