Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public AnnotatingElement()
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public Association()
[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 IReadOnlyCollection<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;
public IReadOnlyList<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;

/// <summary>Backing field for IRelationship.OwnedRelatedElement</summary>
ContainerList<IRelationship, IElement> IContainedRelationship.OwnedRelatedElement { get; set; }
Expand All @@ -440,7 +440,7 @@ public Association()
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public Dependency()
[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 IReadOnlyCollection<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;
public IReadOnlyList<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;

/// <summary>Backing field for IRelationship.OwnedRelatedElement</summary>
ContainerList<IRelationship, IElement> IContainedRelationship.OwnedRelatedElement { get; set; }
Expand All @@ -188,7 +188,7 @@ public Dependency()
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ bool Systems.DefinitionAndUsage.IDefinition.IsVariation
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ public Feature()
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ IType Core.Types.ISpecialization.General
[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 IReadOnlyCollection<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;
public IReadOnlyList<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;

/// <summary>Backing field for IRelationship.OwnedRelatedElement</summary>
ContainerList<IRelationship, IElement> IContainedRelationship.OwnedRelatedElement { get; set; }
Expand All @@ -196,7 +196,7 @@ IType Core.Types.ISpecialization.General
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ public Flow()
[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 IReadOnlyCollection<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;
public IReadOnlyList<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;

/// <summary>Backing field for IRelationship.OwnedRelatedElement</summary>
ContainerList<IRelationship, IElement> IContainedRelationship.OwnedRelatedElement { get; set; }
Expand All @@ -661,7 +661,7 @@ public Flow()
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ string Root.Namespaces.IMembership.MemberShortName
[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 IReadOnlyCollection<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;
public IReadOnlyList<IElement> OwnedRelatedElement => ((IContainedRelationship)this).OwnedRelatedElement;

/// <summary>Backing field for IRelationship.OwnedRelatedElement</summary>
ContainerList<IRelationship, IElement> IContainedRelationship.OwnedRelatedElement { get; set; }
Expand All @@ -323,7 +323,7 @@ string Root.Namespaces.IMembership.MemberShortName
[Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)]
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")]
[Implements(implementation: "IElement.OwnedRelationship")]
public IReadOnlyCollection<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;
public IReadOnlyList<IRelationship> OwnedRelationship => ((IContainedElement)this).OwnedRelationship;

/// <summary>Backing field for IElement.OwnedRelationship</summary>
ContainerList<IElement, IRelationship> IContainedElement.OwnedRelationship { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public partial interface IElement
/// </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")]
IReadOnlyCollection<IRelationship> OwnedRelationship { get; }
IReadOnlyList<IRelationship> OwnedRelationship { get; }

/// <summary>
/// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this
Expand Down Expand Up @@ -184,6 +184,55 @@ public partial interface IElement
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")]
List<ITextualRepresentation> textualRepresentation { get; }

/// <summary>
/// Return name, if that is not null, otherwise the shortName, if that is not null, otherwise null. If
/// the returned value is non-null, it is returned as-is if it has the form of a basic name, or,
/// otherwise, represented as a restricted name according to the lexical structure of the KerML textual
/// notation (i.e., surrounded by single quote characters and with special characters escaped).
/// </summary>
/// <returns>
/// The expected string
/// </returns>
string EscapedName() => this.ComputeEscapedNameOperation();

/// <summary>
/// Return an effective shortName for this Element. By default this is the same as its
/// declaredShortName.
/// </summary>
/// <returns>
/// The expected string
/// </returns>
string EffectiveShortName() => this.ComputeEffectiveShortNameOperation();

/// <summary>
/// Return an effective name for this Element. By default this is the same as its declaredName.
/// </summary>
/// <returns>
/// The expected string
/// </returns>
string EffectiveName() => this.ComputeEffectiveNameOperation();

/// <summary>
/// By default, return the library Namespace of the owningRelationship of this Element, if it has one.
/// </summary>
/// <returns>
/// The expected INamespace
/// </returns>
INamespace LibraryNamespace() => this.ComputeLibraryNamespaceOperation();

/// <summary>
/// Return a unique description of the location of this Element in the containment structure rooted in a
/// root Namespace. If the Element has a non-null qualifiedName, then return that. Otherwise, if it has
/// an owningRelationship, then return the string constructed by appending to the path of it's
/// owningRelationship the character / followed by the string representation of its position in the list
/// of ownedRelatedElements of the owningRelationship (indexed starting at 1). Otherwise, return the
/// empty string. (Note that this operation is overridden for Relationships
/// to use owningRelatedElement when appropriate.)
/// </summary>
/// <returns>
/// The expected string
/// </returns>
string Path() => this.ComputePathOperation();
}
}

Expand Down
Loading
Loading