diff --git a/CDP4Common.NetCore.Tests/Poco/ElementDefinitionTestFixture.cs b/CDP4Common.NetCore.Tests/Poco/ElementDefinitionTestFixture.cs index 3a13871a5..08283497a 100644 --- a/CDP4Common.NetCore.Tests/Poco/ElementDefinitionTestFixture.cs +++ b/CDP4Common.NetCore.Tests/Poco/ElementDefinitionTestFixture.cs @@ -232,5 +232,26 @@ public void VerifyThatContainmentExceptionIsThrownWhenElementDefinitionIsNotCont Assert.Throws(() => def1.ReferencingElementUsages()); } + + [Test] + public void Verify_that_QueryReferencedThings_and_QueryReferencedThingsDeep() + { + var elementDefinition = new ElementDefinition(Guid.NewGuid(), null, null); + var superCategory = new Category(Guid.NewGuid(), null, null); + var category = new Category(Guid.NewGuid(), null, null); + category.SuperCategory.Add(superCategory); + + elementDefinition.Category.Add(category); + + var referencedThings = elementDefinition.QueryReferencedThings(); + + CollectionAssert.Contains(referencedThings, category); + CollectionAssert.DoesNotContain(referencedThings, superCategory); + + var referencedThingsDeep = elementDefinition.QueryReferencedThingsDeep(); + + CollectionAssert.Contains(referencedThingsDeep, category); + CollectionAssert.Contains(referencedThingsDeep, superCategory); + } } } diff --git a/CDP4Common.Tests/Poco/ElementDefinitionTestFixture.cs b/CDP4Common.Tests/Poco/ElementDefinitionTestFixture.cs index 0199847d5..374e83737 100644 --- a/CDP4Common.Tests/Poco/ElementDefinitionTestFixture.cs +++ b/CDP4Common.Tests/Poco/ElementDefinitionTestFixture.cs @@ -232,5 +232,26 @@ public void VerifyThatContainmentExceptionIsThrownWhenElementDefinitionIsNotCont Assert.Throws(() => def1.ReferencingElementUsages()); } + + [Test] + public void Verify_that_QueryReferencedThings_and_QueryReferencedThingsDeep() + { + var elementDefinition = new ElementDefinition(Guid.NewGuid(), null, null); + var superCategory = new Category(Guid.NewGuid(), null, null); + var category = new Category(Guid.NewGuid(), null, null); + category.SuperCategory.Add(superCategory); + + elementDefinition.Category.Add(category); + + var referencedThings = elementDefinition.QueryReferencedThings(); + + CollectionAssert.Contains(referencedThings, category); + CollectionAssert.DoesNotContain(referencedThings, superCategory); + + var referencedThingsDeep = elementDefinition.QueryReferencedThingsDeep(); + + CollectionAssert.Contains(referencedThingsDeep, category); + CollectionAssert.Contains(referencedThingsDeep, superCategory); + } } } diff --git a/CDP4Common/AutoGenPoco/ActionItem.cs b/CDP4Common/AutoGenPoco/ActionItem.cs index aee37d363..b21969169 100644 --- a/CDP4Common/AutoGenPoco/ActionItem.cs +++ b/CDP4Common/AutoGenPoco/ActionItem.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -120,6 +120,26 @@ public ActionItem(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Actionee; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ActualFiniteState.cs b/CDP4Common/AutoGenPoco/ActualFiniteState.cs index b81c7b948..a1ea9df29 100644 --- a/CDP4Common/AutoGenPoco/ActualFiniteState.cs +++ b/CDP4Common/AutoGenPoco/ActualFiniteState.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -154,6 +154,29 @@ public string ShortName set { throw new InvalidOperationException("Forbidden Set value for the derived property ActualFiniteState.ShortName"); } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.PossibleState) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ActualFiniteStateKind.cs b/CDP4Common/AutoGenPoco/ActualFiniteStateKind.cs index 14ae96485..454c1a809 100644 --- a/CDP4Common/AutoGenPoco/ActualFiniteStateKind.cs +++ b/CDP4Common/AutoGenPoco/ActualFiniteStateKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ActualFiniteStateList.cs b/CDP4Common/AutoGenPoco/ActualFiniteStateList.cs index 29be9b75a..328656fdd 100644 --- a/CDP4Common/AutoGenPoco/ActualFiniteStateList.cs +++ b/CDP4Common/AutoGenPoco/ActualFiniteStateList.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -175,6 +175,36 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.ExcludeOption) + { + yield return thing; + } + + yield return this.Owner; + + foreach (var thing in this.PossibleFiniteStateList.Select(x => x)) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Alias.cs b/CDP4Common/AutoGenPoco/Alias.cs index 97c9f6f7a..75ef2222b 100644 --- a/CDP4Common/AutoGenPoco/Alias.cs +++ b/CDP4Common/AutoGenPoco/Alias.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/AndExpression.cs b/CDP4Common/AutoGenPoco/AndExpression.cs index 19ecd0dc3..94695d510 100644 --- a/CDP4Common/AutoGenPoco/AndExpression.cs +++ b/CDP4Common/AutoGenPoco/AndExpression.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -95,6 +95,29 @@ public AndExpression(Guid iid, ConcurrentDictionary Term { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Term) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/AnnotationApprovalKind.cs b/CDP4Common/AutoGenPoco/AnnotationApprovalKind.cs index 44610bf03..8ff6c0afd 100644 --- a/CDP4Common/AutoGenPoco/AnnotationApprovalKind.cs +++ b/CDP4Common/AutoGenPoco/AnnotationApprovalKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/AnnotationClassificationKind.cs b/CDP4Common/AutoGenPoco/AnnotationClassificationKind.cs index 20cf8eec3..f6d9e7eb1 100644 --- a/CDP4Common/AutoGenPoco/AnnotationClassificationKind.cs +++ b/CDP4Common/AutoGenPoco/AnnotationClassificationKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/AnnotationStatusKind.cs b/CDP4Common/AutoGenPoco/AnnotationStatusKind.cs index fe3bef3df..304484f1a 100644 --- a/CDP4Common/AutoGenPoco/AnnotationStatusKind.cs +++ b/CDP4Common/AutoGenPoco/AnnotationStatusKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Approval.cs b/CDP4Common/AutoGenPoco/Approval.cs index a8b8e3b5f..88a68a057 100644 --- a/CDP4Common/AutoGenPoco/Approval.cs +++ b/CDP4Common/AutoGenPoco/Approval.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -112,6 +112,28 @@ public Approval(Guid iid, ConcurrentDictionary> [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public DomainOfExpertise Owner { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ArrayParameterType.cs b/CDP4Common/AutoGenPoco/ArrayParameterType.cs index 09b8dd60c..835dbcd99 100644 --- a/CDP4Common/AutoGenPoco/ArrayParameterType.cs +++ b/CDP4Common/AutoGenPoco/ArrayParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/BinaryNote.cs b/CDP4Common/AutoGenPoco/BinaryNote.cs index ea6b46505..07efff509 100644 --- a/CDP4Common/AutoGenPoco/BinaryNote.cs +++ b/CDP4Common/AutoGenPoco/BinaryNote.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -102,6 +102,26 @@ public BinaryNote(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.FileType; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/BinaryRelationship.cs b/CDP4Common/AutoGenPoco/BinaryRelationship.cs index cfcc4b0ef..f23a7d875 100644 --- a/CDP4Common/AutoGenPoco/BinaryRelationship.cs +++ b/CDP4Common/AutoGenPoco/BinaryRelationship.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -102,6 +102,28 @@ public BinaryRelationship(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Source; + + yield return this.Target; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs b/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs index 470fc4526..53cb406f8 100644 --- a/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs +++ b/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -132,6 +132,30 @@ public BinaryRelationshipRule(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.RelationshipCategory; + + yield return this.SourceCategory; + + yield return this.TargetCategory; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Book.cs b/CDP4Common/AutoGenPoco/Book.cs index 4c952c14f..e28603bb1 100644 --- a/CDP4Common/AutoGenPoco/Book.cs +++ b/CDP4Common/AutoGenPoco/Book.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -162,6 +162,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/BooleanExpression.cs b/CDP4Common/AutoGenPoco/BooleanExpression.cs index a32d579b4..e44a9168b 100644 --- a/CDP4Common/AutoGenPoco/BooleanExpression.cs +++ b/CDP4Common/AutoGenPoco/BooleanExpression.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/BooleanOperatorKind.cs b/CDP4Common/AutoGenPoco/BooleanOperatorKind.cs index c8c99abf4..ff37fd294 100644 --- a/CDP4Common/AutoGenPoco/BooleanOperatorKind.cs +++ b/CDP4Common/AutoGenPoco/BooleanOperatorKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/BooleanParameterType.cs b/CDP4Common/AutoGenPoco/BooleanParameterType.cs index f189c75f7..3a29dc1f1 100644 --- a/CDP4Common/AutoGenPoco/BooleanParameterType.cs +++ b/CDP4Common/AutoGenPoco/BooleanParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Bounds.cs b/CDP4Common/AutoGenPoco/Bounds.cs index a9451b7b0..ddab68dd2 100644 --- a/CDP4Common/AutoGenPoco/Bounds.cs +++ b/CDP4Common/AutoGenPoco/Bounds.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/BuiltInRuleVerification.cs b/CDP4Common/AutoGenPoco/BuiltInRuleVerification.cs index 3ef563f9e..b5e2d838f 100644 --- a/CDP4Common/AutoGenPoco/BuiltInRuleVerification.cs +++ b/CDP4Common/AutoGenPoco/BuiltInRuleVerification.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Category.cs b/CDP4Common/AutoGenPoco/Category.cs index 346feace9..119a33658 100644 --- a/CDP4Common/AutoGenPoco/Category.cs +++ b/CDP4Common/AutoGenPoco/Category.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -139,6 +139,29 @@ public Category(Guid iid, ConcurrentDictionary> [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public List SuperCategory { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.SuperCategory) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ChangeProposal.cs b/CDP4Common/AutoGenPoco/ChangeProposal.cs index 08505049a..8e6cf4760 100644 --- a/CDP4Common/AutoGenPoco/ChangeProposal.cs +++ b/CDP4Common/AutoGenPoco/ChangeProposal.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -93,6 +93,26 @@ public ChangeProposal(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ChangeRequest; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ChangeRequest.cs b/CDP4Common/AutoGenPoco/ChangeRequest.cs index 73d899af2..7c4da0582 100644 --- a/CDP4Common/AutoGenPoco/ChangeRequest.cs +++ b/CDP4Common/AutoGenPoco/ChangeRequest.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Citation.cs b/CDP4Common/AutoGenPoco/Citation.cs index 2871837ec..9398ec684 100644 --- a/CDP4Common/AutoGenPoco/Citation.cs +++ b/CDP4Common/AutoGenPoco/Citation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -134,6 +134,26 @@ public Citation(Guid iid, ConcurrentDictionary> [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public ReferenceSource Source { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Source; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ClassKind.cs b/CDP4Common/AutoGenPoco/ClassKind.cs index b38a183d5..a92e5aeff 100644 --- a/CDP4Common/AutoGenPoco/ClassKind.cs +++ b/CDP4Common/AutoGenPoco/ClassKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Color.cs b/CDP4Common/AutoGenPoco/Color.cs index d1eb935ea..e58aeb939 100644 --- a/CDP4Common/AutoGenPoco/Color.cs +++ b/CDP4Common/AutoGenPoco/Color.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/CommonFileStore.cs b/CDP4Common/AutoGenPoco/CommonFileStore.cs index 923fa053e..6cdc6a17b 100644 --- a/CDP4Common/AutoGenPoco/CommonFileStore.cs +++ b/CDP4Common/AutoGenPoco/CommonFileStore.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/CompoundParameterType.cs b/CDP4Common/AutoGenPoco/CompoundParameterType.cs index ad8d86772..6d2fb41a1 100644 --- a/CDP4Common/AutoGenPoco/CompoundParameterType.cs +++ b/CDP4Common/AutoGenPoco/CompoundParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Constant.cs b/CDP4Common/AutoGenPoco/Constant.cs index 3a9dc62bd..37e7b84f3 100644 --- a/CDP4Common/AutoGenPoco/Constant.cs +++ b/CDP4Common/AutoGenPoco/Constant.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -133,6 +133,33 @@ public Constant(Guid iid, ConcurrentDictionary> [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: true, isNullable: false, isPersistent: true)] public ValueArray Value { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.ParameterType; + + yield return this.Scale; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ContractChangeNotice.cs b/CDP4Common/AutoGenPoco/ContractChangeNotice.cs index b99c5d263..35d772235 100644 --- a/CDP4Common/AutoGenPoco/ContractChangeNotice.cs +++ b/CDP4Common/AutoGenPoco/ContractChangeNotice.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -93,6 +93,26 @@ public ContractChangeNotice(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ChangeProposal; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ContractDeviation.cs b/CDP4Common/AutoGenPoco/ContractDeviation.cs index deda6ba0c..810185116 100644 --- a/CDP4Common/AutoGenPoco/ContractDeviation.cs +++ b/CDP4Common/AutoGenPoco/ContractDeviation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ConversionBasedUnit.cs b/CDP4Common/AutoGenPoco/ConversionBasedUnit.cs index a0e256b4b..9714db048 100644 --- a/CDP4Common/AutoGenPoco/ConversionBasedUnit.cs +++ b/CDP4Common/AutoGenPoco/ConversionBasedUnit.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -101,6 +101,26 @@ protected ConversionBasedUnit(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ReferenceUnit; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/CyclicRatioScale.cs b/CDP4Common/AutoGenPoco/CyclicRatioScale.cs index ebaaffc8d..46827a271 100644 --- a/CDP4Common/AutoGenPoco/CyclicRatioScale.cs +++ b/CDP4Common/AutoGenPoco/CyclicRatioScale.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DateParameterType.cs b/CDP4Common/AutoGenPoco/DateParameterType.cs index 263209f33..900be5ba7 100644 --- a/CDP4Common/AutoGenPoco/DateParameterType.cs +++ b/CDP4Common/AutoGenPoco/DateParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DateTimeParameterType.cs b/CDP4Common/AutoGenPoco/DateTimeParameterType.cs index dad71df93..ada8e5eb1 100644 --- a/CDP4Common/AutoGenPoco/DateTimeParameterType.cs +++ b/CDP4Common/AutoGenPoco/DateTimeParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DecompositionRule.cs b/CDP4Common/AutoGenPoco/DecompositionRule.cs index 26b0700f1..c1750a715 100644 --- a/CDP4Common/AutoGenPoco/DecompositionRule.cs +++ b/CDP4Common/AutoGenPoco/DecompositionRule.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -126,6 +126,31 @@ public DecompositionRule(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.ContainedCategory) + { + yield return thing; + } + + yield return this.ContainingCategory; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/DefinedThing.cs b/CDP4Common/AutoGenPoco/DefinedThing.cs index e8f124ba4..cc2b2ebe8 100644 --- a/CDP4Common/AutoGenPoco/DefinedThing.cs +++ b/CDP4Common/AutoGenPoco/DefinedThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Definition.cs b/CDP4Common/AutoGenPoco/Definition.cs index 975e25f58..bae65e93f 100644 --- a/CDP4Common/AutoGenPoco/Definition.cs +++ b/CDP4Common/AutoGenPoco/Definition.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs b/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs index 8ad2ae58c..9abb69ce4 100644 --- a/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs +++ b/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DerivedUnit.cs b/CDP4Common/AutoGenPoco/DerivedUnit.cs index f6e970a80..cebd6e2a2 100644 --- a/CDP4Common/AutoGenPoco/DerivedUnit.cs +++ b/CDP4Common/AutoGenPoco/DerivedUnit.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DiagramCanvas.cs b/CDP4Common/AutoGenPoco/DiagramCanvas.cs index 36e5f8ab4..3c80e1144 100644 --- a/CDP4Common/AutoGenPoco/DiagramCanvas.cs +++ b/CDP4Common/AutoGenPoco/DiagramCanvas.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DiagramEdge.cs b/CDP4Common/AutoGenPoco/DiagramEdge.cs index 11275f30c..2bfe83944 100644 --- a/CDP4Common/AutoGenPoco/DiagramEdge.cs +++ b/CDP4Common/AutoGenPoco/DiagramEdge.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -127,6 +127,28 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Source; + + yield return this.Target; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/DiagramElementContainer.cs b/CDP4Common/AutoGenPoco/DiagramElementContainer.cs index 8d017b292..1aebbea14 100644 --- a/CDP4Common/AutoGenPoco/DiagramElementContainer.cs +++ b/CDP4Common/AutoGenPoco/DiagramElementContainer.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DiagramElementThing.cs b/CDP4Common/AutoGenPoco/DiagramElementThing.cs index a87c00a01..dd7ba8d45 100644 --- a/CDP4Common/AutoGenPoco/DiagramElementThing.cs +++ b/CDP4Common/AutoGenPoco/DiagramElementThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -127,6 +127,28 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.DepictedThing; + + yield return this.SharedStyle; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/DiagramObject.cs b/CDP4Common/AutoGenPoco/DiagramObject.cs index c5d491f7c..a9406ae14 100644 --- a/CDP4Common/AutoGenPoco/DiagramObject.cs +++ b/CDP4Common/AutoGenPoco/DiagramObject.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DiagramShape.cs b/CDP4Common/AutoGenPoco/DiagramShape.cs index 3af77c666..6dd286720 100644 --- a/CDP4Common/AutoGenPoco/DiagramShape.cs +++ b/CDP4Common/AutoGenPoco/DiagramShape.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DiagramThingBase.cs b/CDP4Common/AutoGenPoco/DiagramThingBase.cs index 772c6d726..a463ac7eb 100644 --- a/CDP4Common/AutoGenPoco/DiagramThingBase.cs +++ b/CDP4Common/AutoGenPoco/DiagramThingBase.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DiagrammingStyle.cs b/CDP4Common/AutoGenPoco/DiagrammingStyle.cs index 63fc50a70..abae5c59d 100644 --- a/CDP4Common/AutoGenPoco/DiagrammingStyle.cs +++ b/CDP4Common/AutoGenPoco/DiagrammingStyle.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -226,6 +226,30 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.FillColor; + + yield return this.FontColor; + + yield return this.StrokeColor; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/DiscussionItem.cs b/CDP4Common/AutoGenPoco/DiscussionItem.cs index a4f83ac07..c13665bab 100644 --- a/CDP4Common/AutoGenPoco/DiscussionItem.cs +++ b/CDP4Common/AutoGenPoco/DiscussionItem.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -92,6 +92,26 @@ protected DiscussionItem(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ReplyTo; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/DomainFileStore.cs b/CDP4Common/AutoGenPoco/DomainFileStore.cs index fb5c5c35a..7e86bcfba 100644 --- a/CDP4Common/AutoGenPoco/DomainFileStore.cs +++ b/CDP4Common/AutoGenPoco/DomainFileStore.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/DomainOfExpertise.cs b/CDP4Common/AutoGenPoco/DomainOfExpertise.cs index 13f09062f..8756142f5 100644 --- a/CDP4Common/AutoGenPoco/DomainOfExpertise.cs +++ b/CDP4Common/AutoGenPoco/DomainOfExpertise.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -105,6 +105,29 @@ public DomainOfExpertise(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs b/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs index 052e0516c..ede0d81db 100644 --- a/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs +++ b/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -104,6 +104,29 @@ public DomainOfExpertiseGroup(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Domain) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ElementBase.cs b/CDP4Common/AutoGenPoco/ElementBase.cs index c305fa076..b351b5792 100644 --- a/CDP4Common/AutoGenPoco/ElementBase.cs +++ b/CDP4Common/AutoGenPoco/ElementBase.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -103,6 +103,31 @@ protected ElementBase(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ElementDefinition.cs b/CDP4Common/AutoGenPoco/ElementDefinition.cs index 90bca0d61..78d0516a5 100644 --- a/CDP4Common/AutoGenPoco/ElementDefinition.cs +++ b/CDP4Common/AutoGenPoco/ElementDefinition.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -154,6 +154,29 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.ReferencedElement) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ElementUsage.cs b/CDP4Common/AutoGenPoco/ElementUsage.cs index c562f7007..e8ea4b3f0 100644 --- a/CDP4Common/AutoGenPoco/ElementUsage.cs +++ b/CDP4Common/AutoGenPoco/ElementUsage.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -151,6 +151,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ElementDefinition; + + foreach (var thing in this.ExcludeOption) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/EmailAddress.cs b/CDP4Common/AutoGenPoco/EmailAddress.cs index 3d25f5155..b17884057 100644 --- a/CDP4Common/AutoGenPoco/EmailAddress.cs +++ b/CDP4Common/AutoGenPoco/EmailAddress.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/EngineeringModel.cs b/CDP4Common/AutoGenPoco/EngineeringModel.cs index 17c51d6a8..3b06007cb 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModel.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModel.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -184,6 +184,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.EngineeringModelSetup; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/EngineeringModelDataAnnotation.cs b/CDP4Common/AutoGenPoco/EngineeringModelDataAnnotation.cs index 8879dd896..c2a96c5f2 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModelDataAnnotation.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModelDataAnnotation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -137,6 +137,28 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + + yield return this.PrimaryAnnotatedThing; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/EngineeringModelDataDiscussionItem.cs b/CDP4Common/AutoGenPoco/EngineeringModelDataDiscussionItem.cs index 4d7d9df2e..5ae7957c7 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModelDataDiscussionItem.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModelDataDiscussionItem.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -93,6 +93,26 @@ public EngineeringModelDataDiscussionItem(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/EngineeringModelDataNote.cs b/CDP4Common/AutoGenPoco/EngineeringModelDataNote.cs index c757b250e..fc727894e 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModelDataNote.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModelDataNote.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/EngineeringModelKind.cs b/CDP4Common/AutoGenPoco/EngineeringModelKind.cs index 0144d9661..52404a2d5 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModelKind.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModelKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs b/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs index 65cea29e8..8d6270d8d 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -190,6 +190,29 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.ActiveDomain) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/EnumerationParameterType.cs b/CDP4Common/AutoGenPoco/EnumerationParameterType.cs index c3571d05d..58f061562 100644 --- a/CDP4Common/AutoGenPoco/EnumerationParameterType.cs +++ b/CDP4Common/AutoGenPoco/EnumerationParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs b/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs index b8674c594..f7ef30daa 100644 --- a/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs +++ b/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ExclusiveOrExpression.cs b/CDP4Common/AutoGenPoco/ExclusiveOrExpression.cs index d356483f8..4895b30d4 100644 --- a/CDP4Common/AutoGenPoco/ExclusiveOrExpression.cs +++ b/CDP4Common/AutoGenPoco/ExclusiveOrExpression.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -95,6 +95,29 @@ public ExclusiveOrExpression(Guid iid, ConcurrentDictionary Term { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Term) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ExternalIdentifierMap.cs b/CDP4Common/AutoGenPoco/ExternalIdentifierMap.cs index e7b4a2af2..429ae7010 100644 --- a/CDP4Common/AutoGenPoco/ExternalIdentifierMap.cs +++ b/CDP4Common/AutoGenPoco/ExternalIdentifierMap.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -164,6 +164,28 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ExternalFormat; + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/File.cs b/CDP4Common/AutoGenPoco/File.cs index 61e007c9b..9ee30f18e 100644 --- a/CDP4Common/AutoGenPoco/File.cs +++ b/CDP4Common/AutoGenPoco/File.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -138,6 +138,33 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.LockedBy; + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/FileRevision.cs b/CDP4Common/AutoGenPoco/FileRevision.cs index c8f8b8540..728ff2618 100644 --- a/CDP4Common/AutoGenPoco/FileRevision.cs +++ b/CDP4Common/AutoGenPoco/FileRevision.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -163,6 +163,33 @@ public string Path set { throw new InvalidOperationException("Forbidden Set value for the derived property FileRevision.Path"); } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ContainingFolder; + + yield return this.Creator; + + foreach (var thing in this.FileType.Select(x => x)) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/FileStore.cs b/CDP4Common/AutoGenPoco/FileStore.cs index 10dfb193d..ac8bc47ab 100644 --- a/CDP4Common/AutoGenPoco/FileStore.cs +++ b/CDP4Common/AutoGenPoco/FileStore.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -148,6 +148,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/FileType.cs b/CDP4Common/AutoGenPoco/FileType.cs index 8452640a8..53725cf70 100644 --- a/CDP4Common/AutoGenPoco/FileType.cs +++ b/CDP4Common/AutoGenPoco/FileType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -117,6 +117,29 @@ public FileType(Guid iid, ConcurrentDictionary> [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public bool IsDeprecated { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Folder.cs b/CDP4Common/AutoGenPoco/Folder.cs index 14cd9312b..e2cb0fb24 100644 --- a/CDP4Common/AutoGenPoco/Folder.cs +++ b/CDP4Common/AutoGenPoco/Folder.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -150,6 +150,30 @@ public string Path set { throw new InvalidOperationException("Forbidden Set value for the derived property Folder.Path"); } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ContainingFolder; + + yield return this.Creator; + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/GenericAnnotation.cs b/CDP4Common/AutoGenPoco/GenericAnnotation.cs index 3acd3593b..e749efbbd 100644 --- a/CDP4Common/AutoGenPoco/GenericAnnotation.cs +++ b/CDP4Common/AutoGenPoco/GenericAnnotation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Glossary.cs b/CDP4Common/AutoGenPoco/Glossary.cs index 676878c15..869dd66e2 100644 --- a/CDP4Common/AutoGenPoco/Glossary.cs +++ b/CDP4Common/AutoGenPoco/Glossary.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -127,6 +127,29 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Goal.cs b/CDP4Common/AutoGenPoco/Goal.cs index 4bc26b609..64e53895c 100644 --- a/CDP4Common/AutoGenPoco/Goal.cs +++ b/CDP4Common/AutoGenPoco/Goal.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -95,6 +95,29 @@ public Goal(Guid iid, ConcurrentDictionary> cac [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public List Category { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/HyperLink.cs b/CDP4Common/AutoGenPoco/HyperLink.cs index a78a656da..03b87b91d 100644 --- a/CDP4Common/AutoGenPoco/HyperLink.cs +++ b/CDP4Common/AutoGenPoco/HyperLink.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IAnnotation.cs b/CDP4Common/AutoGenPoco/IAnnotation.cs index 47a7aba4d..cd85b88d5 100644 --- a/CDP4Common/AutoGenPoco/IAnnotation.cs +++ b/CDP4Common/AutoGenPoco/IAnnotation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ICategorizableThing.cs b/CDP4Common/AutoGenPoco/ICategorizableThing.cs index 8b931c0f5..372741590 100644 --- a/CDP4Common/AutoGenPoco/ICategorizableThing.cs +++ b/CDP4Common/AutoGenPoco/ICategorizableThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IDeprecatableThing.cs b/CDP4Common/AutoGenPoco/IDeprecatableThing.cs index 0baed44b9..34e85735e 100644 --- a/CDP4Common/AutoGenPoco/IDeprecatableThing.cs +++ b/CDP4Common/AutoGenPoco/IDeprecatableThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ILogEntry.cs b/CDP4Common/AutoGenPoco/ILogEntry.cs index 458656559..5f2177cbd 100644 --- a/CDP4Common/AutoGenPoco/ILogEntry.cs +++ b/CDP4Common/AutoGenPoco/ILogEntry.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/INamedThing.cs b/CDP4Common/AutoGenPoco/INamedThing.cs index 5bdc15b33..0a87986b5 100644 --- a/CDP4Common/AutoGenPoco/INamedThing.cs +++ b/CDP4Common/AutoGenPoco/INamedThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IOptionDependentThing.cs b/CDP4Common/AutoGenPoco/IOptionDependentThing.cs index 3bda7819e..00be7a029 100644 --- a/CDP4Common/AutoGenPoco/IOptionDependentThing.cs +++ b/CDP4Common/AutoGenPoco/IOptionDependentThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IOwnedThing.cs b/CDP4Common/AutoGenPoco/IOwnedThing.cs index 0def66fd3..865511bb8 100644 --- a/CDP4Common/AutoGenPoco/IOwnedThing.cs +++ b/CDP4Common/AutoGenPoco/IOwnedThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IParticipantAffectedAccessThing.cs b/CDP4Common/AutoGenPoco/IParticipantAffectedAccessThing.cs index fcb3a8bfb..4bc71d348 100644 --- a/CDP4Common/AutoGenPoco/IParticipantAffectedAccessThing.cs +++ b/CDP4Common/AutoGenPoco/IParticipantAffectedAccessThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IShortNamedThing.cs b/CDP4Common/AutoGenPoco/IShortNamedThing.cs index 80b39f311..bee3312fb 100644 --- a/CDP4Common/AutoGenPoco/IShortNamedThing.cs +++ b/CDP4Common/AutoGenPoco/IShortNamedThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ITimeStampedThing.cs b/CDP4Common/AutoGenPoco/ITimeStampedThing.cs index d42c18ed6..1cc8398d9 100644 --- a/CDP4Common/AutoGenPoco/ITimeStampedThing.cs +++ b/CDP4Common/AutoGenPoco/ITimeStampedThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IVolatileThing.cs b/CDP4Common/AutoGenPoco/IVolatileThing.cs index ea6edd375..e0eae2db6 100644 --- a/CDP4Common/AutoGenPoco/IVolatileThing.cs +++ b/CDP4Common/AutoGenPoco/IVolatileThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IdCorrespondence.cs b/CDP4Common/AutoGenPoco/IdCorrespondence.cs index bfccccb8c..f12d79475 100644 --- a/CDP4Common/AutoGenPoco/IdCorrespondence.cs +++ b/CDP4Common/AutoGenPoco/IdCorrespondence.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/InterfaceEndKind.cs b/CDP4Common/AutoGenPoco/InterfaceEndKind.cs index 3653bb9e9..7154e77fc 100644 --- a/CDP4Common/AutoGenPoco/InterfaceEndKind.cs +++ b/CDP4Common/AutoGenPoco/InterfaceEndKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/IntervalScale.cs b/CDP4Common/AutoGenPoco/IntervalScale.cs index 8503d52e9..3b328637f 100644 --- a/CDP4Common/AutoGenPoco/IntervalScale.cs +++ b/CDP4Common/AutoGenPoco/IntervalScale.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Iteration.cs b/CDP4Common/AutoGenPoco/Iteration.cs index 68fb87ee0..4da40f2fb 100644 --- a/CDP4Common/AutoGenPoco/Iteration.cs +++ b/CDP4Common/AutoGenPoco/Iteration.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -343,6 +343,30 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.DefaultOption; + + yield return this.IterationSetup; + + yield return this.TopElement; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/IterationSetup.cs b/CDP4Common/AutoGenPoco/IterationSetup.cs index eca8757b2..c2c0d1ead 100644 --- a/CDP4Common/AutoGenPoco/IterationSetup.cs +++ b/CDP4Common/AutoGenPoco/IterationSetup.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -153,6 +153,26 @@ public IterationSetup(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.SourceIterationSetup; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/LinearConversionUnit.cs b/CDP4Common/AutoGenPoco/LinearConversionUnit.cs index 27b14bd97..5c637edeb 100644 --- a/CDP4Common/AutoGenPoco/LinearConversionUnit.cs +++ b/CDP4Common/AutoGenPoco/LinearConversionUnit.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/LogLevelKind.cs b/CDP4Common/AutoGenPoco/LogLevelKind.cs index f5d57f42a..24577073c 100644 --- a/CDP4Common/AutoGenPoco/LogLevelKind.cs +++ b/CDP4Common/AutoGenPoco/LogLevelKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/LogarithmBaseKind.cs b/CDP4Common/AutoGenPoco/LogarithmBaseKind.cs index ca4dd9232..4ade4a5b2 100644 --- a/CDP4Common/AutoGenPoco/LogarithmBaseKind.cs +++ b/CDP4Common/AutoGenPoco/LogarithmBaseKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/LogarithmicScale.cs b/CDP4Common/AutoGenPoco/LogarithmicScale.cs index 2687ce7c5..41af00ead 100644 --- a/CDP4Common/AutoGenPoco/LogarithmicScale.cs +++ b/CDP4Common/AutoGenPoco/LogarithmicScale.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -148,6 +148,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ReferenceQuantityKind; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/MappingToReferenceScale.cs b/CDP4Common/AutoGenPoco/MappingToReferenceScale.cs index f8e1e21a2..7f727695f 100644 --- a/CDP4Common/AutoGenPoco/MappingToReferenceScale.cs +++ b/CDP4Common/AutoGenPoco/MappingToReferenceScale.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -105,6 +105,28 @@ public MappingToReferenceScale(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.DependentScaleValue; + + yield return this.ReferenceScaleValue; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/MeasurementScale.cs b/CDP4Common/AutoGenPoco/MeasurementScale.cs index 6345872e5..5ceeb79c4 100644 --- a/CDP4Common/AutoGenPoco/MeasurementScale.cs +++ b/CDP4Common/AutoGenPoco/MeasurementScale.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -216,6 +216,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Unit; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/MeasurementUnit.cs b/CDP4Common/AutoGenPoco/MeasurementUnit.cs index a80dc55f9..3d33cb901 100644 --- a/CDP4Common/AutoGenPoco/MeasurementUnit.cs +++ b/CDP4Common/AutoGenPoco/MeasurementUnit.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ModelLogEntry.cs b/CDP4Common/AutoGenPoco/ModelLogEntry.cs index 7c321bbb1..8f23e0d4a 100644 --- a/CDP4Common/AutoGenPoco/ModelLogEntry.cs +++ b/CDP4Common/AutoGenPoco/ModelLogEntry.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -154,6 +154,31 @@ public ModelLogEntry(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs b/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs index 8d0ebd249..10da2b55f 100644 --- a/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs +++ b/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ModellingAnnotationItem.cs b/CDP4Common/AutoGenPoco/ModellingAnnotationItem.cs index ba9751a1e..935a663f4 100644 --- a/CDP4Common/AutoGenPoco/ModellingAnnotationItem.cs +++ b/CDP4Common/AutoGenPoco/ModellingAnnotationItem.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -179,6 +179,36 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + + foreach (var thing in this.SourceAnnotation) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ModellingThingReference.cs b/CDP4Common/AutoGenPoco/ModellingThingReference.cs index 8be3e124e..b8fb197a8 100644 --- a/CDP4Common/AutoGenPoco/ModellingThingReference.cs +++ b/CDP4Common/AutoGenPoco/ModellingThingReference.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/MultiRelationship.cs b/CDP4Common/AutoGenPoco/MultiRelationship.cs index a3db6ccda..fe0b7f1bd 100644 --- a/CDP4Common/AutoGenPoco/MultiRelationship.cs +++ b/CDP4Common/AutoGenPoco/MultiRelationship.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -96,6 +96,29 @@ public MultiRelationship(Guid iid, ConcurrentDictionary RelatedThing { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.RelatedThing) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs b/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs index cc5ae2b6e..1b33c39ab 100644 --- a/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs +++ b/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -124,6 +124,31 @@ public MultiRelationshipRule(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.RelatedCategory) + { + yield return thing; + } + + yield return this.RelationshipCategory; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/NaturalLanguage.cs b/CDP4Common/AutoGenPoco/NaturalLanguage.cs index 71c0d1c78..7cd789d0f 100644 --- a/CDP4Common/AutoGenPoco/NaturalLanguage.cs +++ b/CDP4Common/AutoGenPoco/NaturalLanguage.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/NestedElement.cs b/CDP4Common/AutoGenPoco/NestedElement.cs index eff59be29..756fce396 100644 --- a/CDP4Common/AutoGenPoco/NestedElement.cs +++ b/CDP4Common/AutoGenPoco/NestedElement.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -192,6 +192,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.ElementUsage.Select(x => x)) + { + yield return thing; + } + + yield return this.RootElement; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/NestedParameter.cs b/CDP4Common/AutoGenPoco/NestedParameter.cs index 3f6aa3c24..ab907e402 100644 --- a/CDP4Common/AutoGenPoco/NestedParameter.cs +++ b/CDP4Common/AutoGenPoco/NestedParameter.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -157,6 +157,30 @@ public string Path set { throw new InvalidOperationException("Forbidden Set value for the derived property NestedParameter.Path"); } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ActualState; + + yield return this.AssociatedParameter; + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/NotExpression.cs b/CDP4Common/AutoGenPoco/NotExpression.cs index ad4aa817b..82c7d65b2 100644 --- a/CDP4Common/AutoGenPoco/NotExpression.cs +++ b/CDP4Common/AutoGenPoco/NotExpression.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -93,6 +93,26 @@ public NotExpression(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Term; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Note.cs b/CDP4Common/AutoGenPoco/Note.cs index 628ccb6d5..97220de7f 100644 --- a/CDP4Common/AutoGenPoco/Note.cs +++ b/CDP4Common/AutoGenPoco/Note.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -137,6 +137,31 @@ protected Note(Guid iid, ConcurrentDictionary> [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public virtual string ShortName { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/NumberSetKind.cs b/CDP4Common/AutoGenPoco/NumberSetKind.cs index 386faf3a0..652b790e8 100644 --- a/CDP4Common/AutoGenPoco/NumberSetKind.cs +++ b/CDP4Common/AutoGenPoco/NumberSetKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Option.cs b/CDP4Common/AutoGenPoco/Option.cs index fa7e0a2d2..cd3ff9364 100644 --- a/CDP4Common/AutoGenPoco/Option.cs +++ b/CDP4Common/AutoGenPoco/Option.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -120,6 +120,29 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/OrExpression.cs b/CDP4Common/AutoGenPoco/OrExpression.cs index fe53f914c..d8b2584e8 100644 --- a/CDP4Common/AutoGenPoco/OrExpression.cs +++ b/CDP4Common/AutoGenPoco/OrExpression.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -94,6 +94,29 @@ public OrExpression(Guid iid, ConcurrentDictionary Term { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Term) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/OrdinalScale.cs b/CDP4Common/AutoGenPoco/OrdinalScale.cs index 818d92ef1..df27a5795 100644 --- a/CDP4Common/AutoGenPoco/OrdinalScale.cs +++ b/CDP4Common/AutoGenPoco/OrdinalScale.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Organization.cs b/CDP4Common/AutoGenPoco/Organization.cs index 61094da53..2342f1ff5 100644 --- a/CDP4Common/AutoGenPoco/Organization.cs +++ b/CDP4Common/AutoGenPoco/Organization.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/OwnedStyle.cs b/CDP4Common/AutoGenPoco/OwnedStyle.cs index 43fbcf2a7..11981acaf 100644 --- a/CDP4Common/AutoGenPoco/OwnedStyle.cs +++ b/CDP4Common/AutoGenPoco/OwnedStyle.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Page.cs b/CDP4Common/AutoGenPoco/Page.cs index 738d26e4e..d42f1b3e3 100644 --- a/CDP4Common/AutoGenPoco/Page.cs +++ b/CDP4Common/AutoGenPoco/Page.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -161,6 +161,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Parameter.cs b/CDP4Common/AutoGenPoco/Parameter.cs index e9b92fa3c..f46d32c1f 100644 --- a/CDP4Common/AutoGenPoco/Parameter.cs +++ b/CDP4Common/AutoGenPoco/Parameter.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -137,6 +137,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.RequestedBy; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterBase.cs b/CDP4Common/AutoGenPoco/ParameterBase.cs index 39fafeb37..96b434bc1 100644 --- a/CDP4Common/AutoGenPoco/ParameterBase.cs +++ b/CDP4Common/AutoGenPoco/ParameterBase.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -140,6 +140,34 @@ protected ParameterBase(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Group; + + yield return this.Owner; + + yield return this.ParameterType; + + yield return this.Scale; + + yield return this.StateDependence; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterGroup.cs b/CDP4Common/AutoGenPoco/ParameterGroup.cs index 16d53a921..97723f8be 100644 --- a/CDP4Common/AutoGenPoco/ParameterGroup.cs +++ b/CDP4Common/AutoGenPoco/ParameterGroup.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -105,6 +105,26 @@ public ParameterGroup(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ContainingGroup; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterOrOverrideBase.cs b/CDP4Common/AutoGenPoco/ParameterOrOverrideBase.cs index ecc098162..427e0b400 100644 --- a/CDP4Common/AutoGenPoco/ParameterOrOverrideBase.cs +++ b/CDP4Common/AutoGenPoco/ParameterOrOverrideBase.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ParameterOverride.cs b/CDP4Common/AutoGenPoco/ParameterOverride.cs index 4a04b7d40..bdd46b8aa 100644 --- a/CDP4Common/AutoGenPoco/ParameterOverride.cs +++ b/CDP4Common/AutoGenPoco/ParameterOverride.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -198,6 +198,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Parameter; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterOverrideValueSet.cs b/CDP4Common/AutoGenPoco/ParameterOverrideValueSet.cs index 2818ca9a8..ec8dc577d 100644 --- a/CDP4Common/AutoGenPoco/ParameterOverrideValueSet.cs +++ b/CDP4Common/AutoGenPoco/ParameterOverrideValueSet.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -125,6 +125,26 @@ public override ActualFiniteState ActualState [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public ParameterValueSet ParameterValueSet { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ParameterValueSet; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterSubscription.cs b/CDP4Common/AutoGenPoco/ParameterSubscription.cs index 960f7f674..9d584d74e 100644 --- a/CDP4Common/AutoGenPoco/ParameterSubscription.cs +++ b/CDP4Common/AutoGenPoco/ParameterSubscription.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ParameterSubscriptionValueSet.cs b/CDP4Common/AutoGenPoco/ParameterSubscriptionValueSet.cs index b86a39197..5da2da597 100644 --- a/CDP4Common/AutoGenPoco/ParameterSubscriptionValueSet.cs +++ b/CDP4Common/AutoGenPoco/ParameterSubscriptionValueSet.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -213,6 +213,26 @@ public ValueArray Reference [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public ParameterSwitchKind ValueSwitch { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.SubscribedValueSet; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterSwitchKind.cs b/CDP4Common/AutoGenPoco/ParameterSwitchKind.cs index 9ca72cf5a..355770c30 100644 --- a/CDP4Common/AutoGenPoco/ParameterSwitchKind.cs +++ b/CDP4Common/AutoGenPoco/ParameterSwitchKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ParameterType.cs b/CDP4Common/AutoGenPoco/ParameterType.cs index c2faf54fb..120fc8ad1 100644 --- a/CDP4Common/AutoGenPoco/ParameterType.cs +++ b/CDP4Common/AutoGenPoco/ParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -131,6 +131,29 @@ public int NumberOfValues [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public virtual string Symbol { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterTypeComponent.cs b/CDP4Common/AutoGenPoco/ParameterTypeComponent.cs index eaa230965..602b915ec 100644 --- a/CDP4Common/AutoGenPoco/ParameterTypeComponent.cs +++ b/CDP4Common/AutoGenPoco/ParameterTypeComponent.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -118,6 +118,28 @@ public ParameterTypeComponent(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ParameterType; + + yield return this.Scale; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterValue.cs b/CDP4Common/AutoGenPoco/ParameterValue.cs index bad1266d9..0caac763a 100644 --- a/CDP4Common/AutoGenPoco/ParameterValue.cs +++ b/CDP4Common/AutoGenPoco/ParameterValue.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -113,6 +113,28 @@ protected ParameterValue(Guid iid, ConcurrentDictionary Value { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ParameterType; + + yield return this.Scale; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterValueSet.cs b/CDP4Common/AutoGenPoco/ParameterValueSet.cs index 080ec025d..86662760c 100644 --- a/CDP4Common/AutoGenPoco/ParameterValueSet.cs +++ b/CDP4Common/AutoGenPoco/ParameterValueSet.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ParameterValueSetBase.cs b/CDP4Common/AutoGenPoco/ParameterValueSetBase.cs index db91f1e29..52b8143b5 100644 --- a/CDP4Common/AutoGenPoco/ParameterValueSetBase.cs +++ b/CDP4Common/AutoGenPoco/ParameterValueSetBase.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -208,6 +208,28 @@ public DomainOfExpertise Owner [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public virtual ParameterSwitchKind ValueSwitch { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ActualOption; + + yield return this.ActualState; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs b/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs index d666a0198..eb9e3ee3d 100644 --- a/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs +++ b/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -103,6 +103,31 @@ public ParameterizedCategoryRule(Guid iid, ConcurrentDictionary ParameterType { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Category; + + foreach (var thing in this.ParameterType) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParametricConstraint.cs b/CDP4Common/AutoGenPoco/ParametricConstraint.cs index 79eb7e1a5..85f4aadaa 100644 --- a/CDP4Common/AutoGenPoco/ParametricConstraint.cs +++ b/CDP4Common/AutoGenPoco/ParametricConstraint.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -132,6 +132,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.TopExpression; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Participant.cs b/CDP4Common/AutoGenPoco/Participant.cs index 72914c7f3..8869e42da 100644 --- a/CDP4Common/AutoGenPoco/Participant.cs +++ b/CDP4Common/AutoGenPoco/Participant.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -137,6 +137,35 @@ public Participant(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Domain) + { + yield return thing; + } + + yield return this.Person; + + yield return this.Role; + + yield return this.SelectedDomain; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ParticipantAccessRightKind.cs b/CDP4Common/AutoGenPoco/ParticipantAccessRightKind.cs index 52cdf6431..0dcf8e765 100644 --- a/CDP4Common/AutoGenPoco/ParticipantAccessRightKind.cs +++ b/CDP4Common/AutoGenPoco/ParticipantAccessRightKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ParticipantPermission.cs b/CDP4Common/AutoGenPoco/ParticipantPermission.cs index bf301b2be..075c88ddf 100644 --- a/CDP4Common/AutoGenPoco/ParticipantPermission.cs +++ b/CDP4Common/AutoGenPoco/ParticipantPermission.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ParticipantRole.cs b/CDP4Common/AutoGenPoco/ParticipantRole.cs index f5e3cdcad..103d2d92c 100644 --- a/CDP4Common/AutoGenPoco/ParticipantRole.cs +++ b/CDP4Common/AutoGenPoco/ParticipantRole.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Person.cs b/CDP4Common/AutoGenPoco/Person.cs index 9e8eab1c6..ef89cb9fb 100644 --- a/CDP4Common/AutoGenPoco/Person.cs +++ b/CDP4Common/AutoGenPoco/Person.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -271,6 +271,34 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.DefaultDomain; + + yield return this.DefaultEmailAddress; + + yield return this.DefaultTelephoneNumber; + + yield return this.Organization; + + yield return this.Role; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/PersonAccessRightKind.cs b/CDP4Common/AutoGenPoco/PersonAccessRightKind.cs index 487c216f9..ba61a71e0 100644 --- a/CDP4Common/AutoGenPoco/PersonAccessRightKind.cs +++ b/CDP4Common/AutoGenPoco/PersonAccessRightKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/PersonPermission.cs b/CDP4Common/AutoGenPoco/PersonPermission.cs index 8e3c516f4..6061b641d 100644 --- a/CDP4Common/AutoGenPoco/PersonPermission.cs +++ b/CDP4Common/AutoGenPoco/PersonPermission.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/PersonRole.cs b/CDP4Common/AutoGenPoco/PersonRole.cs index 961bc7c7e..05f8ba692 100644 --- a/CDP4Common/AutoGenPoco/PersonRole.cs +++ b/CDP4Common/AutoGenPoco/PersonRole.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Point.cs b/CDP4Common/AutoGenPoco/Point.cs index 748a88b92..1842e8f09 100644 --- a/CDP4Common/AutoGenPoco/Point.cs +++ b/CDP4Common/AutoGenPoco/Point.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/PossibleFiniteState.cs b/CDP4Common/AutoGenPoco/PossibleFiniteState.cs index a360ec179..8d90980f6 100644 --- a/CDP4Common/AutoGenPoco/PossibleFiniteState.cs +++ b/CDP4Common/AutoGenPoco/PossibleFiniteState.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs b/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs index bdfb952b4..b810cfdee 100644 --- a/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs +++ b/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -146,6 +146,33 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.DefaultState; + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/PrefixedUnit.cs b/CDP4Common/AutoGenPoco/PrefixedUnit.cs index 425bcc641..c62c73510 100644 --- a/CDP4Common/AutoGenPoco/PrefixedUnit.cs +++ b/CDP4Common/AutoGenPoco/PrefixedUnit.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -145,6 +145,26 @@ public override string ShortName set { throw new InvalidOperationException("Forbidden Set value for the derived property PrefixedUnit.ShortName"); } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Prefix; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Publication.cs b/CDP4Common/AutoGenPoco/Publication.cs index bf396e206..6cdd72aeb 100644 --- a/CDP4Common/AutoGenPoco/Publication.cs +++ b/CDP4Common/AutoGenPoco/Publication.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -121,6 +121,34 @@ public Publication(Guid iid, ConcurrentDictionary PublishedParameter { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Domain) + { + yield return thing; + } + + foreach (var thing in this.PublishedParameter) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/QuantityKind.cs b/CDP4Common/AutoGenPoco/QuantityKind.cs index 473773945..baab73d6b 100644 --- a/CDP4Common/AutoGenPoco/QuantityKind.cs +++ b/CDP4Common/AutoGenPoco/QuantityKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -173,6 +173,31 @@ public string QuantityDimensionExpression [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public virtual string QuantityDimensionSymbol { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.DefaultScale; + + foreach (var thing in this.PossibleScale) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/QuantityKindFactor.cs b/CDP4Common/AutoGenPoco/QuantityKindFactor.cs index b4619728d..fa7800f7c 100644 --- a/CDP4Common/AutoGenPoco/QuantityKindFactor.cs +++ b/CDP4Common/AutoGenPoco/QuantityKindFactor.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -102,6 +102,26 @@ public QuantityKindFactor(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.QuantityKind; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/RatioScale.cs b/CDP4Common/AutoGenPoco/RatioScale.cs index 3f1f3251b..fe2ade6b6 100644 --- a/CDP4Common/AutoGenPoco/RatioScale.cs +++ b/CDP4Common/AutoGenPoco/RatioScale.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ReferenceDataLibrary.cs b/CDP4Common/AutoGenPoco/ReferenceDataLibrary.cs index bd0c679df..36edc7689 100644 --- a/CDP4Common/AutoGenPoco/ReferenceDataLibrary.cs +++ b/CDP4Common/AutoGenPoco/ReferenceDataLibrary.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -257,6 +257,36 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.BaseQuantityKind.Select(x => x)) + { + yield return thing; + } + + foreach (var thing in this.BaseUnit) + { + yield return thing; + } + + yield return this.RequiredRdl; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ReferenceSource.cs b/CDP4Common/AutoGenPoco/ReferenceSource.cs index 13046b887..bc3ac696b 100644 --- a/CDP4Common/AutoGenPoco/ReferenceSource.cs +++ b/CDP4Common/AutoGenPoco/ReferenceSource.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -169,6 +169,33 @@ public ReferenceSource(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.PublishedIn; + + yield return this.Publisher; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ReferencerRule.cs b/CDP4Common/AutoGenPoco/ReferencerRule.cs index 84105d2d9..fd0b4dd6c 100644 --- a/CDP4Common/AutoGenPoco/ReferencerRule.cs +++ b/CDP4Common/AutoGenPoco/ReferencerRule.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -124,6 +124,31 @@ public ReferencerRule(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.ReferencedCategory) + { + yield return thing; + } + + yield return this.ReferencingCategory; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/RelationalExpression.cs b/CDP4Common/AutoGenPoco/RelationalExpression.cs index 061a0e115..6c3b18169 100644 --- a/CDP4Common/AutoGenPoco/RelationalExpression.cs +++ b/CDP4Common/AutoGenPoco/RelationalExpression.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -122,6 +122,28 @@ public RelationalExpression(Guid iid, ConcurrentDictionary Value { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ParameterType; + + yield return this.Scale; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/RelationalOperatorKind.cs b/CDP4Common/AutoGenPoco/RelationalOperatorKind.cs index ff6a08b51..a9d173f86 100644 --- a/CDP4Common/AutoGenPoco/RelationalOperatorKind.cs +++ b/CDP4Common/AutoGenPoco/RelationalOperatorKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Relationship.cs b/CDP4Common/AutoGenPoco/Relationship.cs index d6e97a80e..8c214ea55 100644 --- a/CDP4Common/AutoGenPoco/Relationship.cs +++ b/CDP4Common/AutoGenPoco/Relationship.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -130,6 +130,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/RelationshipParameterValue.cs b/CDP4Common/AutoGenPoco/RelationshipParameterValue.cs index 9baa929cc..ccbc69b2b 100644 --- a/CDP4Common/AutoGenPoco/RelationshipParameterValue.cs +++ b/CDP4Common/AutoGenPoco/RelationshipParameterValue.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/RequestForDeviation.cs b/CDP4Common/AutoGenPoco/RequestForDeviation.cs index 4c363a6dc..9aa15e9f2 100644 --- a/CDP4Common/AutoGenPoco/RequestForDeviation.cs +++ b/CDP4Common/AutoGenPoco/RequestForDeviation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/RequestForWaiver.cs b/CDP4Common/AutoGenPoco/RequestForWaiver.cs index f8a4c653e..a761abf5a 100644 --- a/CDP4Common/AutoGenPoco/RequestForWaiver.cs +++ b/CDP4Common/AutoGenPoco/RequestForWaiver.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Requirement.cs b/CDP4Common/AutoGenPoco/Requirement.cs index 4a98f8cc1..003e19064 100644 --- a/CDP4Common/AutoGenPoco/Requirement.cs +++ b/CDP4Common/AutoGenPoco/Requirement.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -139,6 +139,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Group; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/RequirementsContainer.cs b/CDP4Common/AutoGenPoco/RequirementsContainer.cs index bc537c59f..a342dc387 100644 --- a/CDP4Common/AutoGenPoco/RequirementsContainer.cs +++ b/CDP4Common/AutoGenPoco/RequirementsContainer.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -142,6 +142,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/RequirementsContainerParameterValue.cs b/CDP4Common/AutoGenPoco/RequirementsContainerParameterValue.cs index b7676516b..2c36a9751 100644 --- a/CDP4Common/AutoGenPoco/RequirementsContainerParameterValue.cs +++ b/CDP4Common/AutoGenPoco/RequirementsContainerParameterValue.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/RequirementsGroup.cs b/CDP4Common/AutoGenPoco/RequirementsGroup.cs index f4aa60715..814641d68 100644 --- a/CDP4Common/AutoGenPoco/RequirementsGroup.cs +++ b/CDP4Common/AutoGenPoco/RequirementsGroup.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/RequirementsSpecification.cs b/CDP4Common/AutoGenPoco/RequirementsSpecification.cs index c2663da1c..7c5442237 100644 --- a/CDP4Common/AutoGenPoco/RequirementsSpecification.cs +++ b/CDP4Common/AutoGenPoco/RequirementsSpecification.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ReviewItemDiscrepancy.cs b/CDP4Common/AutoGenPoco/ReviewItemDiscrepancy.cs index 030ca1a0b..79536ffb8 100644 --- a/CDP4Common/AutoGenPoco/ReviewItemDiscrepancy.cs +++ b/CDP4Common/AutoGenPoco/ReviewItemDiscrepancy.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Rule.cs b/CDP4Common/AutoGenPoco/Rule.cs index 5d16b05fd..19e717487 100644 --- a/CDP4Common/AutoGenPoco/Rule.cs +++ b/CDP4Common/AutoGenPoco/Rule.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/RuleVerification.cs b/CDP4Common/AutoGenPoco/RuleVerification.cs index aea5da829..da7305445 100644 --- a/CDP4Common/AutoGenPoco/RuleVerification.cs +++ b/CDP4Common/AutoGenPoco/RuleVerification.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/RuleVerificationList.cs b/CDP4Common/AutoGenPoco/RuleVerificationList.cs index fa0c7ac27..ffaf337d4 100644 --- a/CDP4Common/AutoGenPoco/RuleVerificationList.cs +++ b/CDP4Common/AutoGenPoco/RuleVerificationList.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -118,6 +118,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/RuleVerificationStatusKind.cs b/CDP4Common/AutoGenPoco/RuleVerificationStatusKind.cs index ec9c26306..112c84f2b 100644 --- a/CDP4Common/AutoGenPoco/RuleVerificationStatusKind.cs +++ b/CDP4Common/AutoGenPoco/RuleVerificationStatusKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/RuleViolation.cs b/CDP4Common/AutoGenPoco/RuleViolation.cs index a98561a90..3e774c305 100644 --- a/CDP4Common/AutoGenPoco/RuleViolation.cs +++ b/CDP4Common/AutoGenPoco/RuleViolation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ScalarParameterType.cs b/CDP4Common/AutoGenPoco/ScalarParameterType.cs index e5be8e6da..80db5f15e 100644 --- a/CDP4Common/AutoGenPoco/ScalarParameterType.cs +++ b/CDP4Common/AutoGenPoco/ScalarParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ScaleReferenceQuantityValue.cs b/CDP4Common/AutoGenPoco/ScaleReferenceQuantityValue.cs index 3e45951de..6168c48a1 100644 --- a/CDP4Common/AutoGenPoco/ScaleReferenceQuantityValue.cs +++ b/CDP4Common/AutoGenPoco/ScaleReferenceQuantityValue.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -102,6 +102,26 @@ public ScaleReferenceQuantityValue(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Scale; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs b/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs index b32f32aa4..e763a3126 100644 --- a/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs +++ b/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Section.cs b/CDP4Common/AutoGenPoco/Section.cs index 42cd73b21..54865de13 100644 --- a/CDP4Common/AutoGenPoco/Section.cs +++ b/CDP4Common/AutoGenPoco/Section.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -162,6 +162,31 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SharedStyle.cs b/CDP4Common/AutoGenPoco/SharedStyle.cs index dfdacae14..9dd7628ce 100644 --- a/CDP4Common/AutoGenPoco/SharedStyle.cs +++ b/CDP4Common/AutoGenPoco/SharedStyle.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/SimpleParameterValue.cs b/CDP4Common/AutoGenPoco/SimpleParameterValue.cs index e3cb47ead..47428f70b 100644 --- a/CDP4Common/AutoGenPoco/SimpleParameterValue.cs +++ b/CDP4Common/AutoGenPoco/SimpleParameterValue.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -131,6 +131,28 @@ public DomainOfExpertise Owner [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: true, isNullable: false, isPersistent: true)] public ValueArray Value { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ParameterType; + + yield return this.Scale; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SimpleParameterizableThing.cs b/CDP4Common/AutoGenPoco/SimpleParameterizableThing.cs index 21a272d3d..27785b0ef 100644 --- a/CDP4Common/AutoGenPoco/SimpleParameterizableThing.cs +++ b/CDP4Common/AutoGenPoco/SimpleParameterizableThing.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -118,6 +118,26 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs b/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs index de82e384c..16e447705 100644 --- a/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs +++ b/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/SimpleUnit.cs b/CDP4Common/AutoGenPoco/SimpleUnit.cs index 7cbd0325d..d58f536d8 100644 --- a/CDP4Common/AutoGenPoco/SimpleUnit.cs +++ b/CDP4Common/AutoGenPoco/SimpleUnit.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/SiteDirectory.cs b/CDP4Common/AutoGenPoco/SiteDirectory.cs index 4224b5c70..7ab2de3ca 100644 --- a/CDP4Common/AutoGenPoco/SiteDirectory.cs +++ b/CDP4Common/AutoGenPoco/SiteDirectory.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -283,6 +283,28 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.DefaultParticipantRole; + + yield return this.DefaultPersonRole; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SiteDirectoryDataAnnotation.cs b/CDP4Common/AutoGenPoco/SiteDirectoryDataAnnotation.cs index ebb73e01f..b7d8b584e 100644 --- a/CDP4Common/AutoGenPoco/SiteDirectoryDataAnnotation.cs +++ b/CDP4Common/AutoGenPoco/SiteDirectoryDataAnnotation.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -137,6 +137,28 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + + yield return this.PrimaryAnnotatedThing; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SiteDirectoryDataDiscussionItem.cs b/CDP4Common/AutoGenPoco/SiteDirectoryDataDiscussionItem.cs index 2dfe31c50..cc9015a39 100644 --- a/CDP4Common/AutoGenPoco/SiteDirectoryDataDiscussionItem.cs +++ b/CDP4Common/AutoGenPoco/SiteDirectoryDataDiscussionItem.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -93,6 +93,26 @@ public SiteDirectoryDataDiscussionItem(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SiteDirectoryThingReference.cs b/CDP4Common/AutoGenPoco/SiteDirectoryThingReference.cs index 90fc965ee..f40feab9e 100644 --- a/CDP4Common/AutoGenPoco/SiteDirectoryThingReference.cs +++ b/CDP4Common/AutoGenPoco/SiteDirectoryThingReference.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/SiteLogEntry.cs b/CDP4Common/AutoGenPoco/SiteLogEntry.cs index f7b61add8..f86615283 100644 --- a/CDP4Common/AutoGenPoco/SiteLogEntry.cs +++ b/CDP4Common/AutoGenPoco/SiteLogEntry.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -154,6 +154,31 @@ public SiteLogEntry(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs b/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs index e8ba35b55..55f970694 100644 --- a/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs +++ b/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Solution.cs b/CDP4Common/AutoGenPoco/Solution.cs index 9d145c6a2..4d8041f60 100644 --- a/CDP4Common/AutoGenPoco/Solution.cs +++ b/CDP4Common/AutoGenPoco/Solution.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -103,6 +103,28 @@ public Solution(Guid iid, ConcurrentDictionary> [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public DomainOfExpertise Owner { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Author; + + yield return this.Owner; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs b/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs index a52001efe..3d984126a 100644 --- a/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs +++ b/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -96,6 +96,26 @@ public SpecializedQuantityKind(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.General; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs b/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs index 4cd82d655..b3e50c403 100644 --- a/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs +++ b/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -158,6 +158,49 @@ public override IEnumerable ContainerLists } } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + foreach (var thing in this.Goal) + { + yield return thing; + } + + foreach (var thing in this.Requirement) + { + yield return thing; + } + + foreach (var thing in this.StakeholderValue) + { + yield return thing; + } + + foreach (var thing in this.ValueGroup) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/StakeHolderValueMapSettings.cs b/CDP4Common/AutoGenPoco/StakeHolderValueMapSettings.cs index a47c21840..dd97dc6bf 100644 --- a/CDP4Common/AutoGenPoco/StakeHolderValueMapSettings.cs +++ b/CDP4Common/AutoGenPoco/StakeHolderValueMapSettings.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -108,6 +108,30 @@ public StakeHolderValueMapSettings(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.GoalToValueGroupRelationship; + + yield return this.StakeholderValueToRequirementRelationship; + + yield return this.ValueGroupToStakeholderValueRelationship; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/Stakeholder.cs b/CDP4Common/AutoGenPoco/Stakeholder.cs index 463f3ef3d..752a34d70 100644 --- a/CDP4Common/AutoGenPoco/Stakeholder.cs +++ b/CDP4Common/AutoGenPoco/Stakeholder.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -105,6 +105,34 @@ public Stakeholder(Guid iid, ConcurrentDictionary StakeholderValue { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + + foreach (var thing in this.StakeholderValue) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/StakeholderValue.cs b/CDP4Common/AutoGenPoco/StakeholderValue.cs index 12c2449a3..2f6aac81c 100644 --- a/CDP4Common/AutoGenPoco/StakeholderValue.cs +++ b/CDP4Common/AutoGenPoco/StakeholderValue.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -95,6 +95,29 @@ public StakeholderValue(Guid iid, ConcurrentDictionary Category { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/StudyPhaseKind.cs b/CDP4Common/AutoGenPoco/StudyPhaseKind.cs index 5352f5c00..0a41687bb 100644 --- a/CDP4Common/AutoGenPoco/StudyPhaseKind.cs +++ b/CDP4Common/AutoGenPoco/StudyPhaseKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/TelephoneNumber.cs b/CDP4Common/AutoGenPoco/TelephoneNumber.cs index 13a7bd299..e534c783d 100644 --- a/CDP4Common/AutoGenPoco/TelephoneNumber.cs +++ b/CDP4Common/AutoGenPoco/TelephoneNumber.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/Term.cs b/CDP4Common/AutoGenPoco/Term.cs index 0f4258db3..fb64b94d7 100644 --- a/CDP4Common/AutoGenPoco/Term.cs +++ b/CDP4Common/AutoGenPoco/Term.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/TextParameterType.cs b/CDP4Common/AutoGenPoco/TextParameterType.cs index 7c09871cc..b01d00ee6 100644 --- a/CDP4Common/AutoGenPoco/TextParameterType.cs +++ b/CDP4Common/AutoGenPoco/TextParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/TextualNote.cs b/CDP4Common/AutoGenPoco/TextualNote.cs index abff4bed9..867498389 100644 --- a/CDP4Common/AutoGenPoco/TextualNote.cs +++ b/CDP4Common/AutoGenPoco/TextualNote.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/ThingReference.cs b/CDP4Common/AutoGenPoco/ThingReference.cs index dbaff6698..c3357b3e3 100644 --- a/CDP4Common/AutoGenPoco/ThingReference.cs +++ b/CDP4Common/AutoGenPoco/ThingReference.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -100,6 +100,26 @@ protected ThingReference(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.ReferencedThing; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs b/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs index f0e660ad3..108e849eb 100644 --- a/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs +++ b/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/TopContainer.cs b/CDP4Common/AutoGenPoco/TopContainer.cs index e34f870f6..ee37724a4 100644 --- a/CDP4Common/AutoGenPoco/TopContainer.cs +++ b/CDP4Common/AutoGenPoco/TopContainer.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/UnitFactor.cs b/CDP4Common/AutoGenPoco/UnitFactor.cs index 0fbb904db..3a43f03ac 100644 --- a/CDP4Common/AutoGenPoco/UnitFactor.cs +++ b/CDP4Common/AutoGenPoco/UnitFactor.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -102,6 +102,26 @@ public UnitFactor(Guid iid, ConcurrentDictionary + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Unit; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/UnitPrefix.cs b/CDP4Common/AutoGenPoco/UnitPrefix.cs index 9dd28935c..fea03044b 100644 --- a/CDP4Common/AutoGenPoco/UnitPrefix.cs +++ b/CDP4Common/AutoGenPoco/UnitPrefix.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/UserPreference.cs b/CDP4Common/AutoGenPoco/UserPreference.cs index 14b69d121..3decc0745 100644 --- a/CDP4Common/AutoGenPoco/UserPreference.cs +++ b/CDP4Common/AutoGenPoco/UserPreference.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/UserRuleVerification.cs b/CDP4Common/AutoGenPoco/UserRuleVerification.cs index 88f51a56d..b54373e5b 100644 --- a/CDP4Common/AutoGenPoco/UserRuleVerification.cs +++ b/CDP4Common/AutoGenPoco/UserRuleVerification.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -108,6 +108,26 @@ public override string Name [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public Rule Rule { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + yield return this.Rule; + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/ValueGroup.cs b/CDP4Common/AutoGenPoco/ValueGroup.cs index e43218eeb..f028eb902 100644 --- a/CDP4Common/AutoGenPoco/ValueGroup.cs +++ b/CDP4Common/AutoGenPoco/ValueGroup.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // @@ -95,6 +95,29 @@ public ValueGroup(Guid iid, ConcurrentDictionary Category { get; set; } + /// + /// Queries the referenced s of the current + /// + /// + /// This does not include the contained s, the contained s + /// are exposed via the property + /// + /// + /// An + /// + public override IEnumerable QueryReferencedThings() + { + foreach (var thing in base.QueryReferencedThings()) + { + yield return thing; + } + + foreach (var thing in this.Category) + { + yield return thing; + } + } + /// /// Creates and returns a copy of this for edit purpose. /// diff --git a/CDP4Common/AutoGenPoco/VcardEmailAddressKind.cs b/CDP4Common/AutoGenPoco/VcardEmailAddressKind.cs index 34a56bceb..d9da7376b 100644 --- a/CDP4Common/AutoGenPoco/VcardEmailAddressKind.cs +++ b/CDP4Common/AutoGenPoco/VcardEmailAddressKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/AutoGenPoco/VcardTelephoneNumberKind.cs b/CDP4Common/AutoGenPoco/VcardTelephoneNumberKind.cs index 324be9a29..db90dd1c4 100644 --- a/CDP4Common/AutoGenPoco/VcardTelephoneNumberKind.cs +++ b/CDP4Common/AutoGenPoco/VcardTelephoneNumberKind.cs @@ -1,8 +1,8 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2020 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov +// Authors: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Yevhen Ikonnykov, Smiechowski Nathanael // // This file is part of CDP4-SDK Community Edition // diff --git a/CDP4Common/Poco/Thing.cs b/CDP4Common/Poco/Thing.cs index c000d683e..a9e417804 100644 --- a/CDP4Common/Poco/Thing.cs +++ b/CDP4Common/Poco/Thing.cs @@ -149,8 +149,8 @@ protected Thing(Guid iid, ConcurrentDictionary> [CDPVersion("1.1.0")] [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] [DataMember] - public virtual List ExcludedDomain { get; set; } - + public virtual List ExcludedDomain { get; set; } + /// /// Gets or sets a list of that are excluded for this instance. /// @@ -236,8 +236,8 @@ public CacheKey CacheKey if (this.cacheKey.Thing != Guid.Empty) { return this.cacheKey; - } - + } + var iterationContainer = this.GetContainerOfType(); Guid? iterationId = null; if (iterationContainer != null && this.ClassKind != ClassKind.Iteration) @@ -273,8 +273,8 @@ public string Route get { var currentType = this.GetType(); - var typeName = currentType.Name; - + var typeName = currentType.Name; + if (this is TopContainer) { if (typeName == "SiteDirectory" && this.Iid == Guid.Empty) @@ -288,8 +288,8 @@ public string Route if (this is NotThing) { return "no thing, no route"; - } - + } + var container = this.Container; if (container == null) @@ -339,6 +339,44 @@ public IEnumerable QueryContainedThingsDeep() return temp; } + /// + /// Queries the referenced s of the current + /// + /// + /// this does not include the contained s, the contained s + /// are exposed via the method + /// + /// + /// An + /// + public virtual IEnumerable QueryReferencedThings() + { + return Enumerable.Empty(); + } + + /// + /// Queries all the referenced s of the current , along the complete + /// referenced chain and returns them as a flat list + /// + /// + /// An + /// + public IEnumerable QueryReferencedThingsDeep() + { + var temp = new List(); + + foreach (var thing in this.QueryReferencedThings()) + { + if (thing != null) + { + temp.Add(thing); + temp.AddRange(thing.QueryReferencedThings()); + } + } + + return temp.Distinct(); + } + /// /// Gets or sets the Change status of this . ///