From eea3560ea44e57576ebce0f52eeedae4cfd3110b Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Thu, 18 Jan 2024 17:05:45 +0100 Subject: [PATCH 01/10] Add support for model version 1.4.0 --- CDP4Common/AutoGenDto/ArchitectureDiagram.cs | 395 ++++++++++++ CDP4Common/AutoGenDto/ArchitectureElement.cs | 386 ++++++++++++ CDP4Common/AutoGenDto/ArrayParameterType.cs | 24 + CDP4Common/AutoGenDto/Attachment.cs | 342 ++++++++++ CDP4Common/AutoGenDto/Behavior.cs | 434 +++++++++++++ CDP4Common/AutoGenDto/BehavioralParameter.cs | 331 ++++++++++ .../AutoGenDto/BinaryRelationshipRule.cs | 24 + CDP4Common/AutoGenDto/BooleanParameterType.cs | 24 + CDP4Common/AutoGenDto/Category.cs | 24 + .../AutoGenDto/CompoundParameterType.cs | 24 + CDP4Common/AutoGenDto/Constant.cs | 24 + CDP4Common/AutoGenDto/ConversionBasedUnit.cs | 13 + CDP4Common/AutoGenDto/CyclicRatioScale.cs | 24 + CDP4Common/AutoGenDto/DateParameterType.cs | 24 + .../AutoGenDto/DateTimeParameterType.cs | 24 + CDP4Common/AutoGenDto/DecompositionRule.cs | 24 + CDP4Common/AutoGenDto/DefinedThing.cs | 23 + CDP4Common/AutoGenDto/DerivedQuantityKind.cs | 24 + CDP4Common/AutoGenDto/DerivedUnit.cs | 24 + CDP4Common/AutoGenDto/DiagramCanvas.cs | 20 +- CDP4Common/AutoGenDto/DiagramFrame.cs | 382 +++++++++++ CDP4Common/AutoGenDto/DiagramObject.cs | 4 +- CDP4Common/AutoGenDto/DiagramPort.cs | 382 +++++++++++ CDP4Common/AutoGenDto/DomainOfExpertise.cs | 24 + .../AutoGenDto/DomainOfExpertiseGroup.cs | 24 + CDP4Common/AutoGenDto/ElementBase.cs | 13 + CDP4Common/AutoGenDto/ElementDefinition.cs | 59 ++ CDP4Common/AutoGenDto/ElementUsage.cs | 24 + .../AutoGenDto/EngineeringModelSetup.cs | 24 + .../AutoGenDto/EnumerationParameterType.cs | 24 + .../AutoGenDto/EnumerationValueDefinition.cs | 24 + CDP4Common/AutoGenDto/FileType.cs | 24 + CDP4Common/AutoGenDto/Glossary.cs | 24 + CDP4Common/AutoGenDto/Goal.cs | 24 + CDP4Common/AutoGenDto/IntervalScale.cs | 24 + CDP4Common/AutoGenDto/LinearConversionUnit.cs | 24 + CDP4Common/AutoGenDto/LogarithmicScale.cs | 24 + CDP4Common/AutoGenDto/MeasurementScale.cs | 13 + CDP4Common/AutoGenDto/MeasurementUnit.cs | 13 + .../AutoGenDto/ModelReferenceDataLibrary.cs | 24 + .../AutoGenDto/MultiRelationshipRule.cs | 24 + CDP4Common/AutoGenDto/Option.cs | 24 + CDP4Common/AutoGenDto/OrdinalScale.cs | 24 + CDP4Common/AutoGenDto/ParameterType.cs | 13 + .../AutoGenDto/ParameterizedCategoryRule.cs | 24 + CDP4Common/AutoGenDto/ParticipantRole.cs | 24 + CDP4Common/AutoGenDto/PersonRole.cs | 24 + CDP4Common/AutoGenDto/PossibleFiniteState.cs | 24 + .../AutoGenDto/PossibleFiniteStateList.cs | 24 + CDP4Common/AutoGenDto/PrefixedUnit.cs | 24 + CDP4Common/AutoGenDto/QuantityKind.cs | 13 + CDP4Common/AutoGenDto/RatioScale.cs | 24 + CDP4Common/AutoGenDto/ReferenceDataLibrary.cs | 13 + CDP4Common/AutoGenDto/ReferenceSource.cs | 24 + CDP4Common/AutoGenDto/ReferencerRule.cs | 24 + CDP4Common/AutoGenDto/Requirement.cs | 24 + .../AutoGenDto/RequirementsContainer.cs | 13 + CDP4Common/AutoGenDto/RequirementsGroup.cs | 24 + .../AutoGenDto/RequirementsSpecification.cs | 24 + CDP4Common/AutoGenDto/Rule.cs | 13 + CDP4Common/AutoGenDto/RuleVerificationList.cs | 24 + .../SampledFunctionParameterType.cs | 24 + CDP4Common/AutoGenDto/ScalarParameterType.cs | 13 + CDP4Common/AutoGenDto/ScaleValueDefinition.cs | 24 + .../AutoGenDto/SimpleParameterizableThing.cs | 13 + CDP4Common/AutoGenDto/SimpleQuantityKind.cs | 24 + CDP4Common/AutoGenDto/SimpleUnit.cs | 24 + .../AutoGenDto/SiteReferenceDataLibrary.cs | 24 + .../AutoGenDto/SpecializedQuantityKind.cs | 24 + CDP4Common/AutoGenDto/StakeHolderValueMap.cs | 24 + CDP4Common/AutoGenDto/Stakeholder.cs | 24 + CDP4Common/AutoGenDto/StakeholderValue.cs | 24 + CDP4Common/AutoGenDto/Term.cs | 24 + CDP4Common/AutoGenDto/TextParameterType.cs | 24 + .../AutoGenDto/TimeOfDayParameterType.cs | 24 + CDP4Common/AutoGenDto/UnitPrefix.cs | 24 + CDP4Common/AutoGenDto/ValueGroup.cs | 24 + .../AutoGenEquatable/ActionItemEquatable.cs | 12 +- .../ActualFiniteStateEquatable.cs | 12 +- .../ActualFiniteStateListEquatable.cs | 12 +- CDP4Common/AutoGenEquatable/AliasEquatable.cs | 12 +- .../AndExpressionEquatable.cs | 12 +- .../AutoGenEquatable/ApprovalEquatable.cs | 12 +- .../ArchitectureDiagramEquatable.cs | 126 ++++ .../ArchitectureElementEquatable.cs | 127 ++++ .../ArrayParameterTypeEquatable.cs | 45 +- .../AutoGenEquatable/AttachmentEquatable.cs | 110 ++++ .../AutoGenEquatable/BehaviorEquatable.cs | 129 ++++ .../BehavioralParameterEquatable.cs | 109 ++++ .../AutoGenEquatable/BinaryNoteEquatable.cs | 12 +- .../BinaryRelationshipEquatable.cs | 12 +- .../BinaryRelationshipRuleEquatable.cs | 43 +- CDP4Common/AutoGenEquatable/BookEquatable.cs | 12 +- .../BooleanParameterTypeEquatable.cs | 37 +- .../AutoGenEquatable/BoundsEquatable.cs | 12 +- .../BuiltInRuleVerificationEquatable.cs | 12 +- .../AutoGenEquatable/CategoryEquatable.cs | 39 +- .../ChangeProposalEquatable.cs | 12 +- .../ChangeRequestEquatable.cs | 12 +- .../AutoGenEquatable/CitationEquatable.cs | 12 +- CDP4Common/AutoGenEquatable/ColorEquatable.cs | 12 +- .../CommonFileStoreEquatable.cs | 12 +- .../CompoundParameterTypeEquatable.cs | 41 +- .../AutoGenEquatable/ConstantEquatable.cs | 41 +- .../ContractChangeNoticeEquatable.cs | 12 +- .../CyclicRatioScaleEquatable.cs | 55 +- .../DateParameterTypeEquatable.cs | 37 +- .../DateTimeParameterTypeEquatable.cs | 37 +- .../DecompositionRuleEquatable.cs | 41 +- .../AutoGenEquatable/DefinitionEquatable.cs | 12 +- ...pendentParameterTypeAssignmentEquatable.cs | 12 +- .../DerivedQuantityKindEquatable.cs | 45 +- .../AutoGenEquatable/DerivedUnitEquatable.cs | 35 +- .../DiagramCanvasEquatable.cs | 31 +- .../AutoGenEquatable/DiagramEdgeEquatable.cs | 12 +- .../AutoGenEquatable/DiagramFrameEquatable.cs | 120 ++++ .../DiagramObjectEquatable.cs | 12 +- .../AutoGenEquatable/DiagramPortEquatable.cs | 120 ++++ .../DomainFileStoreEquatable.cs | 12 +- .../DomainOfExpertiseEquatable.cs | 35 +- .../DomainOfExpertiseGroupEquatable.cs | 35 +- .../ElementDefinitionEquatable.cs | 48 +- .../AutoGenEquatable/ElementUsageEquatable.cs | 43 +- .../AutoGenEquatable/EmailAddressEquatable.cs | 12 +- ...neeringModelDataDiscussionItemEquatable.cs | 12 +- .../EngineeringModelDataNoteEquatable.cs | 12 +- .../EngineeringModelEquatable.cs | 12 +- .../EngineeringModelSetupEquatable.cs | 49 +- .../EnumerationParameterTypeEquatable.cs | 39 +- .../EnumerationValueDefinitionEquatable.cs | 31 +- .../ExclusiveOrExpressionEquatable.cs | 12 +- .../ExternalIdentifierMapEquatable.cs | 12 +- CDP4Common/AutoGenEquatable/FileEquatable.cs | 12 +- .../AutoGenEquatable/FileRevisionEquatable.cs | 12 +- .../AutoGenEquatable/FileTypeEquatable.cs | 37 +- .../AutoGenEquatable/FolderEquatable.cs | 12 +- .../AutoGenEquatable/GlossaryEquatable.cs | 37 +- CDP4Common/AutoGenEquatable/GoalEquatable.cs | 33 +- .../AutoGenEquatable/HyperLinkEquatable.cs | 12 +- .../IdCorrespondenceEquatable.cs | 12 +- ...pendentParameterTypeAssignmentEquatable.cs | 12 +- .../IntervalScaleEquatable.cs | 53 +- .../AutoGenEquatable/IterationEquatable.cs | 12 +- .../IterationSetupEquatable.cs | 12 +- .../LinearConversionUnitEquatable.cs | 37 +- .../LogEntryChangelogItemEquatable.cs | 12 +- .../LogarithmicScaleEquatable.cs | 63 +- .../MappingToReferenceScaleEquatable.cs | 12 +- .../ModelLogEntryEquatable.cs | 12 +- .../ModelReferenceDataLibraryEquatable.cs | 57 +- .../ModellingThingReferenceEquatable.cs | 12 +- .../MultiRelationshipEquatable.cs | 12 +- .../MultiRelationshipRuleEquatable.cs | 41 +- .../NaturalLanguageEquatable.cs | 12 +- .../NestedElementEquatable.cs | 12 +- .../NestedParameterEquatable.cs | 12 +- .../NotExpressionEquatable.cs | 12 +- .../AutoGenEquatable/OptionEquatable.cs | 35 +- .../AutoGenEquatable/OrExpressionEquatable.cs | 12 +- .../AutoGenEquatable/OrdinalScaleEquatable.cs | 55 +- .../AutoGenEquatable/OrganizationEquatable.cs | 12 +- .../OrganizationalParticipantEquatable.cs | 12 +- .../AutoGenEquatable/OwnedStyleEquatable.cs | 12 +- CDP4Common/AutoGenEquatable/PageEquatable.cs | 12 +- .../AutoGenEquatable/ParameterEquatable.cs | 12 +- .../ParameterGroupEquatable.cs | 12 +- .../ParameterOverrideEquatable.cs | 12 +- .../ParameterOverrideValueSetEquatable.cs | 12 +- .../ParameterSubscriptionEquatable.cs | 12 +- .../ParameterSubscriptionValueSetEquatable.cs | 12 +- .../ParameterTypeComponentEquatable.cs | 12 +- .../ParameterValueSetEquatable.cs | 12 +- .../ParameterizedCategoryRuleEquatable.cs | 37 +- .../ParametricConstraintEquatable.cs | 12 +- .../AutoGenEquatable/ParticipantEquatable.cs | 12 +- .../ParticipantPermissionEquatable.cs | 12 +- .../ParticipantRoleEquatable.cs | 35 +- .../AutoGenEquatable/PersonEquatable.cs | 12 +- .../PersonPermissionEquatable.cs | 12 +- .../AutoGenEquatable/PersonRoleEquatable.cs | 35 +- CDP4Common/AutoGenEquatable/PointEquatable.cs | 12 +- .../PossibleFiniteStateEquatable.cs | 31 +- .../PossibleFiniteStateListEquatable.cs | 39 +- .../AutoGenEquatable/PrefixedUnitEquatable.cs | 33 +- .../AutoGenEquatable/PublicationEquatable.cs | 12 +- .../QuantityKindFactorEquatable.cs | 12 +- .../AutoGenEquatable/RatioScaleEquatable.cs | 53 +- .../ReferenceSourceEquatable.cs | 49 +- .../ReferencerRuleEquatable.cs | 41 +- .../RelationalExpressionEquatable.cs | 12 +- .../RelationshipParameterValueEquatable.cs | 12 +- .../RequestForDeviationEquatable.cs | 12 +- .../RequestForWaiverEquatable.cs | 12 +- .../AutoGenEquatable/RequirementEquatable.cs | 43 +- ...rementsContainerParameterValueEquatable.cs | 12 +- .../RequirementsGroupEquatable.cs | 39 +- .../RequirementsSpecificationEquatable.cs | 43 +- .../ReviewItemDiscrepancyEquatable.cs | 12 +- .../RuleVerificationListEquatable.cs | 35 +- .../RuleViolationEquatable.cs | 12 +- .../SampledFunctionParameterTypeEquatable.cs | 39 +- .../ScaleReferenceQuantityValueEquatable.cs | 12 +- .../ScaleValueDefinitionEquatable.cs | 33 +- .../AutoGenEquatable/SectionEquatable.cs | 12 +- .../AutoGenEquatable/SharedStyleEquatable.cs | 12 +- .../SimpleParameterValueEquatable.cs | 12 +- .../SimpleQuantityKindEquatable.cs | 43 +- .../AutoGenEquatable/SimpleUnitEquatable.cs | 33 +- .../SiteDirectoryDataAnnotationEquatable.cs | 12 +- ...iteDirectoryDataDiscussionItemEquatable.cs | 12 +- .../SiteDirectoryEquatable.cs | 12 +- .../SiteDirectoryThingReferenceEquatable.cs | 12 +- .../AutoGenEquatable/SiteLogEntryEquatable.cs | 12 +- .../SiteReferenceDataLibraryEquatable.cs | 59 +- .../AutoGenEquatable/SolutionEquatable.cs | 12 +- .../SpecializedQuantityKindEquatable.cs | 45 +- .../StakeHolderValueMapEquatable.cs | 43 +- .../StakeHolderValueMapSettingsEquatable.cs | 12 +- .../AutoGenEquatable/StakeholderEquatable.cs | 35 +- .../StakeholderValueEquatable.cs | 33 +- .../TelephoneNumberEquatable.cs | 12 +- CDP4Common/AutoGenEquatable/TermEquatable.cs | 33 +- .../TextParameterTypeEquatable.cs | 37 +- .../AutoGenEquatable/TextualNoteEquatable.cs | 12 +- CDP4Common/AutoGenEquatable/ThingEquatable.cs | 190 +++--- .../TimeOfDayParameterTypeEquatable.cs | 37 +- .../AutoGenEquatable/UnitFactorEquatable.cs | 12 +- .../AutoGenEquatable/UnitPrefixEquatable.cs | 35 +- .../UserPreferenceEquatable.cs | 12 +- .../UserRuleVerificationEquatable.cs | 12 +- .../AutoGenEquatable/ValueGroupEquatable.cs | 33 +- .../AutoGenHelpers/ContainerPropertyHelper.cs | 16 +- .../DefaultPermissionProvider.cs | 39 +- .../EngineeringModelContainmentClassType.cs | 11 +- .../IterationContainmentClassType.cs | 25 +- .../PartitionDependentContainmentClassType.cs | 11 +- .../PermissibleAnnotationProvider.cs | 11 +- .../AutoGenMetaInfo/ActionItemMetaInfo.cs | 9 +- .../ActualFiniteStateListMetaInfo.cs | 9 +- .../ActualFiniteStateMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/AliasMetaInfo.cs | 10 +- .../AutoGenMetaInfo/AndExpressionMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ApprovalMetaInfo.cs | 9 +- .../ArchitectureDiagramMetaInfo.cs | 557 +++++++++++++++++ .../ArchitectureElementMetaInfo.cs | 565 +++++++++++++++++ .../ArrayParameterTypeMetaInfo.cs | 14 +- .../AutoGenMetaInfo/AttachmentMetaInfo.cs | 591 ++++++++++++++++++ .../AutoGenMetaInfo/BehaviorMetaInfo.cs | 566 +++++++++++++++++ .../BehavioralParameterMetaInfo.cs | 533 ++++++++++++++++ .../AutoGenMetaInfo/BinaryNoteMetaInfo.cs | 9 +- .../BinaryRelationshipMetaInfo.cs | 9 +- .../BinaryRelationshipRuleMetaInfo.cs | 14 +- CDP4Common/AutoGenMetaInfo/BookMetaInfo.cs | 9 +- .../BooleanExpressionMetaInfo.cs | 9 +- .../BooleanParameterTypeMetaInfo.cs | 14 +- CDP4Common/AutoGenMetaInfo/BoundsMetaInfo.cs | 13 +- .../BuiltInRuleVerificationMetaInfo.cs | 9 +- .../AutoGenMetaInfo/CategoryMetaInfo.cs | 14 +- .../AutoGenMetaInfo/ChangeProposalMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ChangeRequestMetaInfo.cs | 9 +- .../AutoGenMetaInfo/CitationMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/ColorMetaInfo.cs | 9 +- .../CommonFileStoreMetaInfo.cs | 9 +- .../CompoundParameterTypeMetaInfo.cs | 14 +- .../AutoGenMetaInfo/ConstantMetaInfo.cs | 14 +- .../ContractChangeNoticeMetaInfo.cs | 9 +- .../ContractDeviationMetaInfo.cs | 9 +- .../ConversionBasedUnitMetaInfo.cs | 14 +- .../CyclicRatioScaleMetaInfo.cs | 14 +- .../DateParameterTypeMetaInfo.cs | 14 +- .../DateTimeParameterTypeMetaInfo.cs | 14 +- .../DecompositionRuleMetaInfo.cs | 14 +- .../AutoGenMetaInfo/DefinedThingMetaInfo.cs | 14 +- .../AutoGenMetaInfo/DefinitionMetaInfo.cs | 10 +- ...ependentParameterTypeAssignmentMetaInfo.cs | 9 +- .../DerivedQuantityKindMetaInfo.cs | 14 +- .../AutoGenMetaInfo/DerivedUnitMetaInfo.cs | 14 +- .../AutoGenMetaInfo/DiagramCanvasMetaInfo.cs | 16 +- .../AutoGenMetaInfo/DiagramEdgeMetaInfo.cs | 13 +- .../DiagramElementContainerMetaInfo.cs | 9 +- .../DiagramElementThingMetaInfo.cs | 13 +- .../AutoGenMetaInfo/DiagramFrameMetaInfo.cs | 558 +++++++++++++++++ .../AutoGenMetaInfo/DiagramObjectMetaInfo.cs | 13 +- .../AutoGenMetaInfo/DiagramPortMetaInfo.cs | 558 +++++++++++++++++ .../AutoGenMetaInfo/DiagramShapeMetaInfo.cs | 13 +- .../DiagramThingBaseMetaInfo.cs | 9 +- .../DiagrammingStyleMetaInfo.cs | 9 +- .../AutoGenMetaInfo/DiscussionItemMetaInfo.cs | 9 +- .../DomainFileStoreMetaInfo.cs | 9 +- .../DomainOfExpertiseGroupMetaInfo.cs | 14 +- .../DomainOfExpertiseMetaInfo.cs | 14 +- .../AutoGenMetaInfo/ElementBaseMetaInfo.cs | 14 +- .../ElementDefinitionMetaInfo.cs | 20 +- .../AutoGenMetaInfo/ElementUsageMetaInfo.cs | 14 +- .../AutoGenMetaInfo/EmailAddressMetaInfo.cs | 9 +- .../EngineeringModelDataAnnotationMetaInfo.cs | 9 +- ...ineeringModelDataDiscussionItemMetaInfo.cs | 9 +- .../EngineeringModelDataNoteMetaInfo.cs | 9 +- .../EngineeringModelMetaInfo.cs | 9 +- .../EngineeringModelSetupMetaInfo.cs | 14 +- .../EnumerationParameterTypeMetaInfo.cs | 14 +- .../EnumerationValueDefinitionMetaInfo.cs | 14 +- .../ExclusiveOrExpressionMetaInfo.cs | 9 +- .../ExternalIdentifierMapMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/FileMetaInfo.cs | 9 +- .../AutoGenMetaInfo/FileRevisionMetaInfo.cs | 9 +- .../AutoGenMetaInfo/FileStoreMetaInfo.cs | 9 +- .../AutoGenMetaInfo/FileTypeMetaInfo.cs | 14 +- CDP4Common/AutoGenMetaInfo/FolderMetaInfo.cs | 9 +- .../GenericAnnotationMetaInfo.cs | 9 +- .../AutoGenMetaInfo/GlossaryMetaInfo.cs | 14 +- CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs | 14 +- .../AutoGenMetaInfo/HyperLinkMetaInfo.cs | 10 +- .../AutoGenMetaInfo/IActionItemMetaInfo.cs | 11 +- .../IActualFiniteStateListMetaInfo.cs | 11 +- .../IActualFiniteStateMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IAliasMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IAndExpressionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IApprovalMetaInfo.cs | 11 +- .../IArchitectureDiagramMetaInfo.cs | 42 ++ .../IArchitectureElementMetaInfo.cs | 42 ++ .../IArrayParameterTypeMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IAttachmentMetaInfo.cs | 42 ++ .../AutoGenMetaInfo/IBehaviorMetaInfo.cs | 42 ++ .../IBehavioralParameterMetaInfo.cs | 42 ++ .../AutoGenMetaInfo/IBinaryNoteMetaInfo.cs | 11 +- .../IBinaryRelationshipMetaInfo.cs | 11 +- .../IBinaryRelationshipRuleMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IBookMetaInfo.cs | 11 +- .../IBooleanExpressionMetaInfo.cs | 11 +- .../IBooleanParameterTypeMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IBoundsMetaInfo.cs | 11 +- .../IBuiltInRuleVerificationMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ICategoryMetaInfo.cs | 11 +- .../IChangeProposalMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IChangeRequestMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ICitationMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IColorMetaInfo.cs | 11 +- .../ICommonFileStoreMetaInfo.cs | 11 +- .../ICompoundParameterTypeMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IConstantMetaInfo.cs | 11 +- .../IContractChangeNoticeMetaInfo.cs | 11 +- .../IContractDeviationMetaInfo.cs | 11 +- .../IConversionBasedUnitMetaInfo.cs | 11 +- .../ICyclicRatioScaleMetaInfo.cs | 11 +- .../IDateParameterTypeMetaInfo.cs | 11 +- .../IDateTimeParameterTypeMetaInfo.cs | 11 +- .../IDecompositionRuleMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IDefinedThingMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IDefinitionMetaInfo.cs | 11 +- ...ependentParameterTypeAssignmentMetaInfo.cs | 11 +- .../IDerivedQuantityKindMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IDerivedUnitMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IDiagramCanvasMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IDiagramEdgeMetaInfo.cs | 11 +- .../IDiagramElementContainerMetaInfo.cs | 11 +- .../IDiagramElementThingMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IDiagramFrameMetaInfo.cs | 42 ++ .../AutoGenMetaInfo/IDiagramObjectMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IDiagramPortMetaInfo.cs | 42 ++ .../AutoGenMetaInfo/IDiagramShapeMetaInfo.cs | 11 +- .../IDiagramThingBaseMetaInfo.cs | 11 +- .../IDiagrammingStyleMetaInfo.cs | 11 +- .../IDiscussionItemMetaInfo.cs | 11 +- .../IDomainFileStoreMetaInfo.cs | 11 +- .../IDomainOfExpertiseGroupMetaInfo.cs | 11 +- .../IDomainOfExpertiseMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IElementBaseMetaInfo.cs | 11 +- .../IElementDefinitionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IElementUsageMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IEmailAddressMetaInfo.cs | 11 +- ...IEngineeringModelDataAnnotationMetaInfo.cs | 11 +- ...ineeringModelDataDiscussionItemMetaInfo.cs | 11 +- .../IEngineeringModelDataNoteMetaInfo.cs | 11 +- .../IEngineeringModelMetaInfo.cs | 11 +- .../IEngineeringModelSetupMetaInfo.cs | 11 +- .../IEnumerationParameterTypeMetaInfo.cs | 11 +- .../IEnumerationValueDefinitionMetaInfo.cs | 11 +- .../IExclusiveOrExpressionMetaInfo.cs | 11 +- .../IExternalIdentifierMapMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IFileMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IFileRevisionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IFileStoreMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IFileTypeMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IFolderMetaInfo.cs | 11 +- .../IGenericAnnotationMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IGlossaryMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IGoalMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IHyperLinkMetaInfo.cs | 11 +- .../IIdCorrespondenceMetaInfo.cs | 11 +- ...ependentParameterTypeAssignmentMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IIntervalScaleMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IIterationMetaInfo.cs | 11 +- .../IIterationSetupMetaInfo.cs | 11 +- .../ILinearConversionUnitMetaInfo.cs | 11 +- .../ILogEntryChangelogItemMetaInfo.cs | 11 +- .../ILogarithmicScaleMetaInfo.cs | 11 +- .../IMappingToReferenceScaleMetaInfo.cs | 11 +- .../IMeasurementScaleMetaInfo.cs | 11 +- .../IMeasurementUnitMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IModelLogEntryMetaInfo.cs | 11 +- .../IModelReferenceDataLibraryMetaInfo.cs | 11 +- .../IModellingAnnotationItemMetaInfo.cs | 11 +- .../IModellingThingReferenceMetaInfo.cs | 11 +- .../IMultiRelationshipMetaInfo.cs | 11 +- .../IMultiRelationshipRuleMetaInfo.cs | 11 +- .../INaturalLanguageMetaInfo.cs | 11 +- .../AutoGenMetaInfo/INestedElementMetaInfo.cs | 11 +- .../INestedParameterMetaInfo.cs | 11 +- .../AutoGenMetaInfo/INotExpressionMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/INoteMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IOptionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IOrExpressionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IOrdinalScaleMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IOrganizationMetaInfo.cs | 11 +- .../IOrganizationalParticipantMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IOwnedStyleMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IPageMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IParameterBaseMetaInfo.cs | 11 +- .../IParameterGroupMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IParameterMetaInfo.cs | 11 +- .../IParameterOrOverrideBaseMetaInfo.cs | 11 +- .../IParameterOverrideMetaInfo.cs | 11 +- .../IParameterOverrideValueSetMetaInfo.cs | 11 +- .../IParameterSubscriptionMetaInfo.cs | 11 +- .../IParameterSubscriptionValueSetMetaInfo.cs | 11 +- .../IParameterTypeComponentMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IParameterTypeMetaInfo.cs | 11 +- .../IParameterValueMetaInfo.cs | 11 +- .../IParameterValueSetBaseMetaInfo.cs | 11 +- .../IParameterValueSetMetaInfo.cs | 11 +- .../IParameterizedCategoryRuleMetaInfo.cs | 11 +- .../IParametricConstraintMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IParticipantMetaInfo.cs | 11 +- .../IParticipantPermissionMetaInfo.cs | 11 +- .../IParticipantRoleMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IPersonMetaInfo.cs | 11 +- .../IPersonPermissionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IPersonRoleMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IPointMetaInfo.cs | 11 +- .../IPossibleFiniteStateListMetaInfo.cs | 11 +- .../IPossibleFiniteStateMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IPrefixedUnitMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IPublicationMetaInfo.cs | 11 +- .../IQuantityKindFactorMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IQuantityKindMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IRatioScaleMetaInfo.cs | 11 +- .../IReferenceDataLibraryMetaInfo.cs | 11 +- .../IReferenceSourceMetaInfo.cs | 11 +- .../IReferencerRuleMetaInfo.cs | 11 +- .../IRelationalExpressionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IRelationshipMetaInfo.cs | 11 +- .../IRelationshipParameterValueMetaInfo.cs | 11 +- .../IRequestForDeviationMetaInfo.cs | 11 +- .../IRequestForWaiverMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IRequirementMetaInfo.cs | 11 +- .../IRequirementsContainerMetaInfo.cs | 11 +- ...irementsContainerParameterValueMetaInfo.cs | 11 +- .../IRequirementsGroupMetaInfo.cs | 11 +- .../IRequirementsSpecificationMetaInfo.cs | 11 +- .../IReviewItemDiscrepancyMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IRuleMetaInfo.cs | 11 +- .../IRuleVerificationListMetaInfo.cs | 11 +- .../IRuleVerificationMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IRuleViolationMetaInfo.cs | 11 +- .../ISampledFunctionParameterTypeMetaInfo.cs | 11 +- .../IScalarParameterTypeMetaInfo.cs | 11 +- .../IScaleReferenceQuantityValueMetaInfo.cs | 11 +- .../IScaleValueDefinitionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ISectionMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ISharedStyleMetaInfo.cs | 11 +- .../ISimpleParameterValueMetaInfo.cs | 11 +- .../ISimpleParameterizableThingMetaInfo.cs | 11 +- .../ISimpleQuantityKindMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ISimpleUnitMetaInfo.cs | 11 +- .../ISiteDirectoryDataAnnotationMetaInfo.cs | 11 +- ...SiteDirectoryDataDiscussionItemMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ISiteDirectoryMetaInfo.cs | 11 +- .../ISiteDirectoryThingReferenceMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ISiteLogEntryMetaInfo.cs | 11 +- .../ISiteReferenceDataLibraryMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ISolutionMetaInfo.cs | 11 +- .../ISpecializedQuantityKindMetaInfo.cs | 11 +- .../IStakeHolderValueMapMetaInfo.cs | 11 +- .../IStakeHolderValueMapSettingsMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IStakeholderMetaInfo.cs | 11 +- .../IStakeholderValueMetaInfo.cs | 11 +- .../ITelephoneNumberMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/ITermMetaInfo.cs | 11 +- .../ITextParameterTypeMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ITextualNoteMetaInfo.cs | 11 +- CDP4Common/AutoGenMetaInfo/IThingMetaInfo.cs | 11 +- .../IThingReferenceMetaInfo.cs | 11 +- .../ITimeOfDayParameterTypeMetaInfo.cs | 11 +- .../AutoGenMetaInfo/ITopContainerMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IUnitFactorMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IUnitPrefixMetaInfo.cs | 11 +- .../IUserPreferenceMetaInfo.cs | 11 +- .../IUserRuleVerificationMetaInfo.cs | 11 +- .../AutoGenMetaInfo/IValueGroupMetaInfo.cs | 11 +- .../IdCorrespondenceMetaInfo.cs | 9 +- ...ependentParameterTypeAssignmentMetaInfo.cs | 9 +- .../AutoGenMetaInfo/IntervalScaleMetaInfo.cs | 14 +- .../AutoGenMetaInfo/IterationMetaInfo.cs | 9 +- .../AutoGenMetaInfo/IterationSetupMetaInfo.cs | 9 +- .../LinearConversionUnitMetaInfo.cs | 14 +- .../LogEntryChangelogItemMetaInfo.cs | 9 +- .../LogarithmicScaleMetaInfo.cs | 14 +- .../MappingToReferenceScaleMetaInfo.cs | 9 +- .../MeasurementScaleMetaInfo.cs | 14 +- .../MeasurementUnitMetaInfo.cs | 14 +- .../AutoGenMetaInfo/MetaDataProvider.cs | 8 + .../AutoGenMetaInfo/ModelLogEntryMetaInfo.cs | 9 +- .../ModelReferenceDataLibraryMetaInfo.cs | 14 +- .../ModellingAnnotationItemMetaInfo.cs | 9 +- .../ModellingThingReferenceMetaInfo.cs | 9 +- .../MultiRelationshipMetaInfo.cs | 9 +- .../MultiRelationshipRuleMetaInfo.cs | 14 +- .../NaturalLanguageMetaInfo.cs | 9 +- .../AutoGenMetaInfo/NestedElementMetaInfo.cs | 9 +- .../NestedParameterMetaInfo.cs | 9 +- .../AutoGenMetaInfo/NotExpressionMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/NoteMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs | 14 +- .../AutoGenMetaInfo/OrExpressionMetaInfo.cs | 9 +- .../AutoGenMetaInfo/OrdinalScaleMetaInfo.cs | 14 +- .../AutoGenMetaInfo/OrganizationMetaInfo.cs | 9 +- .../OrganizationalParticipantMetaInfo.cs | 9 +- .../AutoGenMetaInfo/OwnedStyleMetaInfo.cs | 12 +- CDP4Common/AutoGenMetaInfo/PageMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ParameterBaseMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ParameterGroupMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ParameterMetaInfo.cs | 9 +- .../ParameterOrOverrideBaseMetaInfo.cs | 9 +- .../ParameterOverrideMetaInfo.cs | 9 +- .../ParameterOverrideValueSetMetaInfo.cs | 9 +- .../ParameterSubscriptionMetaInfo.cs | 9 +- .../ParameterSubscriptionValueSetMetaInfo.cs | 9 +- .../ParameterTypeComponentMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ParameterTypeMetaInfo.cs | 14 +- .../AutoGenMetaInfo/ParameterValueMetaInfo.cs | 9 +- .../ParameterValueSetBaseMetaInfo.cs | 9 +- .../ParameterValueSetMetaInfo.cs | 9 +- .../ParameterizedCategoryRuleMetaInfo.cs | 14 +- .../ParametricConstraintMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ParticipantMetaInfo.cs | 9 +- .../ParticipantPermissionMetaInfo.cs | 9 +- .../ParticipantRoleMetaInfo.cs | 14 +- CDP4Common/AutoGenMetaInfo/PersonMetaInfo.cs | 9 +- .../PersonPermissionMetaInfo.cs | 9 +- .../AutoGenMetaInfo/PersonRoleMetaInfo.cs | 14 +- CDP4Common/AutoGenMetaInfo/PointMetaInfo.cs | 9 +- .../PossibleFiniteStateListMetaInfo.cs | 14 +- .../PossibleFiniteStateMetaInfo.cs | 14 +- .../AutoGenMetaInfo/PrefixedUnitMetaInfo.cs | 14 +- .../AutoGenMetaInfo/PublicationMetaInfo.cs | 9 +- .../QuantityKindFactorMetaInfo.cs | 9 +- .../AutoGenMetaInfo/QuantityKindMetaInfo.cs | 14 +- .../AutoGenMetaInfo/RatioScaleMetaInfo.cs | 14 +- .../ReferenceDataLibraryMetaInfo.cs | 14 +- .../ReferenceSourceMetaInfo.cs | 14 +- .../AutoGenMetaInfo/ReferencerRuleMetaInfo.cs | 14 +- .../RelationalExpressionMetaInfo.cs | 9 +- .../AutoGenMetaInfo/RelationshipMetaInfo.cs | 9 +- .../RelationshipParameterValueMetaInfo.cs | 9 +- .../RequestForDeviationMetaInfo.cs | 9 +- .../RequestForWaiverMetaInfo.cs | 9 +- .../AutoGenMetaInfo/RequirementMetaInfo.cs | 14 +- .../RequirementsContainerMetaInfo.cs | 14 +- ...irementsContainerParameterValueMetaInfo.cs | 9 +- .../RequirementsGroupMetaInfo.cs | 14 +- .../RequirementsSpecificationMetaInfo.cs | 14 +- .../ReviewItemDiscrepancyMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs | 14 +- .../RuleVerificationListMetaInfo.cs | 14 +- .../RuleVerificationMetaInfo.cs | 9 +- .../AutoGenMetaInfo/RuleViolationMetaInfo.cs | 9 +- .../SampledFunctionParameterTypeMetaInfo.cs | 14 +- .../ScalarParameterTypeMetaInfo.cs | 14 +- .../ScaleReferenceQuantityValueMetaInfo.cs | 9 +- .../ScaleValueDefinitionMetaInfo.cs | 14 +- CDP4Common/AutoGenMetaInfo/SectionMetaInfo.cs | 9 +- .../AutoGenMetaInfo/SharedStyleMetaInfo.cs | 9 +- .../SimpleParameterValueMetaInfo.cs | 9 +- .../SimpleParameterizableThingMetaInfo.cs | 14 +- .../SimpleQuantityKindMetaInfo.cs | 14 +- .../AutoGenMetaInfo/SimpleUnitMetaInfo.cs | 14 +- .../SiteDirectoryDataAnnotationMetaInfo.cs | 9 +- ...SiteDirectoryDataDiscussionItemMetaInfo.cs | 9 +- .../AutoGenMetaInfo/SiteDirectoryMetaInfo.cs | 9 +- .../SiteDirectoryThingReferenceMetaInfo.cs | 9 +- .../AutoGenMetaInfo/SiteLogEntryMetaInfo.cs | 9 +- .../SiteReferenceDataLibraryMetaInfo.cs | 14 +- .../AutoGenMetaInfo/SolutionMetaInfo.cs | 9 +- .../SpecializedQuantityKindMetaInfo.cs | 14 +- .../StakeHolderValueMapMetaInfo.cs | 14 +- .../StakeHolderValueMapSettingsMetaInfo.cs | 9 +- .../AutoGenMetaInfo/StakeholderMetaInfo.cs | 14 +- .../StakeholderValueMetaInfo.cs | 14 +- .../TelephoneNumberMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs | 14 +- .../TextParameterTypeMetaInfo.cs | 14 +- .../AutoGenMetaInfo/TextualNoteMetaInfo.cs | 9 +- CDP4Common/AutoGenMetaInfo/ThingMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ThingReferenceMetaInfo.cs | 9 +- .../TimeOfDayParameterTypeMetaInfo.cs | 14 +- .../AutoGenMetaInfo/TopContainerMetaInfo.cs | 9 +- .../AutoGenMetaInfo/UnitFactorMetaInfo.cs | 9 +- .../AutoGenMetaInfo/UnitPrefixMetaInfo.cs | 14 +- .../AutoGenMetaInfo/UserPreferenceMetaInfo.cs | 9 +- .../UserRuleVerificationMetaInfo.cs | 9 +- .../AutoGenMetaInfo/ValueGroupMetaInfo.cs | 14 +- CDP4Common/AutoGenPoco/ArchitectureDiagram.cs | 261 ++++++++ CDP4Common/AutoGenPoco/ArchitectureElement.cs | 209 +++++++ CDP4Common/AutoGenPoco/ArrayParameterType.cs | 4 + CDP4Common/AutoGenPoco/Attachment.cs | 263 ++++++++ CDP4Common/AutoGenPoco/Behavior.cs | 257 ++++++++ CDP4Common/AutoGenPoco/BehavioralModelKind.cs | 66 ++ CDP4Common/AutoGenPoco/BehavioralParameter.cs | 255 ++++++++ .../AutoGenPoco/BehavioralParameterKind.cs | 51 ++ .../AutoGenPoco/BinaryRelationshipRule.cs | 4 + .../AutoGenPoco/BooleanParameterType.cs | 4 + CDP4Common/AutoGenPoco/Category.cs | 4 + CDP4Common/AutoGenPoco/ClassKind.cs | 35 ++ .../AutoGenPoco/CompoundParameterType.cs | 4 + CDP4Common/AutoGenPoco/Constant.cs | 4 + CDP4Common/AutoGenPoco/CyclicRatioScale.cs | 4 + CDP4Common/AutoGenPoco/DateParameterType.cs | 4 + .../AutoGenPoco/DateTimeParameterType.cs | 4 + CDP4Common/AutoGenPoco/DecompositionRule.cs | 4 + CDP4Common/AutoGenPoco/DefinedThing.cs | 12 + CDP4Common/AutoGenPoco/DerivedQuantityKind.cs | 4 + CDP4Common/AutoGenPoco/DerivedUnit.cs | 4 + CDP4Common/AutoGenPoco/DiagramCanvas.cs | 28 +- CDP4Common/AutoGenPoco/DiagramFrame.cs | 205 ++++++ CDP4Common/AutoGenPoco/DiagramObject.cs | 4 +- CDP4Common/AutoGenPoco/DiagramPort.cs | 205 ++++++ CDP4Common/AutoGenPoco/DomainOfExpertise.cs | 4 + .../AutoGenPoco/DomainOfExpertiseGroup.cs | 4 + CDP4Common/AutoGenPoco/ElementDefinition.cs | 20 + CDP4Common/AutoGenPoco/ElementUsage.cs | 4 + .../AutoGenPoco/EngineeringModelSetup.cs | 4 + .../AutoGenPoco/EnumerationParameterType.cs | 4 + .../AutoGenPoco/EnumerationValueDefinition.cs | 4 + CDP4Common/AutoGenPoco/FileType.cs | 4 + CDP4Common/AutoGenPoco/Glossary.cs | 4 + CDP4Common/AutoGenPoco/Goal.cs | 4 + CDP4Common/AutoGenPoco/IntervalScale.cs | 4 + .../AutoGenPoco/LinearConversionUnit.cs | 4 + CDP4Common/AutoGenPoco/LogarithmicScale.cs | 4 + .../AutoGenPoco/ModelReferenceDataLibrary.cs | 4 + .../AutoGenPoco/MultiRelationshipRule.cs | 4 + CDP4Common/AutoGenPoco/Option.cs | 4 + CDP4Common/AutoGenPoco/OrdinalScale.cs | 4 + .../AutoGenPoco/ParameterizedCategoryRule.cs | 4 + CDP4Common/AutoGenPoco/ParticipantRole.cs | 4 + CDP4Common/AutoGenPoco/PersonRole.cs | 4 + CDP4Common/AutoGenPoco/PossibleFiniteState.cs | 4 + .../AutoGenPoco/PossibleFiniteStateList.cs | 4 + CDP4Common/AutoGenPoco/PrefixedUnit.cs | 4 + CDP4Common/AutoGenPoco/PublicationState.cs | 56 ++ CDP4Common/AutoGenPoco/RatioScale.cs | 4 + CDP4Common/AutoGenPoco/ReferenceSource.cs | 4 + CDP4Common/AutoGenPoco/ReferencerRule.cs | 4 + CDP4Common/AutoGenPoco/Requirement.cs | 4 + CDP4Common/AutoGenPoco/RequirementsGroup.cs | 4 + .../AutoGenPoco/RequirementsSpecification.cs | 4 + .../AutoGenPoco/RuleVerificationList.cs | 4 + .../SampledFunctionParameterType.cs | 4 + .../AutoGenPoco/ScaleValueDefinition.cs | 4 + CDP4Common/AutoGenPoco/SimpleQuantityKind.cs | 4 + CDP4Common/AutoGenPoco/SimpleUnit.cs | 4 + .../AutoGenPoco/SiteReferenceDataLibrary.cs | 4 + .../AutoGenPoco/SpecializedQuantityKind.cs | 4 + CDP4Common/AutoGenPoco/StakeHolderValueMap.cs | 4 + CDP4Common/AutoGenPoco/Stakeholder.cs | 4 + CDP4Common/AutoGenPoco/StakeholderValue.cs | 4 + CDP4Common/AutoGenPoco/Term.cs | 4 + CDP4Common/AutoGenPoco/TextParameterType.cs | 4 + .../AutoGenPoco/TimeOfDayParameterType.cs | 4 + CDP4Common/AutoGenPoco/UnitPrefix.cs | 4 + CDP4Common/AutoGenPoco/ValueGroup.cs | 4 + .../AutoGenSentinel/SentinelThingProvider.cs | 11 +- .../ActionItemPropertyAccessor.cs | 2 +- .../ActualFiniteStateListPropertyAccessor.cs | 2 +- .../ActualFiniteStatePropertyAccessor.cs | 2 +- .../AliasPropertyAccessor.cs | 2 +- .../AndExpressionPropertyAccessor.cs | 2 +- .../ApprovalPropertyAccessor.cs | 2 +- .../ArchitectureDiagramPropertyAccessor.cs | 226 +++++++ .../ArchitectureElementPropertyAccessor.cs | 199 ++++++ .../ArrayParameterTypePropertyAccessor.cs | 6 +- .../AttachmentPropertyAccessor.cs | 244 ++++++++ .../BehaviorPropertyAccessor.cs | 270 ++++++++ .../BehavioralParameterPropertyAccessor.cs | 186 ++++++ .../BinaryNotePropertyAccessor.cs | 2 +- .../BinaryRelationshipPropertyAccessor.cs | 2 +- .../BinaryRelationshipRulePropertyAccessor.cs | 6 +- .../BookPropertyAccessor.cs | 2 +- .../BooleanExpressionPropertyAccessor.cs | 2 +- .../BooleanParameterTypePropertyAccessor.cs | 6 +- .../BoundsPropertyAccessor.cs | 2 +- ...BuiltInRuleVerificationPropertyAccessor.cs | 2 +- .../CategoryPropertyAccessor.cs | 6 +- .../ChangeProposalPropertyAccessor.cs | 2 +- .../ChangeRequestPropertyAccessor.cs | 2 +- .../CitationPropertyAccessor.cs | 2 +- .../ColorPropertyAccessor.cs | 2 +- .../CommonFileStorePropertyAccessor.cs | 2 +- .../CompoundParameterTypePropertyAccessor.cs | 6 +- .../ConstantPropertyAccessor.cs | 6 +- .../ContractChangeNoticePropertyAccessor.cs | 2 +- .../ContractDeviationPropertyAccessor.cs | 2 +- .../ConversionBasedUnitPropertyAccessor.cs | 4 +- .../CyclicRatioScalePropertyAccessor.cs | 6 +- .../DateParameterTypePropertyAccessor.cs | 6 +- .../DateTimeParameterTypePropertyAccessor.cs | 6 +- .../DecompositionRulePropertyAccessor.cs | 6 +- .../DefinedThingPropertyAccessor.cs | 82 ++- .../DefinitionPropertyAccessor.cs | 2 +- ...ParameterTypeAssignmentPropertyAccessor.cs | 2 +- .../DerivedQuantityKindPropertyAccessor.cs | 6 +- .../DerivedUnitPropertyAccessor.cs | 6 +- .../DiagramCanvasPropertyAccessor.cs | 14 +- .../DiagramEdgePropertyAccessor.cs | 2 +- ...DiagramElementContainerPropertyAccessor.cs | 2 +- .../DiagramElementThingPropertyAccessor.cs | 2 +- .../DiagramFramePropertyAccessor.cs | 189 ++++++ .../DiagramObjectPropertyAccessor.cs | 2 +- .../DiagramPortPropertyAccessor.cs | 189 ++++++ .../DiagramShapePropertyAccessor.cs | 2 +- .../DiagramThingBasePropertyAccessor.cs | 2 +- .../DiagrammingStylePropertyAccessor.cs | 2 +- .../DiscussionItemPropertyAccessor.cs | 2 +- .../DomainFileStorePropertyAccessor.cs | 2 +- .../DomainOfExpertiseGroupPropertyAccessor.cs | 6 +- .../DomainOfExpertisePropertyAccessor.cs | 6 +- .../ElementBasePropertyAccessor.cs | 4 +- .../ElementDefinitionPropertyAccessor.cs | 88 ++- .../ElementUsagePropertyAccessor.cs | 6 +- .../EmailAddressPropertyAccessor.cs | 2 +- ...ringModelDataAnnotationPropertyAccessor.cs | 2 +- ...ModelDataDiscussionItemPropertyAccessor.cs | 2 +- ...ngineeringModelDataNotePropertyAccessor.cs | 2 +- .../EngineeringModelPropertyAccessor.cs | 2 +- .../EngineeringModelSetupPropertyAccessor.cs | 6 +- ...numerationParameterTypePropertyAccessor.cs | 6 +- ...merationValueDefinitionPropertyAccessor.cs | 6 +- .../ExclusiveOrExpressionPropertyAccessor.cs | 2 +- .../ExternalIdentifierMapPropertyAccessor.cs | 2 +- .../FilePropertyAccessor.cs | 2 +- .../FileRevisionPropertyAccessor.cs | 2 +- .../FileStorePropertyAccessor.cs | 2 +- .../FileTypePropertyAccessor.cs | 6 +- .../FolderPropertyAccessor.cs | 2 +- .../GenericAnnotationPropertyAccessor.cs | 2 +- .../GlossaryPropertyAccessor.cs | 6 +- .../GoalPropertyAccessor.cs | 6 +- .../HyperLinkPropertyAccessor.cs | 2 +- .../IdCorrespondencePropertyAccessor.cs | 2 +- ...ParameterTypeAssignmentPropertyAccessor.cs | 2 +- .../IntervalScalePropertyAccessor.cs | 6 +- .../IterationPropertyAccessor.cs | 2 +- .../IterationSetupPropertyAccessor.cs | 2 +- .../LinearConversionUnitPropertyAccessor.cs | 6 +- .../LogEntryChangelogItemPropertyAccessor.cs | 2 +- .../LogarithmicScalePropertyAccessor.cs | 6 +- ...MappingToReferenceScalePropertyAccessor.cs | 2 +- .../MeasurementScalePropertyAccessor.cs | 4 +- .../MeasurementUnitPropertyAccessor.cs | 4 +- .../ModelLogEntryPropertyAccessor.cs | 2 +- ...delReferenceDataLibraryPropertyAccessor.cs | 6 +- ...ModellingAnnotationItemPropertyAccessor.cs | 2 +- ...ModellingThingReferencePropertyAccessor.cs | 2 +- .../MultiRelationshipPropertyAccessor.cs | 2 +- .../MultiRelationshipRulePropertyAccessor.cs | 6 +- .../NaturalLanguagePropertyAccessor.cs | 2 +- .../NestedElementPropertyAccessor.cs | 2 +- .../NestedParameterPropertyAccessor.cs | 2 +- .../NotExpressionPropertyAccessor.cs | 2 +- .../NotePropertyAccessor.cs | 2 +- .../OptionPropertyAccessor.cs | 6 +- .../OrExpressionPropertyAccessor.cs | 2 +- .../OrdinalScalePropertyAccessor.cs | 6 +- .../OrganizationPropertyAccessor.cs | 2 +- ...ganizationalParticipantPropertyAccessor.cs | 2 +- .../OwnedStylePropertyAccessor.cs | 2 +- .../PagePropertyAccessor.cs | 2 +- .../ParameterBasePropertyAccessor.cs | 2 +- .../ParameterGroupPropertyAccessor.cs | 2 +- ...ParameterOrOverrideBasePropertyAccessor.cs | 2 +- .../ParameterOverridePropertyAccessor.cs | 2 +- ...rameterOverrideValueSetPropertyAccessor.cs | 2 +- .../ParameterPropertyAccessor.cs | 2 +- .../ParameterSubscriptionPropertyAccessor.cs | 2 +- ...terSubscriptionValueSetPropertyAccessor.cs | 2 +- .../ParameterTypeComponentPropertyAccessor.cs | 2 +- .../ParameterTypePropertyAccessor.cs | 4 +- .../ParameterValuePropertyAccessor.cs | 2 +- .../ParameterValueSetBasePropertyAccessor.cs | 2 +- .../ParameterValueSetPropertyAccessor.cs | 2 +- ...rameterizedCategoryRulePropertyAccessor.cs | 6 +- .../ParametricConstraintPropertyAccessor.cs | 2 +- .../ParticipantPermissionPropertyAccessor.cs | 2 +- .../ParticipantPropertyAccessor.cs | 2 +- .../ParticipantRolePropertyAccessor.cs | 6 +- .../PersonPermissionPropertyAccessor.cs | 2 +- .../PersonPropertyAccessor.cs | 2 +- .../PersonRolePropertyAccessor.cs | 6 +- .../PointPropertyAccessor.cs | 2 +- ...PossibleFiniteStateListPropertyAccessor.cs | 6 +- .../PossibleFiniteStatePropertyAccessor.cs | 6 +- .../PrefixedUnitPropertyAccessor.cs | 6 +- .../PublicationPropertyAccessor.cs | 2 +- .../QuantityKindFactorPropertyAccessor.cs | 2 +- .../QuantityKindPropertyAccessor.cs | 4 +- .../RatioScalePropertyAccessor.cs | 6 +- .../ReferenceDataLibraryPropertyAccessor.cs | 4 +- .../ReferenceSourcePropertyAccessor.cs | 6 +- .../ReferencerRulePropertyAccessor.cs | 6 +- .../RelationalExpressionPropertyAccessor.cs | 2 +- ...ationshipParameterValuePropertyAccessor.cs | 2 +- .../RelationshipPropertyAccessor.cs | 2 +- .../RequestForDeviationPropertyAccessor.cs | 2 +- .../RequestForWaiverPropertyAccessor.cs | 2 +- .../RequirementPropertyAccessor.cs | 6 +- ...ContainerParameterValuePropertyAccessor.cs | 2 +- .../RequirementsContainerPropertyAccessor.cs | 4 +- .../RequirementsGroupPropertyAccessor.cs | 6 +- ...quirementsSpecificationPropertyAccessor.cs | 6 +- .../ReviewItemDiscrepancyPropertyAccessor.cs | 2 +- .../RulePropertyAccessor.cs | 4 +- .../RuleVerificationListPropertyAccessor.cs | 6 +- .../RuleVerificationPropertyAccessor.cs | 2 +- .../RuleViolationPropertyAccessor.cs | 2 +- ...edFunctionParameterTypePropertyAccessor.cs | 6 +- .../ScalarParameterTypePropertyAccessor.cs | 4 +- ...eReferenceQuantityValuePropertyAccessor.cs | 2 +- .../ScaleValueDefinitionPropertyAccessor.cs | 6 +- .../SectionPropertyAccessor.cs | 2 +- .../SharedStylePropertyAccessor.cs | 2 +- .../SimpleParameterValuePropertyAccessor.cs | 2 +- ...pleParameterizableThingPropertyAccessor.cs | 4 +- .../SimpleQuantityKindPropertyAccessor.cs | 6 +- .../SimpleUnitPropertyAccessor.cs | 6 +- ...DirectoryDataAnnotationPropertyAccessor.cs | 2 +- ...ctoryDataDiscussionItemPropertyAccessor.cs | 2 +- .../SiteDirectoryPropertyAccessor.cs | 2 +- ...DirectoryThingReferencePropertyAccessor.cs | 2 +- .../SiteLogEntryPropertyAccessor.cs | 2 +- ...iteReferenceDataLibraryPropertyAccessor.cs | 6 +- .../SolutionPropertyAccessor.cs | 2 +- ...SpecializedQuantityKindPropertyAccessor.cs | 6 +- .../StakeHolderValueMapPropertyAccessor.cs | 6 +- ...eHolderValueMapSettingsPropertyAccessor.cs | 2 +- .../StakeholderPropertyAccessor.cs | 6 +- .../StakeholderValuePropertyAccessor.cs | 6 +- .../TelephoneNumberPropertyAccessor.cs | 2 +- .../TermPropertyAccessor.cs | 6 +- .../TextParameterTypePropertyAccessor.cs | 6 +- .../TextualNotePropertyAccessor.cs | 2 +- .../ThingReferencePropertyAccessor.cs | 2 +- .../TimeOfDayParameterTypePropertyAccessor.cs | 6 +- .../TopContainerPropertyAccessor.cs | 2 +- .../UnitFactorPropertyAccessor.cs | 2 +- .../UnitPrefixPropertyAccessor.cs | 6 +- .../UserPreferencePropertyAccessor.cs | 2 +- .../UserRuleVerificationPropertyAccessor.cs | 2 +- .../ValueGroupPropertyAccessor.cs | 6 +- .../ActionItemResolver.cs | 11 +- .../ActualFiniteStateListResolver.cs | 11 +- .../ActualFiniteStateResolver.cs | 11 +- .../AutoGenDtoDeserializer/AliasResolver.cs | 11 +- .../AndExpressionResolver.cs | 11 +- .../ApprovalResolver.cs | 11 +- .../ArchitectureDiagramResolver.cs | 131 ++++ .../ArchitectureElementResolver.cs | 131 ++++ .../ArrayParameterTypeResolver.cs | 16 +- .../AttachmentResolver.cs | 106 ++++ .../BehaviorResolver.cs | 136 ++++ .../BehavioralParameterResolver.cs | 106 ++++ .../BinaryNoteResolver.cs | 11 +- .../BinaryRelationshipResolver.cs | 11 +- .../BinaryRelationshipRuleResolver.cs | 16 +- .../AutoGenDtoDeserializer/BookResolver.cs | 11 +- .../BooleanParameterTypeResolver.cs | 16 +- .../AutoGenDtoDeserializer/BoundsResolver.cs | 11 +- .../BuiltInRuleVerificationResolver.cs | 11 +- .../CategoryResolver.cs | 16 +- .../ChangeProposalResolver.cs | 11 +- .../ChangeRequestResolver.cs | 11 +- .../CitationResolver.cs | 11 +- .../AutoGenDtoDeserializer/ColorResolver.cs | 11 +- .../CommonFileStoreResolver.cs | 11 +- .../CompoundParameterTypeResolver.cs | 16 +- .../ConstantResolver.cs | 16 +- .../ContractChangeNoticeResolver.cs | 11 +- .../CyclicRatioScaleResolver.cs | 16 +- .../DateParameterTypeResolver.cs | 16 +- .../DateTimeParameterTypeResolver.cs | 16 +- .../DecompositionRuleResolver.cs | 16 +- .../DefinitionResolver.cs | 11 +- ...ependentParameterTypeAssignmentResolver.cs | 11 +- .../DerivedQuantityKindResolver.cs | 16 +- .../DerivedUnitResolver.cs | 16 +- .../DiagramCanvasResolver.cs | 21 +- .../DiagramEdgeResolver.cs | 11 +- .../DiagramFrameResolver.cs | 121 ++++ .../DiagramObjectResolver.cs | 11 +- .../DiagramPortResolver.cs | 121 ++++ .../DomainFileStoreResolver.cs | 11 +- .../DomainOfExpertiseGroupResolver.cs | 16 +- .../DomainOfExpertiseResolver.cs | 16 +- .../AutoGenDtoDeserializer/DtoFactory.cs | 16 +- .../ElementDefinitionResolver.cs | 21 +- .../ElementUsageResolver.cs | 16 +- .../EmailAddressResolver.cs | 11 +- ...ineeringModelDataDiscussionItemResolver.cs | 11 +- .../EngineeringModelDataNoteResolver.cs | 11 +- .../EngineeringModelResolver.cs | 11 +- .../EngineeringModelSetupResolver.cs | 16 +- .../EnumerationParameterTypeResolver.cs | 16 +- .../EnumerationValueDefinitionResolver.cs | 16 +- .../ExclusiveOrExpressionResolver.cs | 11 +- .../ExternalIdentifierMapResolver.cs | 11 +- .../AutoGenDtoDeserializer/FileResolver.cs | 11 +- .../FileRevisionResolver.cs | 11 +- .../FileTypeResolver.cs | 16 +- .../AutoGenDtoDeserializer/FolderResolver.cs | 11 +- .../GlossaryResolver.cs | 16 +- .../AutoGenDtoDeserializer/GoalResolver.cs | 16 +- .../HyperLinkResolver.cs | 11 +- .../IdCorrespondenceResolver.cs | 11 +- ...ependentParameterTypeAssignmentResolver.cs | 11 +- .../IntervalScaleResolver.cs | 16 +- .../IterationResolver.cs | 11 +- .../IterationSetupResolver.cs | 11 +- .../LinearConversionUnitResolver.cs | 16 +- .../LogEntryChangelogItemResolver.cs | 11 +- .../LogarithmicScaleResolver.cs | 16 +- .../MappingToReferenceScaleResolver.cs | 11 +- .../ModelLogEntryResolver.cs | 11 +- .../ModelReferenceDataLibraryResolver.cs | 16 +- .../ModellingThingReferenceResolver.cs | 11 +- .../MultiRelationshipResolver.cs | 11 +- .../MultiRelationshipRuleResolver.cs | 16 +- .../NaturalLanguageResolver.cs | 11 +- .../NestedElementResolver.cs | 11 +- .../NestedParameterResolver.cs | 11 +- .../NotExpressionResolver.cs | 11 +- .../AutoGenDtoDeserializer/OptionResolver.cs | 16 +- .../OrExpressionResolver.cs | 11 +- .../OrdinalScaleResolver.cs | 16 +- .../OrganizationResolver.cs | 11 +- .../OrganizationalParticipantResolver.cs | 11 +- .../OwnedStyleResolver.cs | 11 +- .../AutoGenDtoDeserializer/PageResolver.cs | 11 +- .../ParameterGroupResolver.cs | 11 +- .../ParameterOverrideResolver.cs | 11 +- .../ParameterOverrideValueSetResolver.cs | 11 +- .../ParameterResolver.cs | 11 +- .../ParameterSubscriptionResolver.cs | 11 +- .../ParameterSubscriptionValueSetResolver.cs | 11 +- .../ParameterTypeComponentResolver.cs | 11 +- .../ParameterValueSetResolver.cs | 11 +- .../ParameterizedCategoryRuleResolver.cs | 16 +- .../ParametricConstraintResolver.cs | 11 +- .../ParticipantPermissionResolver.cs | 11 +- .../ParticipantResolver.cs | 11 +- .../ParticipantRoleResolver.cs | 16 +- .../PersonPermissionResolver.cs | 11 +- .../AutoGenDtoDeserializer/PersonResolver.cs | 11 +- .../PersonRoleResolver.cs | 16 +- .../AutoGenDtoDeserializer/PointResolver.cs | 11 +- .../PossibleFiniteStateListResolver.cs | 16 +- .../PossibleFiniteStateResolver.cs | 16 +- .../PrefixedUnitResolver.cs | 16 +- .../PublicationResolver.cs | 11 +- .../QuantityKindFactorResolver.cs | 11 +- .../RatioScaleResolver.cs | 16 +- .../ReferenceSourceResolver.cs | 16 +- .../ReferencerRuleResolver.cs | 16 +- .../RelationalExpressionResolver.cs | 11 +- .../RelationshipParameterValueResolver.cs | 11 +- .../RequestForDeviationResolver.cs | 11 +- .../RequestForWaiverResolver.cs | 11 +- .../RequirementResolver.cs | 16 +- ...irementsContainerParameterValueResolver.cs | 11 +- .../RequirementsGroupResolver.cs | 16 +- .../RequirementsSpecificationResolver.cs | 16 +- .../ReviewItemDiscrepancyResolver.cs | 11 +- .../RuleVerificationListResolver.cs | 16 +- .../RuleViolationResolver.cs | 11 +- .../SampledFunctionParameterTypeResolver.cs | 16 +- .../ScaleReferenceQuantityValueResolver.cs | 11 +- .../ScaleValueDefinitionResolver.cs | 16 +- .../AutoGenDtoDeserializer/SectionResolver.cs | 11 +- .../SharedStyleResolver.cs | 11 +- .../SimpleParameterValueResolver.cs | 11 +- .../SimpleQuantityKindResolver.cs | 16 +- .../SimpleUnitResolver.cs | 16 +- .../SiteDirectoryDataAnnotationResolver.cs | 11 +- ...SiteDirectoryDataDiscussionItemResolver.cs | 11 +- .../SiteDirectoryResolver.cs | 11 +- .../SiteDirectoryThingReferenceResolver.cs | 11 +- .../SiteLogEntryResolver.cs | 11 +- .../SiteReferenceDataLibraryResolver.cs | 16 +- .../SolutionResolver.cs | 11 +- .../SpecializedQuantityKindResolver.cs | 16 +- .../StakeHolderValueMapResolver.cs | 16 +- .../StakeHolderValueMapSettingsResolver.cs | 11 +- .../StakeholderResolver.cs | 16 +- .../StakeholderValueResolver.cs | 16 +- .../TelephoneNumberResolver.cs | 11 +- .../AutoGenDtoDeserializer/TermResolver.cs | 16 +- .../TextParameterTypeResolver.cs | 16 +- .../TextualNoteResolver.cs | 11 +- .../TimeOfDayParameterTypeResolver.cs | 16 +- .../UnitFactorResolver.cs | 11 +- .../UnitPrefixResolver.cs | 16 +- .../UserPreferenceResolver.cs | 11 +- .../UserRuleVerificationResolver.cs | 11 +- .../ValueGroupResolver.cs | 16 +- .../ActionItemSerializer.cs | 13 +- .../ActualFiniteStateListSerializer.cs | 13 +- .../ActualFiniteStateSerializer.cs | 13 +- .../AutoGenDtoSerializer/AliasSerializer.cs | 13 +- .../AndExpressionSerializer.cs | 13 +- .../ApprovalSerializer.cs | 13 +- .../ArchitectureDiagramSerializer.cs | 129 ++++ .../ArchitectureElementSerializer.cs | 129 ++++ .../ArrayParameterTypeSerializer.cs | 15 +- .../AttachmentSerializer.cs | 119 ++++ .../BehaviorSerializer.cs | 131 ++++ .../BehavioralParameterSerializer.cs | 119 ++++ .../BinaryNoteSerializer.cs | 13 +- .../BinaryRelationshipRuleSerializer.cs | 15 +- .../BinaryRelationshipSerializer.cs | 13 +- .../AutoGenDtoSerializer/BookSerializer.cs | 13 +- .../BooleanParameterTypeSerializer.cs | 15 +- .../AutoGenDtoSerializer/BoundsSerializer.cs | 13 +- .../BuiltInRuleVerificationSerializer.cs | 13 +- .../CategorySerializer.cs | 15 +- .../ChangeProposalSerializer.cs | 13 +- .../ChangeRequestSerializer.cs | 13 +- .../CitationSerializer.cs | 13 +- .../AutoGenDtoSerializer/ColorSerializer.cs | 13 +- .../CommonFileStoreSerializer.cs | 13 +- .../CompoundParameterTypeSerializer.cs | 15 +- .../ConstantSerializer.cs | 15 +- .../ContractChangeNoticeSerializer.cs | 13 +- .../CyclicRatioScaleSerializer.cs | 15 +- .../DateParameterTypeSerializer.cs | 15 +- .../DateTimeParameterTypeSerializer.cs | 15 +- .../DecompositionRuleSerializer.cs | 15 +- .../DefinitionSerializer.cs | 13 +- ...endentParameterTypeAssignmentSerializer.cs | 13 +- .../DerivedQuantityKindSerializer.cs | 15 +- .../DerivedUnitSerializer.cs | 15 +- .../DiagramCanvasSerializer.cs | 17 +- .../DiagramEdgeSerializer.cs | 13 +- .../DiagramFrameSerializer.cs | 125 ++++ .../DiagramObjectSerializer.cs | 13 +- .../DiagramPortSerializer.cs | 125 ++++ .../DomainFileStoreSerializer.cs | 13 +- .../DomainOfExpertiseGroupSerializer.cs | 15 +- .../DomainOfExpertiseSerializer.cs | 15 +- .../ElementDefinitionSerializer.cs | 17 +- .../ElementUsageSerializer.cs | 15 +- .../EmailAddressSerializer.cs | 13 +- ...eeringModelDataDiscussionItemSerializer.cs | 13 +- .../EngineeringModelDataNoteSerializer.cs | 13 +- .../EngineeringModelSerializer.cs | 13 +- .../EngineeringModelSetupSerializer.cs | 15 +- .../EnumerationParameterTypeSerializer.cs | 15 +- .../EnumerationValueDefinitionSerializer.cs | 15 +- .../ExclusiveOrExpressionSerializer.cs | 13 +- .../ExternalIdentifierMapSerializer.cs | 13 +- .../FileRevisionSerializer.cs | 13 +- .../AutoGenDtoSerializer/FileSerializer.cs | 13 +- .../FileTypeSerializer.cs | 15 +- .../AutoGenDtoSerializer/FolderSerializer.cs | 13 +- .../GlossarySerializer.cs | 15 +- .../AutoGenDtoSerializer/GoalSerializer.cs | 15 +- .../HyperLinkSerializer.cs | 13 +- .../IdCorrespondenceSerializer.cs | 13 +- ...endentParameterTypeAssignmentSerializer.cs | 13 +- .../IntervalScaleSerializer.cs | 15 +- .../IterationSerializer.cs | 13 +- .../IterationSetupSerializer.cs | 13 +- .../LinearConversionUnitSerializer.cs | 15 +- .../LogEntryChangelogItemSerializer.cs | 13 +- .../LogarithmicScaleSerializer.cs | 15 +- .../MappingToReferenceScaleSerializer.cs | 13 +- .../ModelLogEntrySerializer.cs | 13 +- .../ModelReferenceDataLibrarySerializer.cs | 15 +- .../ModellingThingReferenceSerializer.cs | 13 +- .../MultiRelationshipRuleSerializer.cs | 15 +- .../MultiRelationshipSerializer.cs | 13 +- .../NaturalLanguageSerializer.cs | 13 +- .../NestedElementSerializer.cs | 13 +- .../NestedParameterSerializer.cs | 13 +- .../NotExpressionSerializer.cs | 13 +- .../AutoGenDtoSerializer/OptionSerializer.cs | 15 +- .../OrExpressionSerializer.cs | 13 +- .../OrdinalScaleSerializer.cs | 15 +- .../OrganizationSerializer.cs | 13 +- .../OrganizationalParticipantSerializer.cs | 13 +- .../OwnedStyleSerializer.cs | 13 +- .../AutoGenDtoSerializer/PageSerializer.cs | 13 +- .../ParameterGroupSerializer.cs | 13 +- .../ParameterOverrideSerializer.cs | 13 +- .../ParameterOverrideValueSetSerializer.cs | 13 +- .../ParameterSerializer.cs | 13 +- .../ParameterSubscriptionSerializer.cs | 13 +- ...ParameterSubscriptionValueSetSerializer.cs | 13 +- .../ParameterTypeComponentSerializer.cs | 13 +- .../ParameterValueSetSerializer.cs | 13 +- .../ParameterizedCategoryRuleSerializer.cs | 15 +- .../ParametricConstraintSerializer.cs | 13 +- .../ParticipantPermissionSerializer.cs | 13 +- .../ParticipantRoleSerializer.cs | 15 +- .../ParticipantSerializer.cs | 13 +- .../PersonPermissionSerializer.cs | 13 +- .../PersonRoleSerializer.cs | 15 +- .../AutoGenDtoSerializer/PersonSerializer.cs | 13 +- .../AutoGenDtoSerializer/PointSerializer.cs | 13 +- .../PossibleFiniteStateListSerializer.cs | 15 +- .../PossibleFiniteStateSerializer.cs | 15 +- .../PrefixedUnitSerializer.cs | 15 +- .../PublicationSerializer.cs | 13 +- .../QuantityKindFactorSerializer.cs | 13 +- .../RatioScaleSerializer.cs | 15 +- .../ReferenceSourceSerializer.cs | 15 +- .../ReferencerRuleSerializer.cs | 15 +- .../RelationalExpressionSerializer.cs | 13 +- .../RelationshipParameterValueSerializer.cs | 13 +- .../RequestForDeviationSerializer.cs | 13 +- .../RequestForWaiverSerializer.cs | 13 +- .../RequirementSerializer.cs | 15 +- ...ementsContainerParameterValueSerializer.cs | 13 +- .../RequirementsGroupSerializer.cs | 15 +- .../RequirementsSpecificationSerializer.cs | 15 +- .../ReviewItemDiscrepancySerializer.cs | 13 +- .../RuleVerificationListSerializer.cs | 15 +- .../RuleViolationSerializer.cs | 13 +- .../SampledFunctionParameterTypeSerializer.cs | 15 +- .../ScaleReferenceQuantityValueSerializer.cs | 13 +- .../ScaleValueDefinitionSerializer.cs | 15 +- .../AutoGenDtoSerializer/SectionSerializer.cs | 13 +- .../SerializerProvider.cs | 18 +- .../SharedStyleSerializer.cs | 13 +- .../SimpleParameterValueSerializer.cs | 13 +- .../SimpleQuantityKindSerializer.cs | 15 +- .../SimpleUnitSerializer.cs | 15 +- .../SiteDirectoryDataAnnotationSerializer.cs | 13 +- ...teDirectoryDataDiscussionItemSerializer.cs | 13 +- .../SiteDirectorySerializer.cs | 13 +- .../SiteDirectoryThingReferenceSerializer.cs | 13 +- .../SiteLogEntrySerializer.cs | 13 +- .../SiteReferenceDataLibrarySerializer.cs | 15 +- .../SolutionSerializer.cs | 13 +- .../SpecializedQuantityKindSerializer.cs | 15 +- .../StakeHolderValueMapSerializer.cs | 15 +- .../StakeHolderValueMapSettingsSerializer.cs | 13 +- .../StakeholderSerializer.cs | 15 +- .../StakeholderValueSerializer.cs | 15 +- .../TelephoneNumberSerializer.cs | 13 +- .../AutoGenDtoSerializer/TermSerializer.cs | 15 +- .../TextParameterTypeSerializer.cs | 15 +- .../TextualNoteSerializer.cs | 13 +- .../TimeOfDayParameterTypeSerializer.cs | 15 +- .../UnitFactorSerializer.cs | 13 +- .../UnitPrefixSerializer.cs | 15 +- .../UserPreferenceSerializer.cs | 13 +- .../UserRuleVerificationSerializer.cs | 13 +- .../ValueGroupSerializer.cs | 15 +- .../ActionItemMessagePackFormatter.cs | 2 +- ...tualFiniteStateListMessagePackFormatter.cs | 2 +- .../ActualFiniteStateMessagePackFormatter.cs | 2 +- .../AliasMessagePackFormatter.cs | 2 +- .../AndExpressionMessagePackFormatter.cs | 2 +- .../ApprovalMessagePackFormatter.cs | 2 +- ...ArchitectureDiagramMessagePackFormatter.cs | 276 ++++++++ ...ArchitectureElementMessagePackFormatter.cs | 298 +++++++++ .../ArrayParameterTypeMessagePackFormatter.cs | 79 ++- .../AttachmentMessagePackFormatter.cs | 229 +++++++ .../BehaviorMessagePackFormatter.cs | 291 +++++++++ ...BehavioralParameterMessagePackFormatter.cs | 221 +++++++ .../BinaryNoteMessagePackFormatter.cs | 2 +- .../BinaryRelationshipMessagePackFormatter.cs | 2 +- ...aryRelationshipRuleMessagePackFormatter.cs | 75 ++- .../BookMessagePackFormatter.cs | 2 +- ...ooleanParameterTypeMessagePackFormatter.cs | 63 +- .../BoundsMessagePackFormatter.cs | 2 +- ...tInRuleVerificationMessagePackFormatter.cs | 2 +- .../CategoryMessagePackFormatter.cs | 67 +- .../ChangeProposalMessagePackFormatter.cs | 2 +- .../ChangeRequestMessagePackFormatter.cs | 2 +- .../CitationMessagePackFormatter.cs | 2 +- .../ColorMessagePackFormatter.cs | 2 +- .../CommonFileStoreMessagePackFormatter.cs | 2 +- ...mpoundParameterTypeMessagePackFormatter.cs | 71 ++- .../ConstantMessagePackFormatter.cs | 71 ++- ...ontractChangeNoticeMessagePackFormatter.cs | 2 +- .../CyclicRatioScaleMessagePackFormatter.cs | 99 +-- .../DateParameterTypeMessagePackFormatter.cs | 63 +- ...teTimeParameterTypeMessagePackFormatter.cs | 63 +- .../DecompositionRuleMessagePackFormatter.cs | 71 ++- .../DefinitionMessagePackFormatter.cs | 2 +- ...meterTypeAssignmentMessagePackFormatter.cs | 2 +- ...DerivedQuantityKindMessagePackFormatter.cs | 79 ++- .../DerivedUnitMessagePackFormatter.cs | 59 +- .../DiagramCanvasMessagePackFormatter.cs | 40 +- .../DiagramEdgeMessagePackFormatter.cs | 2 +- .../DiagramFrameMessagePackFormatter.cs | 288 +++++++++ .../DiagramObjectMessagePackFormatter.cs | 2 +- .../DiagramPortMessagePackFormatter.cs | 288 +++++++++ .../DomainFileStoreMessagePackFormatter.cs | 2 +- ...ainOfExpertiseGroupMessagePackFormatter.cs | 59 +- .../DomainOfExpertiseMessagePackFormatter.cs | 59 +- .../ElementDefinitionMessagePackFormatter.cs | 92 ++- .../ElementUsageMessagePackFormatter.cs | 75 ++- .../EmailAddressMessagePackFormatter.cs | 2 +- ...lDataDiscussionItemMessagePackFormatter.cs | 2 +- ...eeringModelDataNoteMessagePackFormatter.cs | 2 +- .../EngineeringModelMessagePackFormatter.cs | 2 +- ...gineeringModelSetupMessagePackFormatter.cs | 87 +-- ...rationParameterTypeMessagePackFormatter.cs | 67 +- ...tionValueDefinitionMessagePackFormatter.cs | 51 +- ...clusiveOrExpressionMessagePackFormatter.cs | 2 +- ...ternalIdentifierMapMessagePackFormatter.cs | 2 +- .../FileMessagePackFormatter.cs | 2 +- .../FileRevisionMessagePackFormatter.cs | 2 +- .../FileTypeMessagePackFormatter.cs | 63 +- .../FolderMessagePackFormatter.cs | 2 +- .../GlossaryMessagePackFormatter.cs | 63 +- .../GoalMessagePackFormatter.cs | 55 +- .../HyperLinkMessagePackFormatter.cs | 2 +- .../IdCorrespondenceMessagePackFormatter.cs | 2 +- ...meterTypeAssignmentMessagePackFormatter.cs | 2 +- .../IntervalScaleMessagePackFormatter.cs | 95 +-- .../IterationMessagePackFormatter.cs | 2 +- .../IterationSetupMessagePackFormatter.cs | 2 +- ...inearConversionUnitMessagePackFormatter.cs | 63 +- ...gEntryChangelogItemMessagePackFormatter.cs | 2 +- .../LogarithmicScaleMessagePackFormatter.cs | 115 ++-- ...ingToReferenceScaleMessagePackFormatter.cs | 2 +- .../ModelLogEntryMessagePackFormatter.cs | 2 +- ...eferenceDataLibraryMessagePackFormatter.cs | 103 +-- ...llingThingReferenceMessagePackFormatter.cs | 2 +- .../MultiRelationshipMessagePackFormatter.cs | 2 +- ...ltiRelationshipRuleMessagePackFormatter.cs | 71 ++- .../NaturalLanguageMessagePackFormatter.cs | 2 +- .../NestedElementMessagePackFormatter.cs | 2 +- .../NestedParameterMessagePackFormatter.cs | 2 +- .../NotExpressionMessagePackFormatter.cs | 2 +- .../OptionMessagePackFormatter.cs | 59 +- .../OrExpressionMessagePackFormatter.cs | 2 +- .../OrdinalScaleMessagePackFormatter.cs | 99 +-- .../OrganizationMessagePackFormatter.cs | 2 +- ...zationalParticipantMessagePackFormatter.cs | 2 +- .../OwnedStyleMessagePackFormatter.cs | 2 +- .../PageMessagePackFormatter.cs | 2 +- .../ParameterGroupMessagePackFormatter.cs | 2 +- .../ParameterMessagePackFormatter.cs | 2 +- .../ParameterOverrideMessagePackFormatter.cs | 2 +- ...terOverrideValueSetMessagePackFormatter.cs | 2 +- ...rameterSubscriptionMessagePackFormatter.cs | 2 +- ...ubscriptionValueSetMessagePackFormatter.cs | 2 +- ...ameterTypeComponentMessagePackFormatter.cs | 2 +- .../ParameterValueSetMessagePackFormatter.cs | 2 +- ...terizedCategoryRuleMessagePackFormatter.cs | 63 +- ...arametricConstraintMessagePackFormatter.cs | 2 +- .../ParticipantMessagePackFormatter.cs | 2 +- ...rticipantPermissionMessagePackFormatter.cs | 2 +- .../ParticipantRoleMessagePackFormatter.cs | 59 +- .../PersonMessagePackFormatter.cs | 2 +- .../PersonPermissionMessagePackFormatter.cs | 2 +- .../PersonRoleMessagePackFormatter.cs | 59 +- .../PointMessagePackFormatter.cs | 2 +- ...ibleFiniteStateListMessagePackFormatter.cs | 67 +- ...PossibleFiniteStateMessagePackFormatter.cs | 51 +- .../PrefixedUnitMessagePackFormatter.cs | 55 +- .../PublicationMessagePackFormatter.cs | 2 +- .../QuantityKindFactorMessagePackFormatter.cs | 2 +- .../RatioScaleMessagePackFormatter.cs | 95 +-- .../ReferenceSourceMessagePackFormatter.cs | 87 +-- .../ReferencerRuleMessagePackFormatter.cs | 71 ++- ...elationalExpressionMessagePackFormatter.cs | 2 +- ...nshipParameterValueMessagePackFormatter.cs | 2 +- ...RequestForDeviationMessagePackFormatter.cs | 2 +- .../RequestForWaiverMessagePackFormatter.cs | 2 +- .../RequirementMessagePackFormatter.cs | 75 ++- ...ainerParameterValueMessagePackFormatter.cs | 2 +- .../RequirementsGroupMessagePackFormatter.cs | 67 +- ...ementsSpecificationMessagePackFormatter.cs | 75 ++- ...viewItemDiscrepancyMessagePackFormatter.cs | 2 +- ...uleVerificationListMessagePackFormatter.cs | 59 +- .../RuleViolationMessagePackFormatter.cs | 2 +- ...nctionParameterTypeMessagePackFormatter.cs | 67 +- ...erenceQuantityValueMessagePackFormatter.cs | 2 +- ...caleValueDefinitionMessagePackFormatter.cs | 55 +- .../SectionMessagePackFormatter.cs | 2 +- .../SharedStyleMessagePackFormatter.cs | 2 +- ...impleParameterValueMessagePackFormatter.cs | 2 +- .../SimpleQuantityKindMessagePackFormatter.cs | 75 ++- .../SimpleUnitMessagePackFormatter.cs | 55 +- ...ctoryDataAnnotationMessagePackFormatter.cs | 2 +- ...yDataDiscussionItemMessagePackFormatter.cs | 2 +- .../SiteDirectoryMessagePackFormatter.cs | 2 +- ...ctoryThingReferenceMessagePackFormatter.cs | 2 +- .../SiteLogEntryMessagePackFormatter.cs | 2 +- ...eferenceDataLibraryMessagePackFormatter.cs | 107 ++-- .../SolutionMessagePackFormatter.cs | 2 +- ...ializedQuantityKindMessagePackFormatter.cs | 79 ++- ...StakeHolderValueMapMessagePackFormatter.cs | 75 ++- ...derValueMapSettingsMessagePackFormatter.cs | 2 +- .../StakeholderMessagePackFormatter.cs | 59 +- .../StakeholderValueMessagePackFormatter.cs | 55 +- .../TelephoneNumberMessagePackFormatter.cs | 2 +- .../TermMessagePackFormatter.cs | 55 +- .../TextParameterTypeMessagePackFormatter.cs | 63 +- .../TextualNoteMessagePackFormatter.cs | 2 +- ...eOfDayParameterTypeMessagePackFormatter.cs | 63 +- .../UnitFactorMessagePackFormatter.cs | 2 +- .../UnitPrefixMessagePackFormatter.cs | 59 +- .../UserPreferenceMessagePackFormatter.cs | 2 +- ...serRuleVerificationMessagePackFormatter.cs | 2 +- .../ValueGroupMessagePackFormatter.cs | 55 +- .../AutoGenPayload/Payload.cs | 48 +- .../AutoGenPayload/PayloadFactory.cs | 274 ++++---- .../PayloadMessagePackFormatter.cs | 114 +++- .../ThingResolverGetFormatterHelper.cs | 9 +- 1334 files changed, 26882 insertions(+), 6680 deletions(-) create mode 100644 CDP4Common/AutoGenDto/ArchitectureDiagram.cs create mode 100644 CDP4Common/AutoGenDto/ArchitectureElement.cs create mode 100644 CDP4Common/AutoGenDto/Attachment.cs create mode 100644 CDP4Common/AutoGenDto/Behavior.cs create mode 100644 CDP4Common/AutoGenDto/BehavioralParameter.cs create mode 100644 CDP4Common/AutoGenDto/DiagramFrame.cs create mode 100644 CDP4Common/AutoGenDto/DiagramPort.cs create mode 100644 CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs create mode 100644 CDP4Common/AutoGenEquatable/ArchitectureElementEquatable.cs create mode 100644 CDP4Common/AutoGenEquatable/AttachmentEquatable.cs create mode 100644 CDP4Common/AutoGenEquatable/BehaviorEquatable.cs create mode 100644 CDP4Common/AutoGenEquatable/BehavioralParameterEquatable.cs create mode 100644 CDP4Common/AutoGenEquatable/DiagramFrameEquatable.cs create mode 100644 CDP4Common/AutoGenEquatable/DiagramPortEquatable.cs create mode 100644 CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/ArchitectureElementMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/AttachmentMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/BehavioralParameterMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/DiagramFrameMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/DiagramPortMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/IArchitectureDiagramMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/IArchitectureElementMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/IAttachmentMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/IBehaviorMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/IBehavioralParameterMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/IDiagramFrameMetaInfo.cs create mode 100644 CDP4Common/AutoGenMetaInfo/IDiagramPortMetaInfo.cs create mode 100644 CDP4Common/AutoGenPoco/ArchitectureDiagram.cs create mode 100644 CDP4Common/AutoGenPoco/ArchitectureElement.cs create mode 100644 CDP4Common/AutoGenPoco/Attachment.cs create mode 100644 CDP4Common/AutoGenPoco/Behavior.cs create mode 100644 CDP4Common/AutoGenPoco/BehavioralModelKind.cs create mode 100644 CDP4Common/AutoGenPoco/BehavioralParameter.cs create mode 100644 CDP4Common/AutoGenPoco/BehavioralParameterKind.cs create mode 100644 CDP4Common/AutoGenPoco/DiagramFrame.cs create mode 100644 CDP4Common/AutoGenPoco/DiagramPort.cs create mode 100644 CDP4Common/AutoGenPoco/PublicationState.cs create mode 100644 CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs create mode 100644 CDP4Common/AutoGenThingPropertyAccessor/ArchitectureElementPropertyAccessor.cs create mode 100644 CDP4Common/AutoGenThingPropertyAccessor/AttachmentPropertyAccessor.cs create mode 100644 CDP4Common/AutoGenThingPropertyAccessor/BehaviorPropertyAccessor.cs create mode 100644 CDP4Common/AutoGenThingPropertyAccessor/BehavioralParameterPropertyAccessor.cs create mode 100644 CDP4Common/AutoGenThingPropertyAccessor/DiagramFramePropertyAccessor.cs create mode 100644 CDP4Common/AutoGenThingPropertyAccessor/DiagramPortPropertyAccessor.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureElementResolver.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoDeserializer/AttachmentResolver.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoDeserializer/BehaviorResolver.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoDeserializer/BehavioralParameterResolver.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramFrameResolver.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramPortResolver.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureElementSerializer.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoSerializer/AttachmentSerializer.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoSerializer/BehaviorSerializer.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoSerializer/BehavioralParameterSerializer.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoSerializer/DiagramFrameSerializer.cs create mode 100644 CDP4JsonSerializer/AutoGenDtoSerializer/DiagramPortSerializer.cs create mode 100644 CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs create mode 100644 CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureElementMessagePackFormatter.cs create mode 100644 CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AttachmentMessagePackFormatter.cs create mode 100644 CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehaviorMessagePackFormatter.cs create mode 100644 CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehavioralParameterMessagePackFormatter.cs create mode 100644 CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramFrameMessagePackFormatter.cs create mode 100644 CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramPortMessagePackFormatter.cs diff --git a/CDP4Common/AutoGenDto/ArchitectureDiagram.cs b/CDP4Common/AutoGenDto/ArchitectureDiagram.cs new file mode 100644 index 000000000..456739c0d --- /dev/null +++ b/CDP4Common/AutoGenDto/ArchitectureDiagram.cs @@ -0,0 +1,395 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DTO +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Xml.Serialization; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Data Transfer Object representation of the class. + /// + [DataContract] + [CDPVersion("1.4.0")] + [Container(typeof(Iteration), "DiagramCanvas")] + public partial class ArchitectureDiagram : DiagramCanvas, IOwnedThing + { + /// + /// Initializes a new instance of the class. + /// + public ArchitectureDiagram() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The revision number. + /// + public ArchitectureDiagram(Guid iid, int rev) : base(iid: iid, rev: rev) + { + } + + /// + /// Gets or sets the unique identifier of the referenced Owner. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public Guid Owner { get; set; } + + /// + /// Gets or sets the unique identifier of the referenced TopArchitectureElement. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: true, isPersistent: true)] + [DataMember] + public Guid? TopArchitectureElement { get; set; } + + /// + /// Gets the route for the current . + /// + public override string Route + { + get { return this.ComputedRoute(); } + } + + /// + /// Get all Reference Properties by their Name and id's of instance values + /// + /// A dictionary of string (Name) and a collections of Guid's (id's of instance values) + public override IDictionary> GetReferenceProperties() + { + var dictionary = new Dictionary>(); + + dictionary.Add("Bounds", this.Bounds); + + dictionary.Add("DiagramElement", this.DiagramElement); + + dictionary.Add("ExcludedDomain", this.ExcludedDomain); + + dictionary.Add("ExcludedPerson", this.ExcludedPerson); + + if (this.Owner != null) + { + dictionary.Add("Owner", new [] { this.Owner }); + } + + if (this.TopArchitectureElement != null) + { + dictionary.Add("TopArchitectureElement", new [] { this.TopArchitectureElement.Value }); + } + + return dictionary; + } + + /// + /// Tries to remove references to id's if they exist in a collection of id's (Guid's) + /// + /// The collection of Guids to remove references for. + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferences(IEnumerable ids, out List errors) + { + errors = new List(); + var referencedProperties = this.GetReferenceProperties(); + var addModelErrors = !ids.Contains(this.Iid); + var result = true; + + foreach (var id in ids) + { + var foundProperty = referencedProperties.Where(x => x.Value.Contains(id)).ToList(); + + if (foundProperty.Any()) + { + foreach (var kvp in foundProperty) + { + switch (kvp.Key) + { + case "Bounds": + this.Bounds.Remove(id); + break; + + case "DiagramElement": + this.DiagramElement.Remove(id); + break; + + case "ExcludedDomain": + this.ExcludedDomain.Remove(id); + break; + + case "ExcludedPerson": + this.ExcludedPerson.Remove(id); + break; + + case "Owner": + if (addModelErrors) + { + errors.Add($"Removed reference '{id}' from Owner property results in inconsistent ArchitectureDiagram."); + result = false; + } + break; + + case "TopArchitectureElement": + this.TopArchitectureElement = null; + break; + } + } + } + } + + return result; + } + + /// + /// Tries to remove references to id's if they don't exist in a collection of id's (Guid's) + /// + /// The collection of Guids + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List errors) + { + errors = new List(); + var result = true; + + foreach (var referencedProperty in this.GetReferenceProperties()) + { + switch (referencedProperty.Key) + { + case "Bounds": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.Bounds.Remove(toBeRemoved); + } + break; + + case "DiagramElement": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.DiagramElement.Remove(toBeRemoved); + } + break; + + case "ExcludedDomain": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedDomain.Remove(toBeRemoved); + } + break; + + case "ExcludedPerson": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedPerson.Remove(toBeRemoved); + } + break; + + case "Owner": + if (referencedProperty.Value.Except(ids).Any()) + { + errors.Add($"Removed reference '{referencedProperty.Key}' from Owner property results in inconsistent ArchitectureDiagram."); + result = false; + } + break; + + case "TopArchitectureElement": + if (referencedProperty.Value.Except(ids).Any()) + { + this.TopArchitectureElement = null; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to any of the id's in a collection of id's (Guid's) + /// + /// The collection of Guids to search for. + /// True is any of the id's in is found in this instance's reference properties. + public override bool HasMandatoryReferenceToAny(IEnumerable ids) + { + var result = false; + + if (!ids.Any()) + { + return false; + } + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + case "Owner": + if (ids.Intersect(kvp.Value).Any()) + { + result = true; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to an id that cannot be found in the id's in a collection of id's (Guid's) + /// + /// The HashSet of Guids to search for. + /// True is the id in this instance's mandatory reference properties is not found in in . + public override bool HasMandatoryReferenceNotIn(HashSet ids) + { + var result = false; + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + case "Owner": + if (kvp.Value.Except(ids).Any()) + { + result = true; + } + break; + } + } + + return result; + } + + /// + /// Instantiate a from a + /// + /// The cache that stores all the s. + /// The of the . + /// A new + public override CommonData.Thing InstantiatePoco(ConcurrentDictionary> cache, Uri uri) + { + return new CDP4Common.DiagramData.ArchitectureDiagram(this.Iid, cache, uri); + } + + /// + /// Resolves the properties of a copied based on the original and a collection of copied . + /// + /// The original . + /// The map containig all instance of copied s with their original. + public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary originalCopyMap) + { + var original = originalThing as ArchitectureDiagram; + if (original == null) + { + throw new InvalidOperationException("The originalThing cannot be null or is of the incorrect type"); + } + + foreach (var guid in original.Bounds) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Bounds.Add(copy.Value.Iid); + } + + this.CreatedOn = original.CreatedOn; + + this.Description = original.Description; + + foreach (var guid in original.DiagramElement) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.DiagramElement.Add(copy.Value.Iid); + } + + foreach (var guid in original.ExcludedDomain) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedDomain.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.ExcludedPerson) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedPerson.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + this.ModifiedOn = original.ModifiedOn; + + this.Name = original.Name; + + var copyOwner = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.Owner); + this.Owner = copyOwner.Value == null ? original.Owner : copyOwner.Value.Iid; + + this.PublicationState = original.PublicationState; + + this.ThingPreference = original.ThingPreference; + + var copyTopArchitectureElement = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.TopArchitectureElement); + this.TopArchitectureElement = copyTopArchitectureElement.Value == null ? original.TopArchitectureElement : copyTopArchitectureElement.Value.Iid; + } + + /// + /// Resolves the references of a copied based on a original to copy map. + /// + /// The map containig all instance of copied s with their original. + /// True if a modification was done in the process of this method. + public override bool ResolveCopyReference(IReadOnlyDictionary originalCopyMap) + { + var hasChanges = false; + + return hasChanges; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenDto/ArchitectureElement.cs b/CDP4Common/AutoGenDto/ArchitectureElement.cs new file mode 100644 index 000000000..3173f6469 --- /dev/null +++ b/CDP4Common/AutoGenDto/ArchitectureElement.cs @@ -0,0 +1,386 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DTO +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Xml.Serialization; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Data Transfer Object representation of the class. + /// + [DataContract] + [CDPVersion("1.4.0")] + [Container(typeof(DiagramElementContainer), "DiagramElement")] + public partial class ArchitectureElement : DiagramObject + { + /// + /// Initializes a new instance of the class. + /// + public ArchitectureElement() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The revision number. + /// + public ArchitectureElement(Guid iid, int rev) : base(iid: iid, rev: rev) + { + } + + /// + /// Gets the route for the current . + /// + public override string Route + { + get { return this.ComputedRoute(); } + } + + /// + /// Get all Reference Properties by their Name and id's of instance values + /// + /// A dictionary of string (Name) and a collections of Guid's (id's of instance values) + public override IDictionary> GetReferenceProperties() + { + var dictionary = new Dictionary>(); + + dictionary.Add("Bounds", this.Bounds); + + if (this.DepictedThing != null) + { + dictionary.Add("DepictedThing", new [] { this.DepictedThing.Value }); + } + + dictionary.Add("DiagramElement", this.DiagramElement); + + dictionary.Add("ExcludedDomain", this.ExcludedDomain); + + dictionary.Add("ExcludedPerson", this.ExcludedPerson); + + dictionary.Add("LocalStyle", this.LocalStyle); + + if (this.SharedStyle != null) + { + dictionary.Add("SharedStyle", new [] { this.SharedStyle.Value }); + } + + return dictionary; + } + + /// + /// Tries to remove references to id's if they exist in a collection of id's (Guid's) + /// + /// The collection of Guids to remove references for. + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferences(IEnumerable ids, out List errors) + { + errors = new List(); + var referencedProperties = this.GetReferenceProperties(); + var addModelErrors = !ids.Contains(this.Iid); + var result = true; + + foreach (var id in ids) + { + var foundProperty = referencedProperties.Where(x => x.Value.Contains(id)).ToList(); + + if (foundProperty.Any()) + { + foreach (var kvp in foundProperty) + { + switch (kvp.Key) + { + case "Bounds": + this.Bounds.Remove(id); + break; + + case "DepictedThing": + this.DepictedThing = null; + break; + + case "DiagramElement": + this.DiagramElement.Remove(id); + break; + + case "ExcludedDomain": + this.ExcludedDomain.Remove(id); + break; + + case "ExcludedPerson": + this.ExcludedPerson.Remove(id); + break; + + case "LocalStyle": + this.LocalStyle.Remove(id); + break; + + case "SharedStyle": + this.SharedStyle = null; + break; + } + } + } + } + + return result; + } + + /// + /// Tries to remove references to id's if they don't exist in a collection of id's (Guid's) + /// + /// The collection of Guids + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List errors) + { + errors = new List(); + var result = true; + + foreach (var referencedProperty in this.GetReferenceProperties()) + { + switch (referencedProperty.Key) + { + case "Bounds": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.Bounds.Remove(toBeRemoved); + } + break; + + case "DepictedThing": + if (referencedProperty.Value.Except(ids).Any()) + { + this.DepictedThing = null; + } + break; + + case "DiagramElement": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.DiagramElement.Remove(toBeRemoved); + } + break; + + case "ExcludedDomain": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedDomain.Remove(toBeRemoved); + } + break; + + case "ExcludedPerson": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedPerson.Remove(toBeRemoved); + } + break; + + case "LocalStyle": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.LocalStyle.Remove(toBeRemoved); + } + break; + + case "SharedStyle": + if (referencedProperty.Value.Except(ids).Any()) + { + this.SharedStyle = null; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to any of the id's in a collection of id's (Guid's) + /// + /// The collection of Guids to search for. + /// True is any of the id's in is found in this instance's reference properties. + public override bool HasMandatoryReferenceToAny(IEnumerable ids) + { + var result = false; + + if (!ids.Any()) + { + return false; + } + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to an id that cannot be found in the id's in a collection of id's (Guid's) + /// + /// The HashSet of Guids to search for. + /// True is the id in this instance's mandatory reference properties is not found in in . + public override bool HasMandatoryReferenceNotIn(HashSet ids) + { + var result = false; + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Instantiate a from a + /// + /// The cache that stores all the s. + /// The of the . + /// A new + public override CommonData.Thing InstantiatePoco(ConcurrentDictionary> cache, Uri uri) + { + return new CDP4Common.DiagramData.ArchitectureElement(this.Iid, cache, uri); + } + + /// + /// Resolves the properties of a copied based on the original and a collection of copied . + /// + /// The original . + /// The map containig all instance of copied s with their original. + public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary originalCopyMap) + { + var original = originalThing as ArchitectureElement; + if (original == null) + { + throw new InvalidOperationException("The originalThing cannot be null or is of the incorrect type"); + } + + foreach (var guid in original.Bounds) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Bounds.Add(copy.Value.Iid); + } + + var copyDepictedThing = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.DepictedThing); + this.DepictedThing = copyDepictedThing.Value == null ? original.DepictedThing : copyDepictedThing.Value.Iid; + + foreach (var guid in original.DiagramElement) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.DiagramElement.Add(copy.Value.Iid); + } + + this.Documentation = original.Documentation; + + foreach (var guid in original.ExcludedDomain) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedDomain.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.ExcludedPerson) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedPerson.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.LocalStyle) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.LocalStyle.Add(copy.Value.Iid); + } + + this.ModifiedOn = original.ModifiedOn; + + this.Name = original.Name; + + this.Resolution = original.Resolution; + + var copySharedStyle = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.SharedStyle); + this.SharedStyle = copySharedStyle.Value == null ? original.SharedStyle : copySharedStyle.Value.Iid; + + this.ThingPreference = original.ThingPreference; + } + + /// + /// Resolves the references of a copied based on a original to copy map. + /// + /// The map containig all instance of copied s with their original. + /// True if a modification was done in the process of this method. + public override bool ResolveCopyReference(IReadOnlyDictionary originalCopyMap) + { + var hasChanges = false; + + return hasChanges; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenDto/ArrayParameterType.cs b/CDP4Common/AutoGenDto/ArrayParameterType.cs index e27f010d0..e2acd721d 100644 --- a/CDP4Common/AutoGenDto/ArrayParameterType.cs +++ b/CDP4Common/AutoGenDto/ArrayParameterType.cs @@ -133,6 +133,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -173,6 +175,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -222,6 +228,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Attachment.cs b/CDP4Common/AutoGenDto/Attachment.cs new file mode 100644 index 000000000..6abe910b8 --- /dev/null +++ b/CDP4Common/AutoGenDto/Attachment.cs @@ -0,0 +1,342 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DTO +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Xml.Serialization; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Data Transfer Object representation of the class. + /// + [DataContract] + [CDPVersion("1.4.0")] + [Container(typeof(DefinedThing), "Attachment")] + public partial class Attachment : Thing + { + /// + /// Initializes a new instance of the class. + /// + public Attachment() + { + this.FileType = new List(); + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The revision number. + /// + public Attachment(Guid iid, int rev) : base(iid: iid, rev: rev) + { + this.FileType = new List(); + } + + /// + /// Gets or sets the ContentHash. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public string ContentHash { get; set; } + + /// + /// Gets or sets the FileName. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public string FileName { get; set; } + + /// + /// Gets or sets the list of unique identifiers of the referenced FileType instances. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public List FileType { get; set; } + + /// + /// Gets the route for the current . + /// + public override string Route + { + get { return this.ComputedRoute(); } + } + + /// + /// Get all Reference Properties by their Name and id's of instance values + /// + /// A dictionary of string (Name) and a collections of Guid's (id's of instance values) + public override IDictionary> GetReferenceProperties() + { + var dictionary = new Dictionary>(); + + dictionary.Add("ExcludedDomain", this.ExcludedDomain); + + dictionary.Add("ExcludedPerson", this.ExcludedPerson); + + dictionary.Add("FileType", this.FileType); + + return dictionary; + } + + /// + /// Tries to remove references to id's if they exist in a collection of id's (Guid's) + /// + /// The collection of Guids to remove references for. + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferences(IEnumerable ids, out List errors) + { + errors = new List(); + var referencedProperties = this.GetReferenceProperties(); + var addModelErrors = !ids.Contains(this.Iid); + var result = true; + + foreach (var id in ids) + { + var foundProperty = referencedProperties.Where(x => x.Value.Contains(id)).ToList(); + + if (foundProperty.Any()) + { + foreach (var kvp in foundProperty) + { + switch (kvp.Key) + { + case "ExcludedDomain": + this.ExcludedDomain.Remove(id); + break; + + case "ExcludedPerson": + this.ExcludedPerson.Remove(id); + break; + + case "FileType": + if (addModelErrors && this.FileType.Count == 1) + { + errors.Add($"Removing reference '{id}' from FileType property results in inconsistent Attachment."); + result = false; + } + this.FileType.Remove(id); + break; + } + } + } + } + + return result; + } + + /// + /// Tries to remove references to id's if they don't exist in a collection of id's (Guid's) + /// + /// The collection of Guids + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List errors) + { + errors = new List(); + var result = true; + + foreach (var referencedProperty in this.GetReferenceProperties()) + { + switch (referencedProperty.Key) + { + case "ExcludedDomain": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedDomain.Remove(toBeRemoved); + } + break; + + case "ExcludedPerson": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedPerson.Remove(toBeRemoved); + } + break; + + case "FileType": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.FileType.Remove(toBeRemoved); + } + if (!this.FileType.Any()) + { + errors.Add($"Removed reference '{referencedProperty.Key}' from FileType property results in inconsistent Attachment."); + result = false; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to any of the id's in a collection of id's (Guid's) + /// + /// The collection of Guids to search for. + /// True is any of the id's in is found in this instance's reference properties. + public override bool HasMandatoryReferenceToAny(IEnumerable ids) + { + var result = false; + + if (!ids.Any()) + { + return false; + } + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to an id that cannot be found in the id's in a collection of id's (Guid's) + /// + /// The HashSet of Guids to search for. + /// True is the id in this instance's mandatory reference properties is not found in in . + public override bool HasMandatoryReferenceNotIn(HashSet ids) + { + var result = false; + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + case "FileType": + if (!kvp.Value.Intersect(ids).Any()) + { + result = true; + } + break; + } + } + + return result; + } + + /// + /// Instantiate a from a + /// + /// The cache that stores all the s. + /// The of the . + /// A new + public override CommonData.Thing InstantiatePoco(ConcurrentDictionary> cache, Uri uri) + { + return new CDP4Common.EngineeringModelData.Attachment(this.Iid, cache, uri); + } + + /// + /// Resolves the properties of a copied based on the original and a collection of copied . + /// + /// The original . + /// The map containig all instance of copied s with their original. + public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary originalCopyMap) + { + var original = originalThing as Attachment; + if (original == null) + { + throw new InvalidOperationException("The originalThing cannot be null or is of the incorrect type"); + } + + this.ContentHash = original.ContentHash; + + foreach (var guid in original.ExcludedDomain) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedDomain.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.ExcludedPerson) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedPerson.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + this.FileName = original.FileName; + + foreach (var guid in original.FileType) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.FileType.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + this.ModifiedOn = original.ModifiedOn; + + this.ThingPreference = original.ThingPreference; + } + + /// + /// Resolves the references of a copied based on a original to copy map. + /// + /// The map containig all instance of copied s with their original. + /// True if a modification was done in the process of this method. + public override bool ResolveCopyReference(IReadOnlyDictionary originalCopyMap) + { + var hasChanges = false; + + for (var i = 0; i < this.FileType.Count; i++) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == this.FileType[i]); + if (copy.Key != null) + { + this.FileType[i] = copy.Value.Iid; + hasChanges = true; + } + } + + return hasChanges; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenDto/Behavior.cs b/CDP4Common/AutoGenDto/Behavior.cs new file mode 100644 index 000000000..9c8cc7b89 --- /dev/null +++ b/CDP4Common/AutoGenDto/Behavior.cs @@ -0,0 +1,434 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DTO +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Xml.Serialization; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Data Transfer Object representation of the class. + /// + [DataContract] + [CDPVersion("1.4.0")] + [Container(typeof(ElementDefinition), "Behavior")] + public partial class Behavior : DefinedThing + { + /// + /// Initializes a new instance of the class. + /// + public Behavior() + { + this.BehavioralParameter = new List(); + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The revision number. + /// + public Behavior(Guid iid, int rev) : base(iid: iid, rev: rev) + { + this.BehavioralParameter = new List(); + } + + /// + /// Gets or sets the BehavioralModelKind. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public BehavioralModelKind BehavioralModelKind { get; set; } + + /// + /// Gets or sets the unique identifiers of the contained BehavioralParameter instances. + /// + [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public List BehavioralParameter { get; set; } + + /// + /// Gets or sets the Script. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public string Script { get; set; } + + /// + /// Gets the route for the current . + /// + public override string Route + { + get { return this.ComputedRoute(); } + } + + /// + /// Gets an that references the composite properties of the current . + /// + public override IEnumerable ContainerLists + { + get + { + var containers = new List(base.ContainerLists); + containers.Add(this.BehavioralParameter); + return containers; + } + } + + /// + /// Get all Reference Properties by their Name and id's of instance values + /// + /// A dictionary of string (Name) and a collections of Guid's (id's of instance values) + public override IDictionary> GetReferenceProperties() + { + var dictionary = new Dictionary>(); + + dictionary.Add("Alias", this.Alias); + + dictionary.Add("Attachment", this.Attachment); + + dictionary.Add("BehavioralParameter", this.BehavioralParameter); + + dictionary.Add("Definition", this.Definition); + + dictionary.Add("ExcludedDomain", this.ExcludedDomain); + + dictionary.Add("ExcludedPerson", this.ExcludedPerson); + + dictionary.Add("HyperLink", this.HyperLink); + + return dictionary; + } + + /// + /// Tries to remove references to id's if they exist in a collection of id's (Guid's) + /// + /// The collection of Guids to remove references for. + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferences(IEnumerable ids, out List errors) + { + errors = new List(); + var referencedProperties = this.GetReferenceProperties(); + var addModelErrors = !ids.Contains(this.Iid); + var result = true; + + foreach (var id in ids) + { + var foundProperty = referencedProperties.Where(x => x.Value.Contains(id)).ToList(); + + if (foundProperty.Any()) + { + foreach (var kvp in foundProperty) + { + switch (kvp.Key) + { + case "Alias": + this.Alias.Remove(id); + break; + + case "Attachment": + this.Attachment.Remove(id); + break; + + case "BehavioralParameter": + this.BehavioralParameter.Remove(id); + break; + + case "Definition": + this.Definition.Remove(id); + break; + + case "ExcludedDomain": + this.ExcludedDomain.Remove(id); + break; + + case "ExcludedPerson": + this.ExcludedPerson.Remove(id); + break; + + case "HyperLink": + this.HyperLink.Remove(id); + break; + } + } + } + } + + return result; + } + + /// + /// Tries to remove references to id's if they don't exist in a collection of id's (Guid's) + /// + /// The collection of Guids + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List errors) + { + errors = new List(); + var result = true; + + foreach (var referencedProperty in this.GetReferenceProperties()) + { + switch (referencedProperty.Key) + { + case "Alias": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.Alias.Remove(toBeRemoved); + } + break; + + case "Attachment": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.Attachment.Remove(toBeRemoved); + } + break; + + case "BehavioralParameter": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.BehavioralParameter.Remove(toBeRemoved); + } + break; + + case "Definition": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.Definition.Remove(toBeRemoved); + } + break; + + case "ExcludedDomain": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedDomain.Remove(toBeRemoved); + } + break; + + case "ExcludedPerson": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedPerson.Remove(toBeRemoved); + } + break; + + case "HyperLink": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.HyperLink.Remove(toBeRemoved); + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to any of the id's in a collection of id's (Guid's) + /// + /// The collection of Guids to search for. + /// True is any of the id's in is found in this instance's reference properties. + public override bool HasMandatoryReferenceToAny(IEnumerable ids) + { + var result = false; + + if (!ids.Any()) + { + return false; + } + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to an id that cannot be found in the id's in a collection of id's (Guid's) + /// + /// The HashSet of Guids to search for. + /// True is the id in this instance's mandatory reference properties is not found in in . + public override bool HasMandatoryReferenceNotIn(HashSet ids) + { + var result = false; + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Instantiate a from a + /// + /// The cache that stores all the s. + /// The of the . + /// A new + public override CommonData.Thing InstantiatePoco(ConcurrentDictionary> cache, Uri uri) + { + return new CDP4Common.EngineeringModelData.Behavior(this.Iid, cache, uri); + } + + /// + /// Resolves the properties of a copied based on the original and a collection of copied . + /// + /// The original . + /// The map containig all instance of copied s with their original. + public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary originalCopyMap) + { + var original = originalThing as Behavior; + if (original == null) + { + throw new InvalidOperationException("The originalThing cannot be null or is of the incorrect type"); + } + + foreach (var guid in original.Alias) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Alias.Add(copy.Value.Iid); + } + + foreach (var guid in original.Attachment) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + + this.BehavioralModelKind = original.BehavioralModelKind; + + foreach (var guid in original.BehavioralParameter) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.BehavioralParameter.Add(copy.Value.Iid); + } + + foreach (var guid in original.Definition) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Definition.Add(copy.Value.Iid); + } + + foreach (var guid in original.ExcludedDomain) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedDomain.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.ExcludedPerson) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedPerson.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.HyperLink) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.HyperLink.Add(copy.Value.Iid); + } + + this.ModifiedOn = original.ModifiedOn; + + this.Name = original.Name; + + this.Script = original.Script; + + this.ShortName = original.ShortName; + + this.ThingPreference = original.ThingPreference; + } + + /// + /// Resolves the references of a copied based on a original to copy map. + /// + /// The map containig all instance of copied s with their original. + /// True if a modification was done in the process of this method. + public override bool ResolveCopyReference(IReadOnlyDictionary originalCopyMap) + { + var hasChanges = false; + + return hasChanges; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenDto/BehavioralParameter.cs b/CDP4Common/AutoGenDto/BehavioralParameter.cs new file mode 100644 index 000000000..36a2769f0 --- /dev/null +++ b/CDP4Common/AutoGenDto/BehavioralParameter.cs @@ -0,0 +1,331 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DTO +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Xml.Serialization; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Data Transfer Object representation of the class. + /// + [DataContract] + [CDPVersion("1.4.0")] + [Container(typeof(Behavior), "BehavioralParameter")] + public partial class BehavioralParameter : Thing + { + /// + /// Initializes a new instance of the class. + /// + public BehavioralParameter() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The revision number. + /// + public BehavioralParameter(Guid iid, int rev) : base(iid: iid, rev: rev) + { + } + + /// + /// Gets or sets the BehavioralParameterKind. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public BehavioralParameterKind BehavioralParameterKind { get; set; } + + /// + /// Gets or sets the unique identifier of the referenced Parameter. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public Guid Parameter { get; set; } + + /// + /// Gets or sets the VariableName. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public string VariableName { get; set; } + + /// + /// Gets the route for the current . + /// + public override string Route + { + get { return this.ComputedRoute(); } + } + + /// + /// Get all Reference Properties by their Name and id's of instance values + /// + /// A dictionary of string (Name) and a collections of Guid's (id's of instance values) + public override IDictionary> GetReferenceProperties() + { + var dictionary = new Dictionary>(); + + dictionary.Add("ExcludedDomain", this.ExcludedDomain); + + dictionary.Add("ExcludedPerson", this.ExcludedPerson); + + if (this.Parameter != null) + { + dictionary.Add("Parameter", new [] { this.Parameter }); + } + + return dictionary; + } + + /// + /// Tries to remove references to id's if they exist in a collection of id's (Guid's) + /// + /// The collection of Guids to remove references for. + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferences(IEnumerable ids, out List errors) + { + errors = new List(); + var referencedProperties = this.GetReferenceProperties(); + var addModelErrors = !ids.Contains(this.Iid); + var result = true; + + foreach (var id in ids) + { + var foundProperty = referencedProperties.Where(x => x.Value.Contains(id)).ToList(); + + if (foundProperty.Any()) + { + foreach (var kvp in foundProperty) + { + switch (kvp.Key) + { + case "ExcludedDomain": + this.ExcludedDomain.Remove(id); + break; + + case "ExcludedPerson": + this.ExcludedPerson.Remove(id); + break; + + case "Parameter": + if (addModelErrors) + { + errors.Add($"Removed reference '{id}' from Parameter property results in inconsistent BehavioralParameter."); + result = false; + } + break; + } + } + } + } + + return result; + } + + /// + /// Tries to remove references to id's if they don't exist in a collection of id's (Guid's) + /// + /// The collection of Guids + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List errors) + { + errors = new List(); + var result = true; + + foreach (var referencedProperty in this.GetReferenceProperties()) + { + switch (referencedProperty.Key) + { + case "ExcludedDomain": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedDomain.Remove(toBeRemoved); + } + break; + + case "ExcludedPerson": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedPerson.Remove(toBeRemoved); + } + break; + + case "Parameter": + if (referencedProperty.Value.Except(ids).Any()) + { + errors.Add($"Removed reference '{referencedProperty.Key}' from Parameter property results in inconsistent BehavioralParameter."); + result = false; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to any of the id's in a collection of id's (Guid's) + /// + /// The collection of Guids to search for. + /// True is any of the id's in is found in this instance's reference properties. + public override bool HasMandatoryReferenceToAny(IEnumerable ids) + { + var result = false; + + if (!ids.Any()) + { + return false; + } + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + case "Parameter": + if (ids.Intersect(kvp.Value).Any()) + { + result = true; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to an id that cannot be found in the id's in a collection of id's (Guid's) + /// + /// The HashSet of Guids to search for. + /// True is the id in this instance's mandatory reference properties is not found in in . + public override bool HasMandatoryReferenceNotIn(HashSet ids) + { + var result = false; + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + case "Parameter": + if (kvp.Value.Except(ids).Any()) + { + result = true; + } + break; + } + } + + return result; + } + + /// + /// Instantiate a from a + /// + /// The cache that stores all the s. + /// The of the . + /// A new + public override CommonData.Thing InstantiatePoco(ConcurrentDictionary> cache, Uri uri) + { + return new CDP4Common.EngineeringModelData.BehavioralParameter(this.Iid, cache, uri); + } + + /// + /// Resolves the properties of a copied based on the original and a collection of copied . + /// + /// The original . + /// The map containig all instance of copied s with their original. + public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary originalCopyMap) + { + var original = originalThing as BehavioralParameter; + if (original == null) + { + throw new InvalidOperationException("The originalThing cannot be null or is of the incorrect type"); + } + + this.BehavioralParameterKind = original.BehavioralParameterKind; + + foreach (var guid in original.ExcludedDomain) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedDomain.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.ExcludedPerson) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedPerson.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + this.ModifiedOn = original.ModifiedOn; + + var copyParameter = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.Parameter); + this.Parameter = copyParameter.Value == null ? original.Parameter : copyParameter.Value.Iid; + + this.ThingPreference = original.ThingPreference; + + this.VariableName = original.VariableName; + } + + /// + /// Resolves the references of a copied based on a original to copy map. + /// + /// The map containig all instance of copied s with their original. + /// True if a modification was done in the process of this method. + public override bool ResolveCopyReference(IReadOnlyDictionary originalCopyMap) + { + var hasChanges = false; + + return hasChanges; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenDto/BinaryRelationshipRule.cs b/CDP4Common/AutoGenDto/BinaryRelationshipRule.cs index ccf66ccd9..a824f8729 100644 --- a/CDP4Common/AutoGenDto/BinaryRelationshipRule.cs +++ b/CDP4Common/AutoGenDto/BinaryRelationshipRule.cs @@ -124,6 +124,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -177,6 +179,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -246,6 +252,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/BooleanParameterType.cs b/CDP4Common/AutoGenDto/BooleanParameterType.cs index 8c556fc76..99062d802 100644 --- a/CDP4Common/AutoGenDto/BooleanParameterType.cs +++ b/CDP4Common/AutoGenDto/BooleanParameterType.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -129,6 +131,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -178,6 +184,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Category.cs b/CDP4Common/AutoGenDto/Category.cs index 42df63c72..d196cecca 100644 --- a/CDP4Common/AutoGenDto/Category.cs +++ b/CDP4Common/AutoGenDto/Category.cs @@ -121,6 +121,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -161,6 +163,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -210,6 +216,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/CompoundParameterType.cs b/CDP4Common/AutoGenDto/CompoundParameterType.cs index f4d9682e2..73c3ec12b 100644 --- a/CDP4Common/AutoGenDto/CompoundParameterType.cs +++ b/CDP4Common/AutoGenDto/CompoundParameterType.cs @@ -118,6 +118,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -158,6 +160,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -207,6 +213,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Constant.cs b/CDP4Common/AutoGenDto/Constant.cs index 888bc295c..b440f0be9 100644 --- a/CDP4Common/AutoGenDto/Constant.cs +++ b/CDP4Common/AutoGenDto/Constant.cs @@ -128,6 +128,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -178,6 +180,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -239,6 +245,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/ConversionBasedUnit.cs b/CDP4Common/AutoGenDto/ConversionBasedUnit.cs index 2346ec9ef..5317ecddf 100644 --- a/CDP4Common/AutoGenDto/ConversionBasedUnit.cs +++ b/CDP4Common/AutoGenDto/ConversionBasedUnit.cs @@ -103,6 +103,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -146,6 +148,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -199,6 +205,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -143,6 +145,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -204,6 +210,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/DateParameterType.cs b/CDP4Common/AutoGenDto/DateParameterType.cs index fed072f67..a5e8ff555 100644 --- a/CDP4Common/AutoGenDto/DateParameterType.cs +++ b/CDP4Common/AutoGenDto/DateParameterType.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -129,6 +131,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -178,6 +184,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/DateTimeParameterType.cs b/CDP4Common/AutoGenDto/DateTimeParameterType.cs index 19a144325..2252089da 100644 --- a/CDP4Common/AutoGenDto/DateTimeParameterType.cs +++ b/CDP4Common/AutoGenDto/DateTimeParameterType.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -129,6 +131,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -178,6 +184,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/DecompositionRule.cs b/CDP4Common/AutoGenDto/DecompositionRule.cs index deccfd267..faca69d53 100644 --- a/CDP4Common/AutoGenDto/DecompositionRule.cs +++ b/CDP4Common/AutoGenDto/DecompositionRule.cs @@ -119,6 +119,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("ContainedCategory", this.ContainedCategory); if (this.ContainingCategory != null) @@ -164,6 +166,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "ContainedCategory": if (addModelErrors && this.ContainedCategory.Count == 1) { @@ -226,6 +232,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.ContainedCategory) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/DefinedThing.cs b/CDP4Common/AutoGenDto/DefinedThing.cs index e38af5450..83e2d7dd7 100644 --- a/CDP4Common/AutoGenDto/DefinedThing.cs +++ b/CDP4Common/AutoGenDto/DefinedThing.cs @@ -56,6 +56,7 @@ public abstract partial class DefinedThing : Thing, INamedThing, IShortNamedThin protected DefinedThing() { this.Alias = new List(); + this.Attachment = new List(); this.Definition = new List(); this.HyperLink = new List(); } @@ -72,6 +73,7 @@ protected DefinedThing() protected DefinedThing(Guid iid, int rev) : base(iid: iid, rev: rev) { this.Alias = new List(); + this.Attachment = new List(); this.Definition = new List(); this.HyperLink = new List(); } @@ -83,6 +85,13 @@ protected DefinedThing(Guid iid, int rev) : base(iid: iid, rev: rev) [DataMember] public virtual List Alias { get; set; } + /// + /// Gets or sets the unique identifiers of the contained Attachment instances. + /// + [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public virtual List Attachment { get; set; } + /// /// Gets or sets the unique identifiers of the contained Definition instances. /// @@ -120,6 +129,7 @@ public override IEnumerable ContainerLists { var containers = new List(base.ContainerLists); containers.Add(this.Alias); + containers.Add(this.Attachment); containers.Add(this.Definition); containers.Add(this.HyperLink); return containers; @@ -136,6 +146,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -174,6 +186,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -219,6 +235,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); if (this.DefaultScale != null) @@ -158,6 +160,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -219,6 +225,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/DerivedUnit.cs b/CDP4Common/AutoGenDto/DerivedUnit.cs index bbf2a6d34..7abca7256 100644 --- a/CDP4Common/AutoGenDto/DerivedUnit.cs +++ b/CDP4Common/AutoGenDto/DerivedUnit.cs @@ -111,6 +111,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -149,6 +151,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -194,6 +200,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/DiagramCanvas.cs b/CDP4Common/AutoGenDto/DiagramCanvas.cs index 15e792b84..a88da49c3 100644 --- a/CDP4Common/AutoGenDto/DiagramCanvas.cs +++ b/CDP4Common/AutoGenDto/DiagramCanvas.cs @@ -77,7 +77,21 @@ public DiagramCanvas(Guid iid, int rev) : base(iid: iid, rev: rev) /// [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] [DataMember] - public DateTime CreatedOn { get; set; } + public virtual DateTime CreatedOn { get; set; } + + /// + /// Gets or sets the Description. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public virtual string Description { get; set; } + + /// + /// Gets or sets the PublicationState. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public virtual PublicationState PublicationState { get; set; } /// /// Gets the route for the current . @@ -280,6 +294,8 @@ public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary kvp.Key.Iid == guid); @@ -307,6 +323,8 @@ public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DTO +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Xml.Serialization; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Data Transfer Object representation of the class. + /// + [DataContract] + [CDPVersion("1.4.0")] + [Container(typeof(DiagramElementContainer), "DiagramElement")] + public partial class DiagramFrame : DiagramShape + { + /// + /// Initializes a new instance of the class. + /// + public DiagramFrame() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The revision number. + /// + public DiagramFrame(Guid iid, int rev) : base(iid: iid, rev: rev) + { + } + + /// + /// Gets the route for the current . + /// + public override string Route + { + get { return this.ComputedRoute(); } + } + + /// + /// Get all Reference Properties by their Name and id's of instance values + /// + /// A dictionary of string (Name) and a collections of Guid's (id's of instance values) + public override IDictionary> GetReferenceProperties() + { + var dictionary = new Dictionary>(); + + dictionary.Add("Bounds", this.Bounds); + + if (this.DepictedThing != null) + { + dictionary.Add("DepictedThing", new [] { this.DepictedThing.Value }); + } + + dictionary.Add("DiagramElement", this.DiagramElement); + + dictionary.Add("ExcludedDomain", this.ExcludedDomain); + + dictionary.Add("ExcludedPerson", this.ExcludedPerson); + + dictionary.Add("LocalStyle", this.LocalStyle); + + if (this.SharedStyle != null) + { + dictionary.Add("SharedStyle", new [] { this.SharedStyle.Value }); + } + + return dictionary; + } + + /// + /// Tries to remove references to id's if they exist in a collection of id's (Guid's) + /// + /// The collection of Guids to remove references for. + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferences(IEnumerable ids, out List errors) + { + errors = new List(); + var referencedProperties = this.GetReferenceProperties(); + var addModelErrors = !ids.Contains(this.Iid); + var result = true; + + foreach (var id in ids) + { + var foundProperty = referencedProperties.Where(x => x.Value.Contains(id)).ToList(); + + if (foundProperty.Any()) + { + foreach (var kvp in foundProperty) + { + switch (kvp.Key) + { + case "Bounds": + this.Bounds.Remove(id); + break; + + case "DepictedThing": + this.DepictedThing = null; + break; + + case "DiagramElement": + this.DiagramElement.Remove(id); + break; + + case "ExcludedDomain": + this.ExcludedDomain.Remove(id); + break; + + case "ExcludedPerson": + this.ExcludedPerson.Remove(id); + break; + + case "LocalStyle": + this.LocalStyle.Remove(id); + break; + + case "SharedStyle": + this.SharedStyle = null; + break; + } + } + } + } + + return result; + } + + /// + /// Tries to remove references to id's if they don't exist in a collection of id's (Guid's) + /// + /// The collection of Guids + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List errors) + { + errors = new List(); + var result = true; + + foreach (var referencedProperty in this.GetReferenceProperties()) + { + switch (referencedProperty.Key) + { + case "Bounds": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.Bounds.Remove(toBeRemoved); + } + break; + + case "DepictedThing": + if (referencedProperty.Value.Except(ids).Any()) + { + this.DepictedThing = null; + } + break; + + case "DiagramElement": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.DiagramElement.Remove(toBeRemoved); + } + break; + + case "ExcludedDomain": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedDomain.Remove(toBeRemoved); + } + break; + + case "ExcludedPerson": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedPerson.Remove(toBeRemoved); + } + break; + + case "LocalStyle": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.LocalStyle.Remove(toBeRemoved); + } + break; + + case "SharedStyle": + if (referencedProperty.Value.Except(ids).Any()) + { + this.SharedStyle = null; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to any of the id's in a collection of id's (Guid's) + /// + /// The collection of Guids to search for. + /// True is any of the id's in is found in this instance's reference properties. + public override bool HasMandatoryReferenceToAny(IEnumerable ids) + { + var result = false; + + if (!ids.Any()) + { + return false; + } + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to an id that cannot be found in the id's in a collection of id's (Guid's) + /// + /// The HashSet of Guids to search for. + /// True is the id in this instance's mandatory reference properties is not found in in . + public override bool HasMandatoryReferenceNotIn(HashSet ids) + { + var result = false; + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Instantiate a from a + /// + /// The cache that stores all the s. + /// The of the . + /// A new + public override CommonData.Thing InstantiatePoco(ConcurrentDictionary> cache, Uri uri) + { + return new CDP4Common.DiagramData.DiagramFrame(this.Iid, cache, uri); + } + + /// + /// Resolves the properties of a copied based on the original and a collection of copied . + /// + /// The original . + /// The map containig all instance of copied s with their original. + public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary originalCopyMap) + { + var original = originalThing as DiagramFrame; + if (original == null) + { + throw new InvalidOperationException("The originalThing cannot be null or is of the incorrect type"); + } + + foreach (var guid in original.Bounds) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Bounds.Add(copy.Value.Iid); + } + + var copyDepictedThing = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.DepictedThing); + this.DepictedThing = copyDepictedThing.Value == null ? original.DepictedThing : copyDepictedThing.Value.Iid; + + foreach (var guid in original.DiagramElement) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.DiagramElement.Add(copy.Value.Iid); + } + + foreach (var guid in original.ExcludedDomain) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedDomain.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.ExcludedPerson) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedPerson.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.LocalStyle) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.LocalStyle.Add(copy.Value.Iid); + } + + this.ModifiedOn = original.ModifiedOn; + + this.Name = original.Name; + + var copySharedStyle = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.SharedStyle); + this.SharedStyle = copySharedStyle.Value == null ? original.SharedStyle : copySharedStyle.Value.Iid; + + this.ThingPreference = original.ThingPreference; + } + + /// + /// Resolves the references of a copied based on a original to copy map. + /// + /// The map containig all instance of copied s with their original. + /// True if a modification was done in the process of this method. + public override bool ResolveCopyReference(IReadOnlyDictionary originalCopyMap) + { + var hasChanges = false; + + return hasChanges; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenDto/DiagramObject.cs b/CDP4Common/AutoGenDto/DiagramObject.cs index 58f4f88cd..db325438a 100644 --- a/CDP4Common/AutoGenDto/DiagramObject.cs +++ b/CDP4Common/AutoGenDto/DiagramObject.cs @@ -77,14 +77,14 @@ public DiagramObject(Guid iid, int rev) : base(iid: iid, rev: rev) /// [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] [DataMember] - public string Documentation { get; set; } + public virtual string Documentation { get; set; } /// /// Gets or sets the Resolution. /// [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] [DataMember] - public float Resolution { get; set; } + public virtual float Resolution { get; set; } /// /// Gets the route for the current . diff --git a/CDP4Common/AutoGenDto/DiagramPort.cs b/CDP4Common/AutoGenDto/DiagramPort.cs new file mode 100644 index 000000000..b044158a1 --- /dev/null +++ b/CDP4Common/AutoGenDto/DiagramPort.cs @@ -0,0 +1,382 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DTO +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Xml.Serialization; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Data Transfer Object representation of the class. + /// + [DataContract] + [CDPVersion("1.4.0")] + [Container(typeof(DiagramElementContainer), "DiagramElement")] + public partial class DiagramPort : DiagramShape + { + /// + /// Initializes a new instance of the class. + /// + public DiagramPort() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The revision number. + /// + public DiagramPort(Guid iid, int rev) : base(iid: iid, rev: rev) + { + } + + /// + /// Gets the route for the current . + /// + public override string Route + { + get { return this.ComputedRoute(); } + } + + /// + /// Get all Reference Properties by their Name and id's of instance values + /// + /// A dictionary of string (Name) and a collections of Guid's (id's of instance values) + public override IDictionary> GetReferenceProperties() + { + var dictionary = new Dictionary>(); + + dictionary.Add("Bounds", this.Bounds); + + if (this.DepictedThing != null) + { + dictionary.Add("DepictedThing", new [] { this.DepictedThing.Value }); + } + + dictionary.Add("DiagramElement", this.DiagramElement); + + dictionary.Add("ExcludedDomain", this.ExcludedDomain); + + dictionary.Add("ExcludedPerson", this.ExcludedPerson); + + dictionary.Add("LocalStyle", this.LocalStyle); + + if (this.SharedStyle != null) + { + dictionary.Add("SharedStyle", new [] { this.SharedStyle.Value }); + } + + return dictionary; + } + + /// + /// Tries to remove references to id's if they exist in a collection of id's (Guid's) + /// + /// The collection of Guids to remove references for. + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferences(IEnumerable ids, out List errors) + { + errors = new List(); + var referencedProperties = this.GetReferenceProperties(); + var addModelErrors = !ids.Contains(this.Iid); + var result = true; + + foreach (var id in ids) + { + var foundProperty = referencedProperties.Where(x => x.Value.Contains(id)).ToList(); + + if (foundProperty.Any()) + { + foreach (var kvp in foundProperty) + { + switch (kvp.Key) + { + case "Bounds": + this.Bounds.Remove(id); + break; + + case "DepictedThing": + this.DepictedThing = null; + break; + + case "DiagramElement": + this.DiagramElement.Remove(id); + break; + + case "ExcludedDomain": + this.ExcludedDomain.Remove(id); + break; + + case "ExcludedPerson": + this.ExcludedPerson.Remove(id); + break; + + case "LocalStyle": + this.LocalStyle.Remove(id); + break; + + case "SharedStyle": + this.SharedStyle = null; + break; + } + } + } + } + + return result; + } + + /// + /// Tries to remove references to id's if they don't exist in a collection of id's (Guid's) + /// + /// The collection of Guids + /// The errors collected while trying to remove references + /// True if no errors were found while trying to remove references + public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List errors) + { + errors = new List(); + var result = true; + + foreach (var referencedProperty in this.GetReferenceProperties()) + { + switch (referencedProperty.Key) + { + case "Bounds": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.Bounds.Remove(toBeRemoved); + } + break; + + case "DepictedThing": + if (referencedProperty.Value.Except(ids).Any()) + { + this.DepictedThing = null; + } + break; + + case "DiagramElement": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.DiagramElement.Remove(toBeRemoved); + } + break; + + case "ExcludedDomain": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedDomain.Remove(toBeRemoved); + } + break; + + case "ExcludedPerson": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.ExcludedPerson.Remove(toBeRemoved); + } + break; + + case "LocalStyle": + foreach (var toBeRemoved in referencedProperty.Value.Except(ids).ToList()) + { + this.LocalStyle.Remove(toBeRemoved); + } + break; + + case "SharedStyle": + if (referencedProperty.Value.Except(ids).Any()) + { + this.SharedStyle = null; + } + break; + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to any of the id's in a collection of id's (Guid's) + /// + /// The collection of Guids to search for. + /// True is any of the id's in is found in this instance's reference properties. + public override bool HasMandatoryReferenceToAny(IEnumerable ids) + { + var result = false; + + if (!ids.Any()) + { + return false; + } + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Checks if this instance has mandatory references to an id that cannot be found in the id's in a collection of id's (Guid's) + /// + /// The HashSet of Guids to search for. + /// True is the id in this instance's mandatory reference properties is not found in in . + public override bool HasMandatoryReferenceNotIn(HashSet ids) + { + var result = false; + + foreach (var kvp in this.GetReferenceProperties()) + { + switch (kvp.Key) + { + } + } + + return result; + } + + /// + /// Instantiate a from a + /// + /// The cache that stores all the s. + /// The of the . + /// A new + public override CommonData.Thing InstantiatePoco(ConcurrentDictionary> cache, Uri uri) + { + return new CDP4Common.DiagramData.DiagramPort(this.Iid, cache, uri); + } + + /// + /// Resolves the properties of a copied based on the original and a collection of copied . + /// + /// The original . + /// The map containig all instance of copied s with their original. + public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary originalCopyMap) + { + var original = originalThing as DiagramPort; + if (original == null) + { + throw new InvalidOperationException("The originalThing cannot be null or is of the incorrect type"); + } + + foreach (var guid in original.Bounds) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Bounds.Add(copy.Value.Iid); + } + + var copyDepictedThing = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.DepictedThing); + this.DepictedThing = copyDepictedThing.Value == null ? original.DepictedThing : copyDepictedThing.Value.Iid; + + foreach (var guid in original.DiagramElement) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.DiagramElement.Add(copy.Value.Iid); + } + + foreach (var guid in original.ExcludedDomain) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedDomain.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.ExcludedPerson) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + this.ExcludedPerson.Add(copy.Value == null ? guid : copy.Value.Iid); + } + + foreach (var guid in original.LocalStyle) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.LocalStyle.Add(copy.Value.Iid); + } + + this.ModifiedOn = original.ModifiedOn; + + this.Name = original.Name; + + var copySharedStyle = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.SharedStyle); + this.SharedStyle = copySharedStyle.Value == null ? original.SharedStyle : copySharedStyle.Value.Iid; + + this.ThingPreference = original.ThingPreference; + } + + /// + /// Resolves the references of a copied based on a original to copy map. + /// + /// The map containig all instance of copied s with their original. + /// True if a modification was done in the process of this method. + public override bool ResolveCopyReference(IReadOnlyDictionary originalCopyMap) + { + var hasChanges = false; + + return hasChanges; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenDto/DomainOfExpertise.cs b/CDP4Common/AutoGenDto/DomainOfExpertise.cs index cb67337ba..72355a1d8 100644 --- a/CDP4Common/AutoGenDto/DomainOfExpertise.cs +++ b/CDP4Common/AutoGenDto/DomainOfExpertise.cs @@ -105,6 +105,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -145,6 +147,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -194,6 +200,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/DomainOfExpertiseGroup.cs b/CDP4Common/AutoGenDto/DomainOfExpertiseGroup.cs index 2848e0b5c..eeb340c00 100644 --- a/CDP4Common/AutoGenDto/DomainOfExpertiseGroup.cs +++ b/CDP4Common/AutoGenDto/DomainOfExpertiseGroup.cs @@ -105,6 +105,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("Domain", this.Domain); @@ -145,6 +147,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -194,6 +200,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/ElementBase.cs b/CDP4Common/AutoGenDto/ElementBase.cs index f06f98ea1..3eb5116a8 100644 --- a/CDP4Common/AutoGenDto/ElementBase.cs +++ b/CDP4Common/AutoGenDto/ElementBase.cs @@ -96,6 +96,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -141,6 +143,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -198,6 +204,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List public ElementDefinition() { + this.Behavior = new List(); this.ContainedElement = new List(); this.OrganizationalParticipant = new List(); this.Parameter = new List(); @@ -74,6 +75,7 @@ public ElementDefinition() /// public ElementDefinition(Guid iid, int rev) : base(iid: iid, rev: rev) { + this.Behavior = new List(); this.ContainedElement = new List(); this.OrganizationalParticipant = new List(); this.Parameter = new List(); @@ -81,6 +83,14 @@ public ElementDefinition(Guid iid, int rev) : base(iid: iid, rev: rev) this.ReferencedElement = new List(); } + /// + /// Gets or sets the unique identifiers of the contained Behavior instances. + /// + [CDPVersion("1.4.0")] + [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public List Behavior { get; set; } + /// /// Gets or sets the unique identifiers of the contained ContainedElement instances. /// @@ -133,6 +143,7 @@ public override IEnumerable ContainerLists get { var containers = new List(base.ContainerLists); + containers.Add(this.Behavior); containers.Add(this.ContainedElement); containers.Add(this.Parameter); containers.Add(this.ParameterGroup); @@ -150,6 +161,10 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + + dictionary.Add("Behavior", this.Behavior); + dictionary.Add("Category", this.Category); dictionary.Add("ContainedElement", this.ContainedElement); @@ -205,6 +220,14 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + + case "Behavior": + this.Behavior.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -282,6 +305,20 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + + foreach (var guid in original.Behavior) + { + var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Behavior.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/ElementUsage.cs b/CDP4Common/AutoGenDto/ElementUsage.cs index 15ad2c215..38680d552 100644 --- a/CDP4Common/AutoGenDto/ElementUsage.cs +++ b/CDP4Common/AutoGenDto/ElementUsage.cs @@ -134,6 +134,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -188,6 +190,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -261,6 +267,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/EngineeringModelSetup.cs b/CDP4Common/AutoGenDto/EngineeringModelSetup.cs index c9477b64a..e80590e6f 100644 --- a/CDP4Common/AutoGenDto/EngineeringModelSetup.cs +++ b/CDP4Common/AutoGenDto/EngineeringModelSetup.cs @@ -189,6 +189,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + if (this.DefaultOrganizationalParticipant != null) { dictionary.Add("DefaultOrganizationalParticipant", new [] { this.DefaultOrganizationalParticipant.Value }); @@ -249,6 +251,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "DefaultOrganizationalParticipant": this.DefaultOrganizationalParticipant = null; break; @@ -341,6 +347,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + var copyDefaultOrganizationalParticipant = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.DefaultOrganizationalParticipant); this.DefaultOrganizationalParticipant = copyDefaultOrganizationalParticipant.Value == null ? original.DefaultOrganizationalParticipant : copyDefaultOrganizationalParticipant.Value.Iid; diff --git a/CDP4Common/AutoGenDto/EnumerationParameterType.cs b/CDP4Common/AutoGenDto/EnumerationParameterType.cs index bd13a6e62..88b2ba845 100644 --- a/CDP4Common/AutoGenDto/EnumerationParameterType.cs +++ b/CDP4Common/AutoGenDto/EnumerationParameterType.cs @@ -118,6 +118,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -158,6 +160,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -207,6 +213,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/EnumerationValueDefinition.cs b/CDP4Common/AutoGenDto/EnumerationValueDefinition.cs index c0fa17525..6b9158130 100644 --- a/CDP4Common/AutoGenDto/EnumerationValueDefinition.cs +++ b/CDP4Common/AutoGenDto/EnumerationValueDefinition.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -127,6 +129,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -172,6 +178,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/FileType.cs b/CDP4Common/AutoGenDto/FileType.cs index 117e8febd..0e91669f7 100644 --- a/CDP4Common/AutoGenDto/FileType.cs +++ b/CDP4Common/AutoGenDto/FileType.cs @@ -112,6 +112,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -152,6 +154,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -201,6 +207,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Glossary.cs b/CDP4Common/AutoGenDto/Glossary.cs index 8580cab47..149c09fdb 100644 --- a/CDP4Common/AutoGenDto/Glossary.cs +++ b/CDP4Common/AutoGenDto/Glossary.cs @@ -127,6 +127,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -169,6 +171,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -222,6 +228,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Goal.cs b/CDP4Common/AutoGenDto/Goal.cs index 8e09795e4..cf13ff774 100644 --- a/CDP4Common/AutoGenDto/Goal.cs +++ b/CDP4Common/AutoGenDto/Goal.cs @@ -99,6 +99,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -139,6 +141,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -188,6 +194,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/IntervalScale.cs b/CDP4Common/AutoGenDto/IntervalScale.cs index c916e0955..195e98757 100644 --- a/CDP4Common/AutoGenDto/IntervalScale.cs +++ b/CDP4Common/AutoGenDto/IntervalScale.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -136,6 +138,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -197,6 +203,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/LinearConversionUnit.cs b/CDP4Common/AutoGenDto/LinearConversionUnit.cs index 8a5f80e02..71542a876 100644 --- a/CDP4Common/AutoGenDto/LinearConversionUnit.cs +++ b/CDP4Common/AutoGenDto/LinearConversionUnit.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -132,6 +134,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -185,6 +191,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + this.ConversionFactor = original.ConversionFactor; foreach (var guid in original.Definition) diff --git a/CDP4Common/AutoGenDto/LogarithmicScale.cs b/CDP4Common/AutoGenDto/LogarithmicScale.cs index 4f5a84473..85db91b4a 100644 --- a/CDP4Common/AutoGenDto/LogarithmicScale.cs +++ b/CDP4Common/AutoGenDto/LogarithmicScale.cs @@ -139,6 +139,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -193,6 +195,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -266,6 +272,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/MeasurementScale.cs b/CDP4Common/AutoGenDto/MeasurementScale.cs index eeae17d62..3aa0e90d9 100644 --- a/CDP4Common/AutoGenDto/MeasurementScale.cs +++ b/CDP4Common/AutoGenDto/MeasurementScale.cs @@ -184,6 +184,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -231,6 +233,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -292,6 +298,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -134,6 +136,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -179,6 +185,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("BaseUnit", this.BaseUnit); dictionary.Add("Constant", this.Constant); @@ -154,6 +156,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "BaseUnit": this.BaseUnit.Remove(id); break; @@ -247,6 +253,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var orderedItem in original.BaseQuantityKind) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == Guid.Parse(orderedItem.V.ToString())); diff --git a/CDP4Common/AutoGenDto/MultiRelationshipRule.cs b/CDP4Common/AutoGenDto/MultiRelationshipRule.cs index 864b722de..1d852e289 100644 --- a/CDP4Common/AutoGenDto/MultiRelationshipRule.cs +++ b/CDP4Common/AutoGenDto/MultiRelationshipRule.cs @@ -119,6 +119,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -164,6 +166,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -226,6 +232,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Option.cs b/CDP4Common/AutoGenDto/Option.cs index 60b9c7b39..d1e35c747 100644 --- a/CDP4Common/AutoGenDto/Option.cs +++ b/CDP4Common/AutoGenDto/Option.cs @@ -120,6 +120,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -162,6 +164,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -215,6 +221,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/OrdinalScale.cs b/CDP4Common/AutoGenDto/OrdinalScale.cs index 5011d1c86..60e8f280e 100644 --- a/CDP4Common/AutoGenDto/OrdinalScale.cs +++ b/CDP4Common/AutoGenDto/OrdinalScale.cs @@ -96,6 +96,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -143,6 +145,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -204,6 +210,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/ParameterType.cs b/CDP4Common/AutoGenDto/ParameterType.cs index 4ae945647..31b486862 100644 --- a/CDP4Common/AutoGenDto/ParameterType.cs +++ b/CDP4Common/AutoGenDto/ParameterType.cs @@ -126,6 +126,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -166,6 +168,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -215,6 +221,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + if (this.Category != null) { dictionary.Add("Category", new [] { this.Category }); @@ -150,6 +152,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": if (addModelErrors) { @@ -212,6 +218,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + var copyCategory = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.Category); this.Category = copyCategory.Value == null ? original.Category : copyCategory.Value.Iid; diff --git a/CDP4Common/AutoGenDto/ParticipantRole.cs b/CDP4Common/AutoGenDto/ParticipantRole.cs index 72d261b4c..f42a6f963 100644 --- a/CDP4Common/AutoGenDto/ParticipantRole.cs +++ b/CDP4Common/AutoGenDto/ParticipantRole.cs @@ -118,6 +118,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -158,6 +160,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -207,6 +213,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/PersonRole.cs b/CDP4Common/AutoGenDto/PersonRole.cs index 7e88634db..d9b5e04a2 100644 --- a/CDP4Common/AutoGenDto/PersonRole.cs +++ b/CDP4Common/AutoGenDto/PersonRole.cs @@ -118,6 +118,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -158,6 +160,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -207,6 +213,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/PossibleFiniteState.cs b/CDP4Common/AutoGenDto/PossibleFiniteState.cs index 39c0a66ca..0c1492e74 100644 --- a/CDP4Common/AutoGenDto/PossibleFiniteState.cs +++ b/CDP4Common/AutoGenDto/PossibleFiniteState.cs @@ -103,6 +103,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -141,6 +143,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -186,6 +192,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/PossibleFiniteStateList.cs b/CDP4Common/AutoGenDto/PossibleFiniteStateList.cs index 3ffa5c5b3..2095f8093 100644 --- a/CDP4Common/AutoGenDto/PossibleFiniteStateList.cs +++ b/CDP4Common/AutoGenDto/PossibleFiniteStateList.cs @@ -134,6 +134,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); if (this.DefaultState != null) @@ -184,6 +186,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -245,6 +251,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/PrefixedUnit.cs b/CDP4Common/AutoGenDto/PrefixedUnit.cs index 5b18079b8..44887d90a 100644 --- a/CDP4Common/AutoGenDto/PrefixedUnit.cs +++ b/CDP4Common/AutoGenDto/PrefixedUnit.cs @@ -138,6 +138,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -186,6 +188,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -247,6 +253,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/QuantityKind.cs b/CDP4Common/AutoGenDto/QuantityKind.cs index d9378bab8..0d2e27717 100644 --- a/CDP4Common/AutoGenDto/QuantityKind.cs +++ b/CDP4Common/AutoGenDto/QuantityKind.cs @@ -154,6 +154,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); if (this.DefaultScale != null) @@ -201,6 +203,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -262,6 +268,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -136,6 +138,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -197,6 +203,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/ReferenceDataLibrary.cs b/CDP4Common/AutoGenDto/ReferenceDataLibrary.cs index 16a694b4b..2b91cecaf 100644 --- a/CDP4Common/AutoGenDto/ReferenceDataLibrary.cs +++ b/CDP4Common/AutoGenDto/ReferenceDataLibrary.cs @@ -217,6 +217,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("BaseUnit", this.BaseUnit); dictionary.Add("Constant", this.Constant); @@ -282,6 +284,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "BaseUnit": this.BaseUnit.Remove(id); break; @@ -375,6 +381,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -204,6 +206,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -261,6 +267,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + this.Author = original.Author; foreach (var guid in original.Category) diff --git a/CDP4Common/AutoGenDto/ReferencerRule.cs b/CDP4Common/AutoGenDto/ReferencerRule.cs index 873a729c4..649206be2 100644 --- a/CDP4Common/AutoGenDto/ReferencerRule.cs +++ b/CDP4Common/AutoGenDto/ReferencerRule.cs @@ -119,6 +119,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -164,6 +166,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -226,6 +232,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Requirement.cs b/CDP4Common/AutoGenDto/Requirement.cs index bb9e86a52..35e95df04 100644 --- a/CDP4Common/AutoGenDto/Requirement.cs +++ b/CDP4Common/AutoGenDto/Requirement.cs @@ -134,6 +134,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -186,6 +188,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -251,6 +257,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/RequirementsContainer.cs b/CDP4Common/AutoGenDto/RequirementsContainer.cs index 1e27cf880..13691987a 100644 --- a/CDP4Common/AutoGenDto/RequirementsContainer.cs +++ b/CDP4Common/AutoGenDto/RequirementsContainer.cs @@ -130,6 +130,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -179,6 +181,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -244,6 +250,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -138,6 +140,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -203,6 +209,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/RequirementsSpecification.cs b/CDP4Common/AutoGenDto/RequirementsSpecification.cs index 72fa39fe3..bda906487 100644 --- a/CDP4Common/AutoGenDto/RequirementsSpecification.cs +++ b/CDP4Common/AutoGenDto/RequirementsSpecification.cs @@ -118,6 +118,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -169,6 +171,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -238,6 +244,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Rule.cs b/CDP4Common/AutoGenDto/Rule.cs index 2c92fac5f..fe314274a 100644 --- a/CDP4Common/AutoGenDto/Rule.cs +++ b/CDP4Common/AutoGenDto/Rule.cs @@ -96,6 +96,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -134,6 +136,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -179,6 +185,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -161,6 +163,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -214,6 +220,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/SampledFunctionParameterType.cs b/CDP4Common/AutoGenDto/SampledFunctionParameterType.cs index 50b3d040b..ff60aaaf2 100644 --- a/CDP4Common/AutoGenDto/SampledFunctionParameterType.cs +++ b/CDP4Common/AutoGenDto/SampledFunctionParameterType.cs @@ -138,6 +138,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -178,6 +180,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -227,6 +233,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/ScalarParameterType.cs b/CDP4Common/AutoGenDto/ScalarParameterType.cs index 1b70fdb79..9236de37a 100644 --- a/CDP4Common/AutoGenDto/ScalarParameterType.cs +++ b/CDP4Common/AutoGenDto/ScalarParameterType.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -129,6 +131,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -178,6 +184,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -134,6 +136,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -179,6 +185,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/SimpleParameterizableThing.cs b/CDP4Common/AutoGenDto/SimpleParameterizableThing.cs index c2f4e4add..dd378c821 100644 --- a/CDP4Common/AutoGenDto/SimpleParameterizableThing.cs +++ b/CDP4Common/AutoGenDto/SimpleParameterizableThing.cs @@ -109,6 +109,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -154,6 +156,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -211,6 +217,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); if (this.DefaultScale != null) @@ -136,6 +138,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -197,6 +203,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/SimpleUnit.cs b/CDP4Common/AutoGenDto/SimpleUnit.cs index 9011a2132..11befa26c 100644 --- a/CDP4Common/AutoGenDto/SimpleUnit.cs +++ b/CDP4Common/AutoGenDto/SimpleUnit.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -127,6 +129,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -172,6 +178,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/SiteReferenceDataLibrary.cs b/CDP4Common/AutoGenDto/SiteReferenceDataLibrary.cs index 8df7cb06f..f8960b2b5 100644 --- a/CDP4Common/AutoGenDto/SiteReferenceDataLibrary.cs +++ b/CDP4Common/AutoGenDto/SiteReferenceDataLibrary.cs @@ -96,6 +96,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("BaseUnit", this.BaseUnit); dictionary.Add("Constant", this.Constant); @@ -161,6 +163,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "BaseUnit": this.BaseUnit.Remove(id); break; @@ -254,6 +260,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var orderedItem in original.BaseQuantityKind) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == Guid.Parse(orderedItem.V.ToString())); diff --git a/CDP4Common/AutoGenDto/SpecializedQuantityKind.cs b/CDP4Common/AutoGenDto/SpecializedQuantityKind.cs index a74858993..faef40e08 100644 --- a/CDP4Common/AutoGenDto/SpecializedQuantityKind.cs +++ b/CDP4Common/AutoGenDto/SpecializedQuantityKind.cs @@ -96,6 +96,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); if (this.DefaultScale != null) @@ -148,6 +150,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -217,6 +223,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/StakeHolderValueMap.cs b/CDP4Common/AutoGenDto/StakeHolderValueMap.cs index 8db34d267..1eb93b467 100644 --- a/CDP4Common/AutoGenDto/StakeHolderValueMap.cs +++ b/CDP4Common/AutoGenDto/StakeHolderValueMap.cs @@ -157,6 +157,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -207,6 +209,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -281,6 +287,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Stakeholder.cs b/CDP4Common/AutoGenDto/Stakeholder.cs index c17ea22cc..9663bda0e 100644 --- a/CDP4Common/AutoGenDto/Stakeholder.cs +++ b/CDP4Common/AutoGenDto/Stakeholder.cs @@ -108,6 +108,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -150,6 +152,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -203,6 +209,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/StakeholderValue.cs b/CDP4Common/AutoGenDto/StakeholderValue.cs index 0182f0e52..3566c635c 100644 --- a/CDP4Common/AutoGenDto/StakeholderValue.cs +++ b/CDP4Common/AutoGenDto/StakeholderValue.cs @@ -99,6 +99,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -139,6 +141,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -188,6 +194,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/Term.cs b/CDP4Common/AutoGenDto/Term.cs index 7355cf331..7c8cdcb46 100644 --- a/CDP4Common/AutoGenDto/Term.cs +++ b/CDP4Common/AutoGenDto/Term.cs @@ -96,6 +96,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -134,6 +136,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -179,6 +185,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Definition) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/TextParameterType.cs b/CDP4Common/AutoGenDto/TextParameterType.cs index af18b91ca..f615f2ddc 100644 --- a/CDP4Common/AutoGenDto/TextParameterType.cs +++ b/CDP4Common/AutoGenDto/TextParameterType.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -129,6 +131,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -178,6 +184,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/TimeOfDayParameterType.cs b/CDP4Common/AutoGenDto/TimeOfDayParameterType.cs index 89062f1f4..d5e86ae6c 100644 --- a/CDP4Common/AutoGenDto/TimeOfDayParameterType.cs +++ b/CDP4Common/AutoGenDto/TimeOfDayParameterType.cs @@ -89,6 +89,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -129,6 +131,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -178,6 +184,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenDto/UnitPrefix.cs b/CDP4Common/AutoGenDto/UnitPrefix.cs index 1bd1004d9..cbbc20bed 100644 --- a/CDP4Common/AutoGenDto/UnitPrefix.cs +++ b/CDP4Common/AutoGenDto/UnitPrefix.cs @@ -103,6 +103,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Definition", this.Definition); dictionary.Add("ExcludedDomain", this.ExcludedDomain); @@ -141,6 +143,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Definition": this.Definition.Remove(id); break; @@ -186,6 +192,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + this.ConversionFactor = original.ConversionFactor; foreach (var guid in original.Definition) diff --git a/CDP4Common/AutoGenDto/ValueGroup.cs b/CDP4Common/AutoGenDto/ValueGroup.cs index e0695ff43..edee4fc2f 100644 --- a/CDP4Common/AutoGenDto/ValueGroup.cs +++ b/CDP4Common/AutoGenDto/ValueGroup.cs @@ -99,6 +99,8 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("Alias", this.Alias); + dictionary.Add("Attachment", this.Attachment); + dictionary.Add("Category", this.Category); dictionary.Add("Definition", this.Definition); @@ -139,6 +141,10 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.Alias.Remove(id); break; + case "Attachment": + this.Attachment.Remove(id); + break; + case "Category": this.Category.Remove(id); break; @@ -188,6 +194,13 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List kvp.Key.Iid == guid); + if (Equals(copy, default(KeyValuePair))) + { + throw new InvalidOperationException($"The copy could not be found for {guid}"); + } + + this.Attachment.Add(copy.Value.Iid); + } + foreach (var guid in original.Category) { var copy = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == guid); diff --git a/CDP4Common/AutoGenEquatable/ActionItemEquatable.cs b/CDP4Common/AutoGenEquatable/ActionItemEquatable.cs index 2099f5a6d..52652d8da 100644 --- a/CDP4Common/AutoGenEquatable/ActionItemEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ActionItemEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -56,6 +56,7 @@ | 22 | status | AnnotationStatusKind | 1..1 | 1.1.0 | | 23 | title | string | 1..1 | 1.1.0 | | 24 | thingPreference | string | 0..1 | 1.2.0 | + | 25 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -149,6 +150,9 @@ public static bool ArePropertiesEqual(this ActionItem me, ActionItem other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ActualFiniteStateEquatable.cs b/CDP4Common/AutoGenEquatable/ActualFiniteStateEquatable.cs index c28db490e..394adeb3c 100644 --- a/CDP4Common/AutoGenEquatable/ActualFiniteStateEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ActualFiniteStateEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,6 +92,9 @@ public static bool ArePropertiesEqual(this ActualFiniteState me, ActualFiniteSta if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ActualFiniteStateListEquatable.cs b/CDP4Common/AutoGenEquatable/ActualFiniteStateListEquatable.cs index 5e480438d..ee1629eb6 100644 --- a/CDP4Common/AutoGenEquatable/ActualFiniteStateListEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ActualFiniteStateListEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -41,6 +41,7 @@ | 7 | excludedPerson | Guid | 0..* | 1.1.0 | | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,6 +99,9 @@ public static bool ArePropertiesEqual(this ActualFiniteStateList me, ActualFinit if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/AliasEquatable.cs b/CDP4Common/AutoGenEquatable/AliasEquatable.cs index 6d2f7f1d7..db7ff1429 100644 --- a/CDP4Common/AutoGenEquatable/AliasEquatable.cs +++ b/CDP4Common/AutoGenEquatable/AliasEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -96,6 +97,9 @@ public static bool ArePropertiesEqual(this Alias me, Alias other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/AndExpressionEquatable.cs b/CDP4Common/AutoGenEquatable/AndExpressionEquatable.cs index cdd482882..fb545d69f 100644 --- a/CDP4Common/AutoGenEquatable/AndExpressionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/AndExpressionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -38,6 +38,7 @@ | 4 | excludedPerson | Guid | 0..* | 1.1.0 | | 5 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 6 | thingPreference | string | 0..1 | 1.2.0 | + | 7 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +89,9 @@ public static bool ArePropertiesEqual(this AndExpression me, AndExpression other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ApprovalEquatable.cs b/CDP4Common/AutoGenEquatable/ApprovalEquatable.cs index 4f6e0008d..bccefea46 100644 --- a/CDP4Common/AutoGenEquatable/ApprovalEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ApprovalEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | owner | Guid | 1..1 | 1.1.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -105,6 +106,9 @@ public static bool ArePropertiesEqual(this Approval me, Approval other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs b/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs new file mode 100644 index 000000000..c15029cc5 --- /dev/null +++ b/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs @@ -0,0 +1,126 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | createdOn | DateTime | 1..1 | 1.4.0 | + | 9 | description | string | 1..1 | 1.4.0 | + | 10 | diagramElement | Guid | 0..* | 1.4.0 | + | 11 | name | string | 1..1 | 1.4.0 | + | 12 | owner | Guid | 1..1 | 1.4.0 | + | 13 | publicationState | PublicationState | 1..1 | 1.4.0 | + | 14 | topArchitectureElement | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4Common.DTO.Equatable +{ + using System.Linq; + + using CDP4Common.DTO; + + /// + /// An extension class for the to support the computation + /// of property based equality + /// + public static class ArchitectureDiagramEquatable + { + /// + /// Determines whether 2 objects are the same + /// by comparing all the properties + /// + /// + /// The current + /// + /// + /// The that the is + /// compared to + /// + /// + /// returns true when all the properties of the objects + /// have the same value + /// + public static bool ArePropertiesEqual(this ArchitectureDiagram me, ArchitectureDiagram other) + { + if (me == null && other == null) return true; + + if (me == null || other == null) return false; + + if (!me.Iid.Equals(other.Iid)) return false; + + if (!me.RevisionNumber.Equals(other.RevisionNumber)) return false; + + if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; + + if (!me.ExcludedPerson.OrderBy(x => x).SequenceEqual(other.ExcludedPerson.OrderBy(x => x))) return false; + + if (!me.ModifiedOn.Equals(other.ModifiedOn)) return false; + + if (me.ThingPreference == null && other.ThingPreference != null) return false; + if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (!me.Bounds.OrderBy(x => x).SequenceEqual(other.Bounds.OrderBy(x => x))) return false; + + if (!me.CreatedOn.Equals(other.CreatedOn)) return false; + + if (me.Description == null && other.Description != null) return false; + if (me.Description != null && !me.Description.Equals(other.Description)) return false; + + if (!me.DiagramElement.OrderBy(x => x).SequenceEqual(other.DiagramElement.OrderBy(x => x))) return false; + + if (me.Name == null && other.Name != null) return false; + if (me.Name != null && !me.Name.Equals(other.Name)) return false; + + if (!me.Owner.Equals(other.Owner)) return false; + + if (!me.PublicationState.Equals(other.PublicationState)) return false; + + if (me.TopArchitectureElement.HasValue != other.TopArchitectureElement.HasValue) return false; + if (!me.TopArchitectureElement.Equals(other.TopArchitectureElement)) return false; + + return true; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenEquatable/ArchitectureElementEquatable.cs b/CDP4Common/AutoGenEquatable/ArchitectureElementEquatable.cs new file mode 100644 index 000000000..612dde82f --- /dev/null +++ b/CDP4Common/AutoGenEquatable/ArchitectureElementEquatable.cs @@ -0,0 +1,127 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | depictedThing | Guid | 0..1 | 1.4.0 | + | 9 | diagramElement | Guid | 0..* | 1.4.0 | + | 10 | documentation | string | 1..1 | 1.4.0 | + | 11 | localStyle | Guid | 0..1 | 1.4.0 | + | 12 | name | string | 1..1 | 1.4.0 | + | 13 | resolution | float | 1..1 | 1.4.0 | + | 14 | sharedStyle | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4Common.DTO.Equatable +{ + using System.Linq; + + using CDP4Common.DTO; + + /// + /// An extension class for the to support the computation + /// of property based equality + /// + public static class ArchitectureElementEquatable + { + /// + /// Determines whether 2 objects are the same + /// by comparing all the properties + /// + /// + /// The current + /// + /// + /// The that the is + /// compared to + /// + /// + /// returns true when all the properties of the objects + /// have the same value + /// + public static bool ArePropertiesEqual(this ArchitectureElement me, ArchitectureElement other) + { + if (me == null && other == null) return true; + + if (me == null || other == null) return false; + + if (!me.Iid.Equals(other.Iid)) return false; + + if (!me.RevisionNumber.Equals(other.RevisionNumber)) return false; + + if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; + + if (!me.ExcludedPerson.OrderBy(x => x).SequenceEqual(other.ExcludedPerson.OrderBy(x => x))) return false; + + if (!me.ModifiedOn.Equals(other.ModifiedOn)) return false; + + if (me.ThingPreference == null && other.ThingPreference != null) return false; + if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (!me.Bounds.OrderBy(x => x).SequenceEqual(other.Bounds.OrderBy(x => x))) return false; + + if (me.DepictedThing.HasValue != other.DepictedThing.HasValue) return false; + if (!me.DepictedThing.Equals(other.DepictedThing)) return false; + + if (!me.DiagramElement.OrderBy(x => x).SequenceEqual(other.DiagramElement.OrderBy(x => x))) return false; + + if (me.Documentation == null && other.Documentation != null) return false; + if (me.Documentation != null && !me.Documentation.Equals(other.Documentation)) return false; + + if (!me.LocalStyle.OrderBy(x => x).SequenceEqual(other.LocalStyle.OrderBy(x => x))) return false; + + if (me.Name == null && other.Name != null) return false; + if (me.Name != null && !me.Name.Equals(other.Name)) return false; + + if (!me.Resolution.Equals(other.Resolution)) return false; + + if (me.SharedStyle.HasValue != other.SharedStyle.HasValue) return false; + if (!me.SharedStyle.Equals(other.SharedStyle)) return false; + + return true; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs index 220d60ea5..62a7fb8f9 100644 --- a/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,21 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | component | Guid | 1..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | dimension | int | 1..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | isFinalized | bool | 1..1 | 1.0.0 | - | 10 | isTensor | bool | 1..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | component | Guid | 1..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | dimension | int | 1..* | 1.0.0 | + | 8 | hyperLink | Guid | 0..* | 1.0.0 | + | 9 | isDeprecated | bool | 1..1 | 1.0.0 | + | 10 | isFinalized | bool | 1..1 | 1.0.0 | + | 11 | isTensor | bool | 1..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | symbol | string | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,6 +92,8 @@ public static bool ArePropertiesEqual(this ArrayParameterType me, ArrayParameter if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Component.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.Component.OrderBy(x => x.K).Select(x => x.K))) return false; @@ -126,6 +130,9 @@ public static bool ArePropertiesEqual(this ArrayParameterType me, ArrayParameter if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/AttachmentEquatable.cs b/CDP4Common/AutoGenEquatable/AttachmentEquatable.cs new file mode 100644 index 000000000..53ecd0697 --- /dev/null +++ b/CDP4Common/AutoGenEquatable/AttachmentEquatable.cs @@ -0,0 +1,110 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | contentHash | string | 1..1 | 1.4.0 | + | 8 | fileName | string | 1..1 | 1.4.0 | + | 9 | fileType | Guid | 1..* | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4Common.DTO.Equatable +{ + using System.Linq; + + using CDP4Common.DTO; + + /// + /// An extension class for the to support the computation + /// of property based equality + /// + public static class AttachmentEquatable + { + /// + /// Determines whether 2 objects are the same + /// by comparing all the properties + /// + /// + /// The current + /// + /// + /// The that the is + /// compared to + /// + /// + /// returns true when all the properties of the objects + /// have the same value + /// + public static bool ArePropertiesEqual(this Attachment me, Attachment other) + { + if (me == null && other == null) return true; + + if (me == null || other == null) return false; + + if (!me.Iid.Equals(other.Iid)) return false; + + if (!me.RevisionNumber.Equals(other.RevisionNumber)) return false; + + if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; + + if (!me.ExcludedPerson.OrderBy(x => x).SequenceEqual(other.ExcludedPerson.OrderBy(x => x))) return false; + + if (!me.ModifiedOn.Equals(other.ModifiedOn)) return false; + + if (me.ThingPreference == null && other.ThingPreference != null) return false; + if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (me.ContentHash == null && other.ContentHash != null) return false; + if (me.ContentHash != null && !me.ContentHash.Equals(other.ContentHash)) return false; + + if (me.FileName == null && other.FileName != null) return false; + if (me.FileName != null && !me.FileName.Equals(other.FileName)) return false; + + if (!me.FileType.OrderBy(x => x).SequenceEqual(other.FileType.OrderBy(x => x))) return false; + + return true; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenEquatable/BehaviorEquatable.cs b/CDP4Common/AutoGenEquatable/BehaviorEquatable.cs new file mode 100644 index 000000000..c54f1409c --- /dev/null +++ b/CDP4Common/AutoGenEquatable/BehaviorEquatable.cs @@ -0,0 +1,129 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | alias | Guid | 0..* | 1.4.0 | + | 8 | attachment | Guid | 0..* | 1.4.0 | + | 9 | behavioralModelKind | BehavioralModelKind | 1..1 | 1.4.0 | + | 10 | behavioralParameter | Guid | 0..* | 1.4.0 | + | 11 | definition | Guid | 0..* | 1.4.0 | + | 12 | hyperLink | Guid | 0..* | 1.4.0 | + | 13 | name | string | 1..1 | 1.4.0 | + | 14 | script | string | 0..1 | 1.4.0 | + | 15 | shortName | string | 1..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4Common.DTO.Equatable +{ + using System.Linq; + + using CDP4Common.DTO; + + /// + /// An extension class for the to support the computation + /// of property based equality + /// + public static class BehaviorEquatable + { + /// + /// Determines whether 2 objects are the same + /// by comparing all the properties + /// + /// + /// The current + /// + /// + /// The that the is + /// compared to + /// + /// + /// returns true when all the properties of the objects + /// have the same value + /// + public static bool ArePropertiesEqual(this Behavior me, Behavior other) + { + if (me == null && other == null) return true; + + if (me == null || other == null) return false; + + if (!me.Iid.Equals(other.Iid)) return false; + + if (!me.RevisionNumber.Equals(other.RevisionNumber)) return false; + + if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; + + if (!me.ExcludedPerson.OrderBy(x => x).SequenceEqual(other.ExcludedPerson.OrderBy(x => x))) return false; + + if (!me.ModifiedOn.Equals(other.ModifiedOn)) return false; + + if (me.ThingPreference == null && other.ThingPreference != null) return false; + if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + + if (!me.BehavioralModelKind.Equals(other.BehavioralModelKind)) return false; + + if (!me.BehavioralParameter.OrderBy(x => x).SequenceEqual(other.BehavioralParameter.OrderBy(x => x))) return false; + + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; + + if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; + + if (me.Name == null && other.Name != null) return false; + if (me.Name != null && !me.Name.Equals(other.Name)) return false; + + if (me.Script == null && other.Script != null) return false; + if (me.Script != null && !me.Script.Equals(other.Script)) return false; + + if (me.ShortName == null && other.ShortName != null) return false; + if (me.ShortName != null && !me.ShortName.Equals(other.ShortName)) return false; + + return true; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenEquatable/BehavioralParameterEquatable.cs b/CDP4Common/AutoGenEquatable/BehavioralParameterEquatable.cs new file mode 100644 index 000000000..425f85f1b --- /dev/null +++ b/CDP4Common/AutoGenEquatable/BehavioralParameterEquatable.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | behavioralParameterKind | BehavioralParameterKind | 1..1 | 1.4.0 | + | 8 | parameter | Guid | 1..1 | 1.4.0 | + | 9 | variableName | string | 1..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4Common.DTO.Equatable +{ + using System.Linq; + + using CDP4Common.DTO; + + /// + /// An extension class for the to support the computation + /// of property based equality + /// + public static class BehavioralParameterEquatable + { + /// + /// Determines whether 2 objects are the same + /// by comparing all the properties + /// + /// + /// The current + /// + /// + /// The that the is + /// compared to + /// + /// + /// returns true when all the properties of the objects + /// have the same value + /// + public static bool ArePropertiesEqual(this BehavioralParameter me, BehavioralParameter other) + { + if (me == null && other == null) return true; + + if (me == null || other == null) return false; + + if (!me.Iid.Equals(other.Iid)) return false; + + if (!me.RevisionNumber.Equals(other.RevisionNumber)) return false; + + if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; + + if (!me.ExcludedPerson.OrderBy(x => x).SequenceEqual(other.ExcludedPerson.OrderBy(x => x))) return false; + + if (!me.ModifiedOn.Equals(other.ModifiedOn)) return false; + + if (me.ThingPreference == null && other.ThingPreference != null) return false; + if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (!me.BehavioralParameterKind.Equals(other.BehavioralParameterKind)) return false; + + if (!me.Parameter.Equals(other.Parameter)) return false; + + if (me.VariableName == null && other.VariableName != null) return false; + if (me.VariableName != null && !me.VariableName.Equals(other.VariableName)) return false; + + return true; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenEquatable/BinaryNoteEquatable.cs b/CDP4Common/AutoGenEquatable/BinaryNoteEquatable.cs index d0f856332..00a01d1f5 100644 --- a/CDP4Common/AutoGenEquatable/BinaryNoteEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BinaryNoteEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -44,6 +44,7 @@ | 10 | owner | Guid | 1..1 | 1.1.0 | | 11 | shortName | string | 1..1 | 1.1.0 | | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -109,6 +110,9 @@ public static bool ArePropertiesEqual(this BinaryNote me, BinaryNote other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BinaryRelationshipEquatable.cs b/CDP4Common/AutoGenEquatable/BinaryRelationshipEquatable.cs index 13902eb76..c5bb145e5 100644 --- a/CDP4Common/AutoGenEquatable/BinaryRelationshipEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BinaryRelationshipEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | parameterValue | Guid | 0..* | 1.1.0 | | 10 | name | string | 0..1 | 1.2.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -104,6 +105,9 @@ public static bool ArePropertiesEqual(this BinaryRelationship me, BinaryRelation if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs b/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs index fa7453fc4..2b44b4160 100644 --- a/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,20 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | forwardRelationshipName | string | 1..1 | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | inverseRelationshipName | string | 1..1 | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | sourceCategory | Guid | 1..1 | 1.0.0 | - | 12 | targetCategory | Guid | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | forwardRelationshipName | string | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | inverseRelationshipName | string | 1..1 | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | sourceCategory | Guid | 1..1 | 1.0.0 | + | 13 | targetCategory | Guid | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,6 +91,8 @@ public static bool ArePropertiesEqual(this BinaryRelationshipRule me, BinaryRela if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (me.ForwardRelationshipName == null && other.ForwardRelationshipName != null) return false; @@ -122,6 +126,9 @@ public static bool ArePropertiesEqual(this BinaryRelationshipRule me, BinaryRela if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BookEquatable.cs b/CDP4Common/AutoGenEquatable/BookEquatable.cs index 333757994..7bbd621d2 100644 --- a/CDP4Common/AutoGenEquatable/BookEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BookEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | section | Guid | 0..* | 1.1.0 | | 10 | shortName | string | 1..1 | 1.1.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -106,6 +107,9 @@ public static bool ArePropertiesEqual(this Book me, Book other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs index 616f1f451..850ed4086 100644 --- a/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this BooleanParameterType me, BooleanParam if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +116,9 @@ public static bool ArePropertiesEqual(this BooleanParameterType me, BooleanParam if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BoundsEquatable.cs b/CDP4Common/AutoGenEquatable/BoundsEquatable.cs index fab6561f0..635e081e0 100644 --- a/CDP4Common/AutoGenEquatable/BoundsEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BoundsEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | x | float | 1..1 | 1.1.0 | | 9 | y | float | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -101,6 +102,9 @@ public static bool ArePropertiesEqual(this Bounds me, Bounds other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BuiltInRuleVerificationEquatable.cs b/CDP4Common/AutoGenEquatable/BuiltInRuleVerificationEquatable.cs index 91ad6f1d6..89096dc73 100644 --- a/CDP4Common/AutoGenEquatable/BuiltInRuleVerificationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BuiltInRuleVerificationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | excludedPerson | Guid | 0..* | 1.1.0 | | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -102,6 +103,9 @@ public static bool ArePropertiesEqual(this BuiltInRuleVerification me, BuiltInRu if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CategoryEquatable.cs b/CDP4Common/AutoGenEquatable/CategoryEquatable.cs index 2ee6acbfc..5563fc377 100644 --- a/CDP4Common/AutoGenEquatable/CategoryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CategoryEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,18 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isAbstract | bool | 1..1 | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | permissibleClass | ClassKind | 1..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | superCategory | Guid | 0..* | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isAbstract | bool | 1..1 | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | permissibleClass | ClassKind | 1..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | superCategory | Guid | 0..* | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,6 +89,8 @@ public static bool ArePropertiesEqual(this Category me, Category other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -114,6 +118,9 @@ public static bool ArePropertiesEqual(this Category me, Category other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ChangeProposalEquatable.cs b/CDP4Common/AutoGenEquatable/ChangeProposalEquatable.cs index b5e1a4be7..511445ff7 100644 --- a/CDP4Common/AutoGenEquatable/ChangeProposalEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ChangeProposalEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -53,6 +53,7 @@ | 19 | status | AnnotationStatusKind | 1..1 | 1.1.0 | | 20 | title | string | 1..1 | 1.1.0 | | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -138,6 +139,9 @@ public static bool ArePropertiesEqual(this ChangeProposal me, ChangeProposal oth if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ChangeRequestEquatable.cs b/CDP4Common/AutoGenEquatable/ChangeRequestEquatable.cs index 8b1b15dc7..7c56dbacc 100644 --- a/CDP4Common/AutoGenEquatable/ChangeRequestEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ChangeRequestEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +52,7 @@ | 18 | status | AnnotationStatusKind | 1..1 | 1.1.0 | | 19 | title | string | 1..1 | 1.1.0 | | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -135,6 +136,9 @@ public static bool ArePropertiesEqual(this ChangeRequest me, ChangeRequest other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CitationEquatable.cs b/CDP4Common/AutoGenEquatable/CitationEquatable.cs index df333bc14..49139dd4a 100644 --- a/CDP4Common/AutoGenEquatable/CitationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CitationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | excludedPerson | Guid | 0..* | 1.1.0 | | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -103,6 +104,9 @@ public static bool ArePropertiesEqual(this Citation me, Citation other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ColorEquatable.cs b/CDP4Common/AutoGenEquatable/ColorEquatable.cs index 9a0fb3c16..0072c303f 100644 --- a/CDP4Common/AutoGenEquatable/ColorEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ColorEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -41,6 +41,7 @@ | 7 | excludedPerson | Guid | 0..* | 1.1.0 | | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,6 +99,9 @@ public static bool ArePropertiesEqual(this Color me, Color other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CommonFileStoreEquatable.cs b/CDP4Common/AutoGenEquatable/CommonFileStoreEquatable.cs index e67e98beb..cc30e9b7c 100644 --- a/CDP4Common/AutoGenEquatable/CommonFileStoreEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CommonFileStoreEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | excludedPerson | Guid | 0..* | 1.1.0 | | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -101,6 +102,9 @@ public static bool ArePropertiesEqual(this CommonFileStore me, CommonFileStore o if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs index 258b4f5f8..affffa486 100644 --- a/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,19 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | component | Guid | 1..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | isFinalized | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | symbol | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | component | Guid | 1..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | isFinalized | bool | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | symbol | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +90,8 @@ public static bool ArePropertiesEqual(this CompoundParameterType me, CompoundPar if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Component.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.Component.OrderBy(x => x.K).Select(x => x.K))) return false; @@ -119,6 +123,9 @@ public static bool ArePropertiesEqual(this CompoundParameterType me, CompoundPar if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ConstantEquatable.cs b/CDP4Common/AutoGenEquatable/ConstantEquatable.cs index 8d4db5239..edeb41628 100644 --- a/CDP4Common/AutoGenEquatable/ConstantEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ConstantEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,19 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | parameterType | Guid | 1..1 | 1.0.0 | - | 9 | scale | Guid | 0..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | value | ValueArray | 1..* | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | parameterType | Guid | 1..1 | 1.0.0 | + | 10 | scale | Guid | 0..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | value | ValueArray | 1..* | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +90,8 @@ public static bool ArePropertiesEqual(this Constant me, Constant other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -118,6 +122,9 @@ public static bool ArePropertiesEqual(this Constant me, Constant other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ContractChangeNoticeEquatable.cs b/CDP4Common/AutoGenEquatable/ContractChangeNoticeEquatable.cs index 4d5aea3a3..eed95bf09 100644 --- a/CDP4Common/AutoGenEquatable/ContractChangeNoticeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ContractChangeNoticeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -53,6 +53,7 @@ | 19 | status | AnnotationStatusKind | 1..1 | 1.1.0 | | 20 | title | string | 1..1 | 1.1.0 | | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -138,6 +139,9 @@ public static bool ArePropertiesEqual(this ContractChangeNotice me, ContractChan if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs b/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs index 52fffbd8e..aaa70239d 100644 --- a/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,26 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | modulus | string | 1..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | modulus | string | 1..1 | 1.0.0 | + | 13 | name | string | 1..1 | 1.0.0 | + | 14 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 15 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 16 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 17 | shortName | string | 1..1 | 1.0.0 | + | 18 | unit | Guid | 1..1 | 1.0.0 | + | 19 | valueDefinition | Guid | 0..* | 1.0.0 | + | 20 | excludedDomain | Guid | 0..* | 1.1.0 | + | 21 | excludedPerson | Guid | 0..* | 1.1.0 | + | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 23 | thingPreference | string | 0..1 | 1.2.0 | + | 24 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -95,6 +97,8 @@ public static bool ArePropertiesEqual(this CyclicRatioScale me, CyclicRatioScale if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -143,6 +147,9 @@ public static bool ArePropertiesEqual(this CyclicRatioScale me, CyclicRatioScale if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs index b2c2d8332..7d79941a5 100644 --- a/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this DateParameterType me, DateParameterTy if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +116,9 @@ public static bool ArePropertiesEqual(this DateParameterType me, DateParameterTy if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs index 0ae13479a..8fdfa7715 100644 --- a/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this DateTimeParameterType me, DateTimePar if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +116,9 @@ public static bool ArePropertiesEqual(this DateTimeParameterType me, DateTimePar if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs b/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs index 88da68d20..b0da37fd3 100644 --- a/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,19 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | containedCategory | Guid | 1..* | 1.0.0 | - | 4 | containingCategory | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | maxContained | int | 0..1 | 1.0.0 | - | 9 | minContained | int | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | containedCategory | Guid | 1..* | 1.0.0 | + | 5 | containingCategory | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | maxContained | int | 0..1 | 1.0.0 | + | 10 | minContained | int | 1..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +90,8 @@ public static bool ArePropertiesEqual(this DecompositionRule me, DecompositionRu if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.ContainedCategory.OrderBy(x => x).SequenceEqual(other.ContainedCategory.OrderBy(x => x))) return false; if (!me.ContainingCategory.Equals(other.ContainingCategory)) return false; @@ -118,6 +122,9 @@ public static bool ArePropertiesEqual(this DecompositionRule me, DecompositionRu if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DefinitionEquatable.cs b/CDP4Common/AutoGenEquatable/DefinitionEquatable.cs index 21270c63e..1ef826b10 100644 --- a/CDP4Common/AutoGenEquatable/DefinitionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DefinitionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | excludedPerson | Guid | 0..* | 1.1.0 | | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -104,6 +105,9 @@ public static bool ArePropertiesEqual(this Definition me, Definition other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DependentParameterTypeAssignmentEquatable.cs b/CDP4Common/AutoGenEquatable/DependentParameterTypeAssignmentEquatable.cs index dc2f82159..8151f5bd1 100644 --- a/CDP4Common/AutoGenEquatable/DependentParameterTypeAssignmentEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DependentParameterTypeAssignmentEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | measurementScale | Guid | 0..1 | 1.2.0 | | 6 | parameterType | Guid | 1..1 | 1.2.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this DependentParameterTypeAssignment me, if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs b/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs index c6e486e4e..c0eedbafd 100644 --- a/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,21 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultScale | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | possibleScale | Guid | 0..* | 1.0.0 | - | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 11 | quantityKindFactor | Guid | 1..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultScale | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | possibleScale | Guid | 0..* | 1.0.0 | + | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 12 | quantityKindFactor | Guid | 1..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | symbol | string | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,6 +92,8 @@ public static bool ArePropertiesEqual(this DerivedQuantityKind me, DerivedQuanti if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.DefaultScale.Equals(other.DefaultScale)) return false; @@ -126,6 +130,9 @@ public static bool ArePropertiesEqual(this DerivedQuantityKind me, DerivedQuanti if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs b/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs index 3cd7ae60c..397cb927d 100644 --- a/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | unitFactor | Guid | 1..* | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | unitFactor | Guid | 1..* | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this DerivedUnit me, DerivedUnit other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -109,6 +113,9 @@ public static bool ArePropertiesEqual(this DerivedUnit me, DerivedUnit other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs b/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs index 5a21b94bf..4102214eb 100644 --- a/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -35,12 +35,15 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | bounds | Guid | 0..1 | 1.1.0 | | 3 | createdOn | DateTime | 1..1 | 1.1.0 | - | 4 | diagramElement | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 8 | name | string | 1..1 | 1.1.0 | - | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 4 | description | string | 1..1 | 1.1.0 | + | 5 | diagramElement | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | publicationState | PublicationState | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +87,9 @@ public static bool ArePropertiesEqual(this DiagramCanvas me, DiagramCanvas other if (!me.CreatedOn.Equals(other.CreatedOn)) return false; + if (me.Description == null && other.Description != null) return false; + if (me.Description != null && !me.Description.Equals(other.Description)) return false; + if (!me.DiagramElement.OrderBy(x => x).SequenceEqual(other.DiagramElement.OrderBy(x => x))) return false; if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; @@ -95,9 +101,14 @@ public static bool ArePropertiesEqual(this DiagramCanvas me, DiagramCanvas other if (me.Name == null && other.Name != null) return false; if (me.Name != null && !me.Name.Equals(other.Name)) return false; + if (!me.PublicationState.Equals(other.PublicationState)) return false; + if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DiagramEdgeEquatable.cs b/CDP4Common/AutoGenEquatable/DiagramEdgeEquatable.cs index 9d76ca968..5067fb50f 100644 --- a/CDP4Common/AutoGenEquatable/DiagramEdgeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DiagramEdgeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -46,6 +46,7 @@ | 12 | source | Guid | 1..1 | 1.1.0 | | 13 | target | Guid | 1..1 | 1.1.0 | | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -116,6 +117,9 @@ public static bool ArePropertiesEqual(this DiagramEdge me, DiagramEdge other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DiagramFrameEquatable.cs b/CDP4Common/AutoGenEquatable/DiagramFrameEquatable.cs new file mode 100644 index 000000000..005337de8 --- /dev/null +++ b/CDP4Common/AutoGenEquatable/DiagramFrameEquatable.cs @@ -0,0 +1,120 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | depictedThing | Guid | 0..1 | 1.4.0 | + | 9 | diagramElement | Guid | 0..* | 1.4.0 | + | 10 | localStyle | Guid | 0..1 | 1.4.0 | + | 11 | name | string | 1..1 | 1.4.0 | + | 12 | sharedStyle | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4Common.DTO.Equatable +{ + using System.Linq; + + using CDP4Common.DTO; + + /// + /// An extension class for the to support the computation + /// of property based equality + /// + public static class DiagramFrameEquatable + { + /// + /// Determines whether 2 objects are the same + /// by comparing all the properties + /// + /// + /// The current + /// + /// + /// The that the is + /// compared to + /// + /// + /// returns true when all the properties of the objects + /// have the same value + /// + public static bool ArePropertiesEqual(this DiagramFrame me, DiagramFrame other) + { + if (me == null && other == null) return true; + + if (me == null || other == null) return false; + + if (!me.Iid.Equals(other.Iid)) return false; + + if (!me.RevisionNumber.Equals(other.RevisionNumber)) return false; + + if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; + + if (!me.ExcludedPerson.OrderBy(x => x).SequenceEqual(other.ExcludedPerson.OrderBy(x => x))) return false; + + if (!me.ModifiedOn.Equals(other.ModifiedOn)) return false; + + if (me.ThingPreference == null && other.ThingPreference != null) return false; + if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (!me.Bounds.OrderBy(x => x).SequenceEqual(other.Bounds.OrderBy(x => x))) return false; + + if (me.DepictedThing.HasValue != other.DepictedThing.HasValue) return false; + if (!me.DepictedThing.Equals(other.DepictedThing)) return false; + + if (!me.DiagramElement.OrderBy(x => x).SequenceEqual(other.DiagramElement.OrderBy(x => x))) return false; + + if (!me.LocalStyle.OrderBy(x => x).SequenceEqual(other.LocalStyle.OrderBy(x => x))) return false; + + if (me.Name == null && other.Name != null) return false; + if (me.Name != null && !me.Name.Equals(other.Name)) return false; + + if (me.SharedStyle.HasValue != other.SharedStyle.HasValue) return false; + if (!me.SharedStyle.Equals(other.SharedStyle)) return false; + + return true; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenEquatable/DiagramObjectEquatable.cs b/CDP4Common/AutoGenEquatable/DiagramObjectEquatable.cs index cee560bf3..87c1129a5 100644 --- a/CDP4Common/AutoGenEquatable/DiagramObjectEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DiagramObjectEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -45,6 +45,7 @@ | 11 | resolution | float | 1..1 | 1.1.0 | | 12 | sharedStyle | Guid | 0..1 | 1.1.0 | | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -113,6 +114,9 @@ public static bool ArePropertiesEqual(this DiagramObject me, DiagramObject other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DiagramPortEquatable.cs b/CDP4Common/AutoGenEquatable/DiagramPortEquatable.cs new file mode 100644 index 000000000..6cf01c113 --- /dev/null +++ b/CDP4Common/AutoGenEquatable/DiagramPortEquatable.cs @@ -0,0 +1,120 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | depictedThing | Guid | 0..1 | 1.4.0 | + | 9 | diagramElement | Guid | 0..* | 1.4.0 | + | 10 | localStyle | Guid | 0..1 | 1.4.0 | + | 11 | name | string | 1..1 | 1.4.0 | + | 12 | sharedStyle | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4Common.DTO.Equatable +{ + using System.Linq; + + using CDP4Common.DTO; + + /// + /// An extension class for the to support the computation + /// of property based equality + /// + public static class DiagramPortEquatable + { + /// + /// Determines whether 2 objects are the same + /// by comparing all the properties + /// + /// + /// The current + /// + /// + /// The that the is + /// compared to + /// + /// + /// returns true when all the properties of the objects + /// have the same value + /// + public static bool ArePropertiesEqual(this DiagramPort me, DiagramPort other) + { + if (me == null && other == null) return true; + + if (me == null || other == null) return false; + + if (!me.Iid.Equals(other.Iid)) return false; + + if (!me.RevisionNumber.Equals(other.RevisionNumber)) return false; + + if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; + + if (!me.ExcludedPerson.OrderBy(x => x).SequenceEqual(other.ExcludedPerson.OrderBy(x => x))) return false; + + if (!me.ModifiedOn.Equals(other.ModifiedOn)) return false; + + if (me.ThingPreference == null && other.ThingPreference != null) return false; + if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (!me.Bounds.OrderBy(x => x).SequenceEqual(other.Bounds.OrderBy(x => x))) return false; + + if (me.DepictedThing.HasValue != other.DepictedThing.HasValue) return false; + if (!me.DepictedThing.Equals(other.DepictedThing)) return false; + + if (!me.DiagramElement.OrderBy(x => x).SequenceEqual(other.DiagramElement.OrderBy(x => x))) return false; + + if (!me.LocalStyle.OrderBy(x => x).SequenceEqual(other.LocalStyle.OrderBy(x => x))) return false; + + if (me.Name == null && other.Name != null) return false; + if (me.Name != null && !me.Name.Equals(other.Name)) return false; + + if (me.SharedStyle.HasValue != other.SharedStyle.HasValue) return false; + if (!me.SharedStyle.Equals(other.SharedStyle)) return false; + + return true; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenEquatable/DomainFileStoreEquatable.cs b/CDP4Common/AutoGenEquatable/DomainFileStoreEquatable.cs index fccca431c..08b22cbe8 100644 --- a/CDP4Common/AutoGenEquatable/DomainFileStoreEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DomainFileStoreEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | excludedPerson | Guid | 0..* | 1.1.0 | | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -104,6 +105,9 @@ public static bool ArePropertiesEqual(this DomainFileStore me, DomainFileStore o if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs b/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs index 90ae7bc63..c9cc5c65f 100644 --- a/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this DomainOfExpertise me, DomainOfExperti if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -108,6 +112,9 @@ public static bool ArePropertiesEqual(this DomainOfExpertise me, DomainOfExperti if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs b/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs index 14e1b2451..cf66ea9a0 100644 --- a/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | domain | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | domain | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this DomainOfExpertiseGroup me, DomainOfEx if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.Domain.OrderBy(x => x).SequenceEqual(other.Domain.OrderBy(x => x))) return false; @@ -108,6 +112,9 @@ public static bool ArePropertiesEqual(this DomainOfExpertiseGroup me, DomainOfEx if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs b/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs index a21454af6..ba7ee9a28 100644 --- a/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,21 +34,24 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | containedElement | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | parameter | Guid | 0..* | 1.0.0 | - | 10 | parameterGroup | Guid | 0..* | 1.0.0 | - | 11 | referencedElement | Guid | 0..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | containedElement | Guid | 0..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | parameter | Guid | 0..* | 1.0.0 | + | 11 | parameterGroup | Guid | 0..* | 1.0.0 | + | 12 | referencedElement | Guid | 0..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | + | 20 | behavior | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,6 +93,8 @@ public static bool ArePropertiesEqual(this ElementDefinition me, ElementDefiniti if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.ContainedElement.OrderBy(x => x).SequenceEqual(other.ContainedElement.OrderBy(x => x))) return false; @@ -123,6 +128,11 @@ public static bool ArePropertiesEqual(this ElementDefinition me, ElementDefiniti if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + + if (!me.Behavior.OrderBy(x => x).SequenceEqual(other.Behavior.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs b/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs index 0eeb6a766..80eb72d84 100644 --- a/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,20 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | elementDefinition | Guid | 1..1 | 1.0.0 | - | 6 | excludeOption | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | owner | Guid | 1..1 | 1.0.0 | - | 11 | parameterOverride | Guid | 0..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | elementDefinition | Guid | 1..1 | 1.0.0 | + | 7 | excludeOption | Guid | 0..* | 1.0.0 | + | 8 | hyperLink | Guid | 0..* | 1.0.0 | + | 9 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | owner | Guid | 1..1 | 1.0.0 | + | 12 | parameterOverride | Guid | 0..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,6 +91,8 @@ public static bool ArePropertiesEqual(this ElementUsage me, ElementUsage other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -120,6 +124,9 @@ public static bool ArePropertiesEqual(this ElementUsage me, ElementUsage other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EmailAddressEquatable.cs b/CDP4Common/AutoGenEquatable/EmailAddressEquatable.cs index 66ea52904..2b164f468 100644 --- a/CDP4Common/AutoGenEquatable/EmailAddressEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EmailAddressEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this EmailAddress me, EmailAddress other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EngineeringModelDataDiscussionItemEquatable.cs b/CDP4Common/AutoGenEquatable/EngineeringModelDataDiscussionItemEquatable.cs index d7a674113..f761f4b3f 100644 --- a/CDP4Common/AutoGenEquatable/EngineeringModelDataDiscussionItemEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EngineeringModelDataDiscussionItemEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | replyTo | Guid | 0..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -103,6 +104,9 @@ public static bool ArePropertiesEqual(this EngineeringModelDataDiscussionItem me if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EngineeringModelDataNoteEquatable.cs b/CDP4Common/AutoGenEquatable/EngineeringModelDataNoteEquatable.cs index 05f8c7239..062e56548 100644 --- a/CDP4Common/AutoGenEquatable/EngineeringModelDataNoteEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EngineeringModelDataNoteEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -44,6 +44,7 @@ | 10 | primaryAnnotatedThing | Guid | 0..1 | 1.1.0 | | 11 | relatedThing | Guid | 0..* | 1.1.0 | | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -109,6 +110,9 @@ public static bool ArePropertiesEqual(this EngineeringModelDataNote me, Engineer if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EngineeringModelEquatable.cs b/CDP4Common/AutoGenEquatable/EngineeringModelEquatable.cs index e49ecc594..23513bd7f 100644 --- a/CDP4Common/AutoGenEquatable/EngineeringModelEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EngineeringModelEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -45,6 +45,7 @@ | 11 | modellingAnnotation | Guid | 0..* | 1.1.0 | | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -110,6 +111,9 @@ public static bool ArePropertiesEqual(this EngineeringModel me, EngineeringModel if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs b/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs index 6ad2b90fd..96f35114e 100644 --- a/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -35,23 +35,25 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | activeDomain | Guid | 1..* | 1.0.0 | | 3 | alias | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | engineeringModelIid | Guid | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | iterationSetup | Guid | 1..* | 1.0.0 | - | 8 | kind | EngineeringModelKind | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | participant | Guid | 1..* | 1.0.0 | - | 11 | requiredRdl | Guid | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | - | 14 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | - | 19 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 4 | attachment | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | engineeringModelIid | Guid | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | iterationSetup | Guid | 1..* | 1.0.0 | + | 9 | kind | EngineeringModelKind | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | participant | Guid | 1..* | 1.0.0 | + | 12 | requiredRdl | Guid | 1..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | + | 15 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | + | 16 | excludedDomain | Guid | 0..* | 1.1.0 | + | 17 | excludedPerson | Guid | 0..* | 1.1.0 | + | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 19 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | + | 20 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -95,6 +97,8 @@ public static bool ArePropertiesEqual(this EngineeringModelSetup me, Engineering if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.EngineeringModelIid.Equals(other.EngineeringModelIid)) return false; @@ -134,6 +138,9 @@ public static bool ArePropertiesEqual(this EngineeringModelSetup me, Engineering if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs index 313cabead..e9b9a2428 100644 --- a/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -35,18 +35,20 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | | 3 | allowMultiSelect | bool | 1..1 | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | valueDefinition | Guid | 1..* | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 4 | attachment | Guid | 0..* | 1.0.0 | + | 5 | category | Guid | 0..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | symbol | string | 1..1 | 1.0.0 | + | 12 | valueDefinition | Guid | 1..* | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,6 +92,8 @@ public static bool ArePropertiesEqual(this EnumerationParameterType me, Enumerat if (!me.AllowMultiSelect.Equals(other.AllowMultiSelect)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -119,6 +123,9 @@ public static bool ArePropertiesEqual(this EnumerationParameterType me, Enumerat if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs b/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs index 3dc2cdb29..976b8a47a 100644 --- a/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,14 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | shortName | string | 1..1 | 1.0.0 | - | 7 | excludedDomain | Guid | 0..* | 1.1.0 | - | 8 | excludedPerson | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -83,6 +85,8 @@ public static bool ArePropertiesEqual(this EnumerationValueDefinition me, Enumer if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -102,6 +106,9 @@ public static bool ArePropertiesEqual(this EnumerationValueDefinition me, Enumer if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ExclusiveOrExpressionEquatable.cs b/CDP4Common/AutoGenEquatable/ExclusiveOrExpressionEquatable.cs index e8bc9c57e..3732689d0 100644 --- a/CDP4Common/AutoGenEquatable/ExclusiveOrExpressionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ExclusiveOrExpressionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -38,6 +38,7 @@ | 4 | excludedPerson | Guid | 0..* | 1.1.0 | | 5 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 6 | thingPreference | string | 0..1 | 1.2.0 | + | 7 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +89,9 @@ public static bool ArePropertiesEqual(this ExclusiveOrExpression me, ExclusiveOr if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ExternalIdentifierMapEquatable.cs b/CDP4Common/AutoGenEquatable/ExternalIdentifierMapEquatable.cs index f2759a670..528c20ec3 100644 --- a/CDP4Common/AutoGenEquatable/ExternalIdentifierMapEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ExternalIdentifierMapEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -44,6 +44,7 @@ | 10 | excludedPerson | Guid | 0..* | 1.1.0 | | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -111,6 +112,9 @@ public static bool ArePropertiesEqual(this ExternalIdentifierMap me, ExternalIde if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/FileEquatable.cs b/CDP4Common/AutoGenEquatable/FileEquatable.cs index c0035bbd2..59c76fb2d 100644 --- a/CDP4Common/AutoGenEquatable/FileEquatable.cs +++ b/CDP4Common/AutoGenEquatable/FileEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -41,6 +41,7 @@ | 7 | excludedPerson | Guid | 0..* | 1.1.0 | | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,6 +99,9 @@ public static bool ArePropertiesEqual(this File me, File other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/FileRevisionEquatable.cs b/CDP4Common/AutoGenEquatable/FileRevisionEquatable.cs index 9b543a8bd..a09aa8871 100644 --- a/CDP4Common/AutoGenEquatable/FileRevisionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/FileRevisionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | excludedPerson | Guid | 0..* | 1.1.0 | | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -107,6 +108,9 @@ public static bool ArePropertiesEqual(this FileRevision me, FileRevision other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs b/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs index f22014804..15129c320 100644 --- a/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | extension | string | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | extension | string | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this FileType me, FileType other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +116,9 @@ public static bool ArePropertiesEqual(this FileType me, FileType other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/FolderEquatable.cs b/CDP4Common/AutoGenEquatable/FolderEquatable.cs index 6e5030018..4fe0dccdb 100644 --- a/CDP4Common/AutoGenEquatable/FolderEquatable.cs +++ b/CDP4Common/AutoGenEquatable/FolderEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | excludedPerson | Guid | 0..* | 1.1.0 | | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -102,6 +103,9 @@ public static bool ArePropertiesEqual(this Folder me, Folder other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs b/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs index f7d21daca..38c170f81 100644 --- a/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | term | Guid | 0..* | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | term | Guid | 0..* | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this Glossary me, Glossary other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -111,6 +115,9 @@ public static bool ArePropertiesEqual(this Glossary me, Glossary other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/GoalEquatable.cs b/CDP4Common/AutoGenEquatable/GoalEquatable.cs index d4ff358a6..0cb9ff043 100644 --- a/CDP4Common/AutoGenEquatable/GoalEquatable.cs +++ b/CDP4Common/AutoGenEquatable/GoalEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,15 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +86,8 @@ public static bool ArePropertiesEqual(this Goal me, Goal other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -105,6 +109,9 @@ public static bool ArePropertiesEqual(this Goal me, Goal other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/HyperLinkEquatable.cs b/CDP4Common/AutoGenEquatable/HyperLinkEquatable.cs index 16d8bab8e..7bdc4ade4 100644 --- a/CDP4Common/AutoGenEquatable/HyperLinkEquatable.cs +++ b/CDP4Common/AutoGenEquatable/HyperLinkEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,6 +98,9 @@ public static bool ArePropertiesEqual(this HyperLink me, HyperLink other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/IdCorrespondenceEquatable.cs b/CDP4Common/AutoGenEquatable/IdCorrespondenceEquatable.cs index 7e1d37ca5..366a39165 100644 --- a/CDP4Common/AutoGenEquatable/IdCorrespondenceEquatable.cs +++ b/CDP4Common/AutoGenEquatable/IdCorrespondenceEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this IdCorrespondence me, IdCorrespondence if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/IndependentParameterTypeAssignmentEquatable.cs b/CDP4Common/AutoGenEquatable/IndependentParameterTypeAssignmentEquatable.cs index 6b12c4612..ffdb03ba9 100644 --- a/CDP4Common/AutoGenEquatable/IndependentParameterTypeAssignmentEquatable.cs +++ b/CDP4Common/AutoGenEquatable/IndependentParameterTypeAssignmentEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | measurementScale | Guid | 0..1 | 1.2.0 | | 6 | parameterType | Guid | 1..1 | 1.2.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this IndependentParameterTypeAssignment me if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs b/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs index e63bc2350..074e442ea 100644 --- a/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,25 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 15 | shortName | string | 1..1 | 1.0.0 | - | 16 | unit | Guid | 1..1 | 1.0.0 | - | 17 | valueDefinition | Guid | 0..* | 1.0.0 | - | 18 | excludedDomain | Guid | 0..* | 1.1.0 | - | 19 | excludedPerson | Guid | 0..* | 1.1.0 | - | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -94,6 +96,8 @@ public static bool ArePropertiesEqual(this IntervalScale me, IntervalScale other if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -139,6 +143,9 @@ public static bool ArePropertiesEqual(this IntervalScale me, IntervalScale other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/IterationEquatable.cs b/CDP4Common/AutoGenEquatable/IterationEquatable.cs index c098edef1..db6f27623 100644 --- a/CDP4Common/AutoGenEquatable/IterationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/IterationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -58,6 +58,7 @@ | 24 | stakeholderValueMap | Guid | 0..* | 1.1.0 | | 25 | valueGroup | Guid | 0..* | 1.1.0 | | 26 | thingPreference | string | 0..1 | 1.2.0 | + | 27 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -152,6 +153,9 @@ public static bool ArePropertiesEqual(this Iteration me, Iteration other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/IterationSetupEquatable.cs b/CDP4Common/AutoGenEquatable/IterationSetupEquatable.cs index 4030f47a7..964cb9158 100644 --- a/CDP4Common/AutoGenEquatable/IterationSetupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/IterationSetupEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -44,6 +44,7 @@ | 10 | excludedPerson | Guid | 0..* | 1.1.0 | | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -109,6 +110,9 @@ public static bool ArePropertiesEqual(this IterationSetup me, IterationSetup oth if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs b/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs index d2e7293c1..4f7d882ad 100644 --- a/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | conversionFactor | string | 1..1 | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | conversionFactor | string | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this LinearConversionUnit me, LinearConver if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (me.ConversionFactor == null && other.ConversionFactor != null) return false; if (me.ConversionFactor != null && !me.ConversionFactor.Equals(other.ConversionFactor)) return false; @@ -112,6 +116,9 @@ public static bool ArePropertiesEqual(this LinearConversionUnit me, LinearConver if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/LogEntryChangelogItemEquatable.cs b/CDP4Common/AutoGenEquatable/LogEntryChangelogItemEquatable.cs index 5f07485c0..88255e4c4 100644 --- a/CDP4Common/AutoGenEquatable/LogEntryChangelogItemEquatable.cs +++ b/CDP4Common/AutoGenEquatable/LogEntryChangelogItemEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -41,6 +41,7 @@ | 7 | changeDescription | string | 0..1 | 1.2.0 | | 8 | changelogKind | LogEntryChangelogItemKind | 1..1 | 1.2.0 | | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,6 +99,9 @@ public static bool ArePropertiesEqual(this LogEntryChangelogItem me, LogEntryCha if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs b/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs index b539d8921..6ebac8cb3 100644 --- a/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,30 +34,32 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | exponent | string | 1..1 | 1.0.0 | - | 5 | factor | string | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 9 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 10 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | - | 11 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 12 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 13 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 14 | name | string | 1..1 | 1.0.0 | - | 15 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 16 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 17 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 18 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | - | 19 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | - | 20 | shortName | string | 1..1 | 1.0.0 | - | 21 | unit | Guid | 1..1 | 1.0.0 | - | 22 | valueDefinition | Guid | 0..* | 1.0.0 | - | 23 | excludedDomain | Guid | 0..* | 1.1.0 | - | 24 | excludedPerson | Guid | 0..* | 1.1.0 | - | 25 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 26 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | exponent | string | 1..1 | 1.0.0 | + | 6 | factor | string | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 10 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 11 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | + | 12 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 13 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 14 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 15 | name | string | 1..1 | 1.0.0 | + | 16 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 17 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 18 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 19 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | + | 20 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | + | 21 | shortName | string | 1..1 | 1.0.0 | + | 22 | unit | Guid | 1..1 | 1.0.0 | + | 23 | valueDefinition | Guid | 0..* | 1.0.0 | + | 24 | excludedDomain | Guid | 0..* | 1.1.0 | + | 25 | excludedPerson | Guid | 0..* | 1.1.0 | + | 26 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 27 | thingPreference | string | 0..1 | 1.2.0 | + | 28 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -99,6 +101,8 @@ public static bool ArePropertiesEqual(this LogarithmicScale me, LogarithmicScale if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (me.Exponent == null && other.Exponent != null) return false; @@ -156,6 +160,9 @@ public static bool ArePropertiesEqual(this LogarithmicScale me, LogarithmicScale if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/MappingToReferenceScaleEquatable.cs b/CDP4Common/AutoGenEquatable/MappingToReferenceScaleEquatable.cs index b5c9e96b2..72c20846f 100644 --- a/CDP4Common/AutoGenEquatable/MappingToReferenceScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/MappingToReferenceScaleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,6 +92,9 @@ public static bool ArePropertiesEqual(this MappingToReferenceScale me, MappingTo if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ModelLogEntryEquatable.cs b/CDP4Common/AutoGenEquatable/ModelLogEntryEquatable.cs index d76df8be5..fac4b9bd4 100644 --- a/CDP4Common/AutoGenEquatable/ModelLogEntryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ModelLogEntryEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -46,6 +46,7 @@ | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 13 | logEntryChangelogItem | Guid | 0..* | 1.2.0 | | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -115,6 +116,9 @@ public static bool ArePropertiesEqual(this ModelLogEntry me, ModelLogEntry other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs b/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs index ff9ee20b9..e5e69c434 100644 --- a/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,27 +34,29 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 4 | baseUnit | Guid | 0..* | 1.0.0 | - | 5 | constant | Guid | 0..* | 1.0.0 | - | 6 | definedCategory | Guid | 0..* | 1.0.0 | - | 7 | definition | Guid | 0..* | 1.0.0 | - | 8 | fileType | Guid | 0..* | 1.0.0 | - | 9 | glossary | Guid | 0..* | 1.0.0 | - | 10 | hyperLink | Guid | 0..* | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | parameterType | Guid | 0..* | 1.0.0 | - | 13 | referenceSource | Guid | 0..* | 1.0.0 | - | 14 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 15 | rule | Guid | 0..* | 1.0.0 | - | 16 | scale | Guid | 0..* | 1.0.0 | - | 17 | shortName | string | 1..1 | 1.0.0 | - | 18 | unit | Guid | 0..* | 1.0.0 | - | 19 | unitPrefix | Guid | 0..* | 1.0.0 | - | 20 | excludedDomain | Guid | 0..* | 1.1.0 | - | 21 | excludedPerson | Guid | 0..* | 1.1.0 | - | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 23 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 5 | baseUnit | Guid | 0..* | 1.0.0 | + | 6 | constant | Guid | 0..* | 1.0.0 | + | 7 | definedCategory | Guid | 0..* | 1.0.0 | + | 8 | definition | Guid | 0..* | 1.0.0 | + | 9 | fileType | Guid | 0..* | 1.0.0 | + | 10 | glossary | Guid | 0..* | 1.0.0 | + | 11 | hyperLink | Guid | 0..* | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | parameterType | Guid | 0..* | 1.0.0 | + | 14 | referenceSource | Guid | 0..* | 1.0.0 | + | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 16 | rule | Guid | 0..* | 1.0.0 | + | 17 | scale | Guid | 0..* | 1.0.0 | + | 18 | shortName | string | 1..1 | 1.0.0 | + | 19 | unit | Guid | 0..* | 1.0.0 | + | 20 | unitPrefix | Guid | 0..* | 1.0.0 | + | 21 | excludedDomain | Guid | 0..* | 1.1.0 | + | 22 | excludedPerson | Guid | 0..* | 1.1.0 | + | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 24 | thingPreference | string | 0..1 | 1.2.0 | + | 25 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -96,6 +98,8 @@ public static bool ArePropertiesEqual(this ModelReferenceDataLibrary me, ModelRe if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K))) return false; if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V))) return false; @@ -143,6 +147,9 @@ public static bool ArePropertiesEqual(this ModelReferenceDataLibrary me, ModelRe if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ModellingThingReferenceEquatable.cs b/CDP4Common/AutoGenEquatable/ModellingThingReferenceEquatable.cs index cf720f3f0..4e02facce 100644 --- a/CDP4Common/AutoGenEquatable/ModellingThingReferenceEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ModellingThingReferenceEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | referencedRevisionNumber | int | 1..1 | 1.1.0 | | 6 | referencedThing | Guid | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,6 +92,9 @@ public static bool ArePropertiesEqual(this ModellingThingReference me, Modelling if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/MultiRelationshipEquatable.cs b/CDP4Common/AutoGenEquatable/MultiRelationshipEquatable.cs index 69c108404..431365093 100644 --- a/CDP4Common/AutoGenEquatable/MultiRelationshipEquatable.cs +++ b/CDP4Common/AutoGenEquatable/MultiRelationshipEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | parameterValue | Guid | 0..* | 1.1.0 | | 9 | name | string | 0..1 | 1.2.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -101,6 +102,9 @@ public static bool ArePropertiesEqual(this MultiRelationship me, MultiRelationsh if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs b/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs index 4701bce21..c37060b8e 100644 --- a/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,19 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | maxRelated | int | 1..1 | 1.0.0 | - | 7 | minRelated | int | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | relatedCategory | Guid | 1..* | 1.0.0 | - | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | maxRelated | int | 1..1 | 1.0.0 | + | 8 | minRelated | int | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | relatedCategory | Guid | 1..* | 1.0.0 | + | 11 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +90,8 @@ public static bool ArePropertiesEqual(this MultiRelationshipRule me, MultiRelati if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -117,6 +121,9 @@ public static bool ArePropertiesEqual(this MultiRelationshipRule me, MultiRelati if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/NaturalLanguageEquatable.cs b/CDP4Common/AutoGenEquatable/NaturalLanguageEquatable.cs index 38c228e18..962aa9dab 100644 --- a/CDP4Common/AutoGenEquatable/NaturalLanguageEquatable.cs +++ b/CDP4Common/AutoGenEquatable/NaturalLanguageEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,6 +98,9 @@ public static bool ArePropertiesEqual(this NaturalLanguage me, NaturalLanguage o if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/NestedElementEquatable.cs b/CDP4Common/AutoGenEquatable/NestedElementEquatable.cs index e18078cfc..93784c197 100644 --- a/CDP4Common/AutoGenEquatable/NestedElementEquatable.cs +++ b/CDP4Common/AutoGenEquatable/NestedElementEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -41,6 +41,7 @@ | 7 | excludedPerson | Guid | 0..* | 1.1.0 | | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,6 +99,9 @@ public static bool ArePropertiesEqual(this NestedElement me, NestedElement other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/NestedParameterEquatable.cs b/CDP4Common/AutoGenEquatable/NestedParameterEquatable.cs index 5d9f75d9f..2c57fb483 100644 --- a/CDP4Common/AutoGenEquatable/NestedParameterEquatable.cs +++ b/CDP4Common/AutoGenEquatable/NestedParameterEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | excludedPerson | Guid | 0..* | 1.1.0 | | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -106,6 +107,9 @@ public static bool ArePropertiesEqual(this NestedParameter me, NestedParameter o if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/NotExpressionEquatable.cs b/CDP4Common/AutoGenEquatable/NotExpressionEquatable.cs index 74fb0dced..0cd5b1029 100644 --- a/CDP4Common/AutoGenEquatable/NotExpressionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/NotExpressionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -38,6 +38,7 @@ | 4 | excludedPerson | Guid | 0..* | 1.1.0 | | 5 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 6 | thingPreference | string | 0..1 | 1.2.0 | + | 7 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +89,9 @@ public static bool ArePropertiesEqual(this NotExpression me, NotExpression other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OptionEquatable.cs b/CDP4Common/AutoGenEquatable/OptionEquatable.cs index 2d0fcfe88..85ba2f7ea 100644 --- a/CDP4Common/AutoGenEquatable/OptionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OptionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | nestedElement | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | nestedElement | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this Option me, Option other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -108,6 +112,9 @@ public static bool ArePropertiesEqual(this Option me, Option other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OrExpressionEquatable.cs b/CDP4Common/AutoGenEquatable/OrExpressionEquatable.cs index 879592e2a..6331cef5c 100644 --- a/CDP4Common/AutoGenEquatable/OrExpressionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OrExpressionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -38,6 +38,7 @@ | 4 | excludedPerson | Guid | 0..* | 1.1.0 | | 5 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 6 | thingPreference | string | 0..1 | 1.2.0 | + | 7 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +89,9 @@ public static bool ArePropertiesEqual(this OrExpression me, OrExpression other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs b/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs index 395f6e17f..8b990657a 100644 --- a/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,26 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 15 | shortName | string | 1..1 | 1.0.0 | - | 16 | unit | Guid | 1..1 | 1.0.0 | - | 17 | useShortNameValues | bool | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | useShortNameValues | bool | 1..1 | 1.0.0 | + | 19 | valueDefinition | Guid | 0..* | 1.0.0 | + | 20 | excludedDomain | Guid | 0..* | 1.1.0 | + | 21 | excludedPerson | Guid | 0..* | 1.1.0 | + | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 23 | thingPreference | string | 0..1 | 1.2.0 | + | 24 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -95,6 +97,8 @@ public static bool ArePropertiesEqual(this OrdinalScale me, OrdinalScale other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -142,6 +146,9 @@ public static bool ArePropertiesEqual(this OrdinalScale me, OrdinalScale other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OrganizationEquatable.cs b/CDP4Common/AutoGenEquatable/OrganizationEquatable.cs index acc43cd4e..d4bd53e9e 100644 --- a/CDP4Common/AutoGenEquatable/OrganizationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OrganizationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -96,6 +97,9 @@ public static bool ArePropertiesEqual(this Organization me, Organization other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OrganizationalParticipantEquatable.cs b/CDP4Common/AutoGenEquatable/OrganizationalParticipantEquatable.cs index 535d22828..f6a739cf7 100644 --- a/CDP4Common/AutoGenEquatable/OrganizationalParticipantEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OrganizationalParticipantEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -38,6 +38,7 @@ | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 5 | organization | Guid | 1..1 | 1.2.0 | | 6 | thingPreference | string | 0..1 | 1.2.0 | + | 7 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +89,9 @@ public static bool ArePropertiesEqual(this OrganizationalParticipant me, Organiz if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OwnedStyleEquatable.cs b/CDP4Common/AutoGenEquatable/OwnedStyleEquatable.cs index 371bef5b1..8d174c2e7 100644 --- a/CDP4Common/AutoGenEquatable/OwnedStyleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OwnedStyleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -51,6 +51,7 @@ | 17 | strokeWidth | float | 0..1 | 1.1.0 | | 18 | usedColor | Guid | 0..* | 1.1.0 | | 19 | thingPreference | string | 0..1 | 1.2.0 | + | 20 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -140,6 +141,9 @@ public static bool ArePropertiesEqual(this OwnedStyle me, OwnedStyle other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PageEquatable.cs b/CDP4Common/AutoGenEquatable/PageEquatable.cs index adc705fb5..3554ea35c 100644 --- a/CDP4Common/AutoGenEquatable/PageEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PageEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | owner | Guid | 1..1 | 1.1.0 | | 10 | shortName | string | 1..1 | 1.1.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -106,6 +107,9 @@ public static bool ArePropertiesEqual(this Page me, Page other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterEquatable.cs index 43ebc8008..94be8864a 100644 --- a/CDP4Common/AutoGenEquatable/ParameterEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -48,6 +48,7 @@ | 14 | excludedPerson | Guid | 0..* | 1.1.0 | | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -122,6 +123,9 @@ public static bool ArePropertiesEqual(this Parameter me, Parameter other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterGroupEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterGroupEquatable.cs index 0fb2fc134..ae77b7a6b 100644 --- a/CDP4Common/AutoGenEquatable/ParameterGroupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterGroupEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -93,6 +94,9 @@ public static bool ArePropertiesEqual(this ParameterGroup me, ParameterGroup oth if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterOverrideEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterOverrideEquatable.cs index 9b190c809..afa0df655 100644 --- a/CDP4Common/AutoGenEquatable/ParameterOverrideEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterOverrideEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -41,6 +41,7 @@ | 7 | excludedPerson | Guid | 0..* | 1.1.0 | | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,6 +98,9 @@ public static bool ArePropertiesEqual(this ParameterOverride me, ParameterOverri if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterOverrideValueSetEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterOverrideValueSetEquatable.cs index 54822c843..10c0bab9e 100644 --- a/CDP4Common/AutoGenEquatable/ParameterOverrideValueSetEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterOverrideValueSetEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -44,6 +44,7 @@ | 10 | excludedPerson | Guid | 0..* | 1.1.0 | | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -106,6 +107,9 @@ public static bool ArePropertiesEqual(this ParameterOverrideValueSet me, Paramet if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterSubscriptionEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterSubscriptionEquatable.cs index 60d2406e4..50fc3df43 100644 --- a/CDP4Common/AutoGenEquatable/ParameterSubscriptionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterSubscriptionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,6 +92,9 @@ public static bool ArePropertiesEqual(this ParameterSubscription me, ParameterSu if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterSubscriptionValueSetEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterSubscriptionValueSetEquatable.cs index 828d612a0..a32f5b5cd 100644 --- a/CDP4Common/AutoGenEquatable/ParameterSubscriptionValueSetEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterSubscriptionValueSetEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -94,6 +95,9 @@ public static bool ArePropertiesEqual(this ParameterSubscriptionValueSet me, Par if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterTypeComponentEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterTypeComponentEquatable.cs index 8ddfebd18..9afaeaf89 100644 --- a/CDP4Common/AutoGenEquatable/ParameterTypeComponentEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterTypeComponentEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -96,6 +97,9 @@ public static bool ArePropertiesEqual(this ParameterTypeComponent me, ParameterT if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterValueSetEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterValueSetEquatable.cs index 161f12f1e..ecaf194a6 100644 --- a/CDP4Common/AutoGenEquatable/ParameterValueSetEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterValueSetEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -45,6 +45,7 @@ | 11 | excludedPerson | Guid | 0..* | 1.1.0 | | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -111,6 +112,9 @@ public static bool ArePropertiesEqual(this ParameterValueSet me, ParameterValueS if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs index b1e4e21fd..90133e431 100644 --- a/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 1..1 | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | parameterType | Guid | 1..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | parameterType | Guid | 1..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this ParameterizedCategoryRule me, Paramet if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.Equals(other.Category)) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -111,6 +115,9 @@ public static bool ArePropertiesEqual(this ParameterizedCategoryRule me, Paramet if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParametricConstraintEquatable.cs b/CDP4Common/AutoGenEquatable/ParametricConstraintEquatable.cs index 62b68c8d1..3022da9a7 100644 --- a/CDP4Common/AutoGenEquatable/ParametricConstraintEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParametricConstraintEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this ParametricConstraint me, ParametricCo if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParticipantEquatable.cs b/CDP4Common/AutoGenEquatable/ParticipantEquatable.cs index b377dfac0..a8368f7a6 100644 --- a/CDP4Common/AutoGenEquatable/ParticipantEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParticipantEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | excludedPerson | Guid | 0..* | 1.1.0 | | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -100,6 +101,9 @@ public static bool ArePropertiesEqual(this Participant me, Participant other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParticipantPermissionEquatable.cs b/CDP4Common/AutoGenEquatable/ParticipantPermissionEquatable.cs index 3acde401d..2f99dbe43 100644 --- a/CDP4Common/AutoGenEquatable/ParticipantPermissionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParticipantPermissionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -94,6 +95,9 @@ public static bool ArePropertiesEqual(this ParticipantPermission me, Participant if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs b/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs index 3b4fc65c5..d19c7e664 100644 --- a/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | participantPermission | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | participantPermission | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this ParticipantRole me, ParticipantRole o if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -108,6 +112,9 @@ public static bool ArePropertiesEqual(this ParticipantRole me, ParticipantRole o if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PersonEquatable.cs b/CDP4Common/AutoGenEquatable/PersonEquatable.cs index 22e71c249..5d9dec310 100644 --- a/CDP4Common/AutoGenEquatable/PersonEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PersonEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +52,7 @@ | 18 | excludedPerson | Guid | 0..* | 1.1.0 | | 19 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -140,6 +141,9 @@ public static bool ArePropertiesEqual(this Person me, Person other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PersonPermissionEquatable.cs b/CDP4Common/AutoGenEquatable/PersonPermissionEquatable.cs index 21eb4e690..f0386f846 100644 --- a/CDP4Common/AutoGenEquatable/PersonPermissionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PersonPermissionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -94,6 +95,9 @@ public static bool ArePropertiesEqual(this PersonPermission me, PersonPermission if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs b/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs index 78fab80f9..5307d3c89 100644 --- a/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | personPermission | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | personPermission | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this PersonRole me, PersonRole other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -108,6 +112,9 @@ public static bool ArePropertiesEqual(this PersonRole me, PersonRole other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PointEquatable.cs b/CDP4Common/AutoGenEquatable/PointEquatable.cs index 498c6d26a..d225302e7 100644 --- a/CDP4Common/AutoGenEquatable/PointEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PointEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | x | float | 1..1 | 1.1.0 | | 7 | y | float | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -95,6 +96,9 @@ public static bool ArePropertiesEqual(this Point me, Point other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs b/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs index 158866eb3..ce0eb8b2e 100644 --- a/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,14 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | shortName | string | 1..1 | 1.0.0 | - | 7 | excludedDomain | Guid | 0..* | 1.1.0 | - | 8 | excludedPerson | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -83,6 +85,8 @@ public static bool ArePropertiesEqual(this PossibleFiniteState me, PossibleFinit if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -102,6 +106,9 @@ public static bool ArePropertiesEqual(this PossibleFiniteState me, PossibleFinit if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs b/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs index b1f9af377..58a63274a 100644 --- a/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,18 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultState | Guid | 0..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | possibleState | Guid | 1..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultState | Guid | 0..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | possibleState | Guid | 1..* | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,6 +89,8 @@ public static bool ArePropertiesEqual(this PossibleFiniteStateList me, PossibleF if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (me.DefaultState.HasValue != other.DefaultState.HasValue) return false; @@ -116,6 +120,9 @@ public static bool ArePropertiesEqual(this PossibleFiniteStateList me, PossibleF if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs b/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs index d38bf309d..98d23a2dc 100644 --- a/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,15 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | prefix | Guid | 1..1 | 1.0.0 | - | 7 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | prefix | Guid | 1..1 | 1.0.0 | + | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +86,8 @@ public static bool ArePropertiesEqual(this PrefixedUnit me, PrefixedUnit other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -103,6 +107,9 @@ public static bool ArePropertiesEqual(this PrefixedUnit me, PrefixedUnit other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PublicationEquatable.cs b/CDP4Common/AutoGenEquatable/PublicationEquatable.cs index e13296917..a226730f8 100644 --- a/CDP4Common/AutoGenEquatable/PublicationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PublicationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -94,6 +95,9 @@ public static bool ArePropertiesEqual(this Publication me, Publication other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/QuantityKindFactorEquatable.cs b/CDP4Common/AutoGenEquatable/QuantityKindFactorEquatable.cs index 7c2a72764..6a05aaa6b 100644 --- a/CDP4Common/AutoGenEquatable/QuantityKindFactorEquatable.cs +++ b/CDP4Common/AutoGenEquatable/QuantityKindFactorEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this QuantityKindFactor me, QuantityKindFa if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs b/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs index 4a0cc83c1..645955e28 100644 --- a/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,25 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 15 | shortName | string | 1..1 | 1.0.0 | - | 16 | unit | Guid | 1..1 | 1.0.0 | - | 17 | valueDefinition | Guid | 0..* | 1.0.0 | - | 18 | excludedDomain | Guid | 0..* | 1.1.0 | - | 19 | excludedPerson | Guid | 0..* | 1.1.0 | - | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -94,6 +96,8 @@ public static bool ArePropertiesEqual(this RatioScale me, RatioScale other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -139,6 +143,9 @@ public static bool ArePropertiesEqual(this RatioScale me, RatioScale other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs b/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs index 37e93ef96..604bb898b 100644 --- a/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,23 +34,25 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | author | string | 0..1 | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | language | string | 0..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | publicationYear | int | 0..1 | 1.0.0 | - | 11 | publishedIn | Guid | 0..1 | 1.0.0 | - | 12 | publisher | Guid | 0..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | versionDate | DateTime | 0..1 | 1.0.0 | - | 15 | versionIdentifier | string | 0..1 | 1.0.0 | - | 16 | excludedDomain | Guid | 0..* | 1.1.0 | - | 17 | excludedPerson | Guid | 0..* | 1.1.0 | - | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 19 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | author | string | 0..1 | 1.0.0 | + | 5 | category | Guid | 0..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | language | string | 0..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | publicationYear | int | 0..1 | 1.0.0 | + | 12 | publishedIn | Guid | 0..1 | 1.0.0 | + | 13 | publisher | Guid | 0..1 | 1.0.0 | + | 14 | shortName | string | 1..1 | 1.0.0 | + | 15 | versionDate | DateTime | 0..1 | 1.0.0 | + | 16 | versionIdentifier | string | 0..1 | 1.0.0 | + | 17 | excludedDomain | Guid | 0..* | 1.1.0 | + | 18 | excludedPerson | Guid | 0..* | 1.1.0 | + | 19 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +94,8 @@ public static bool ArePropertiesEqual(this ReferenceSource me, ReferenceSource o if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (me.Author == null && other.Author != null) return false; if (me.Author != null && !me.Author.Equals(other.Author)) return false; @@ -136,6 +140,9 @@ public static bool ArePropertiesEqual(this ReferenceSource me, ReferenceSource o if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs b/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs index 04a968401..01261a66c 100644 --- a/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,19 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | maxReferenced | int | 1..1 | 1.0.0 | - | 7 | minReferenced | int | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | referencedCategory | Guid | 1..* | 1.0.0 | - | 10 | referencingCategory | Guid | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | maxReferenced | int | 1..1 | 1.0.0 | + | 8 | minReferenced | int | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | referencedCategory | Guid | 1..* | 1.0.0 | + | 11 | referencingCategory | Guid | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,6 +90,8 @@ public static bool ArePropertiesEqual(this ReferencerRule me, ReferencerRule oth if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -117,6 +121,9 @@ public static bool ArePropertiesEqual(this ReferencerRule me, ReferencerRule oth if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RelationalExpressionEquatable.cs b/CDP4Common/AutoGenEquatable/RelationalExpressionEquatable.cs index 96ef557d8..f7035b5ec 100644 --- a/CDP4Common/AutoGenEquatable/RelationalExpressionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RelationalExpressionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -41,6 +41,7 @@ | 7 | excludedPerson | Guid | 0..* | 1.1.0 | | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,6 +99,9 @@ public static bool ArePropertiesEqual(this RelationalExpression me, RelationalEx if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RelationshipParameterValueEquatable.cs b/CDP4Common/AutoGenEquatable/RelationshipParameterValueEquatable.cs index 28d8c028a..946ea093f 100644 --- a/CDP4Common/AutoGenEquatable/RelationshipParameterValueEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RelationshipParameterValueEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | scale | Guid | 0..1 | 1.1.0 | | 7 | value | ValueArray | 1..* | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -95,6 +96,9 @@ public static bool ArePropertiesEqual(this RelationshipParameterValue me, Relati if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequestForDeviationEquatable.cs b/CDP4Common/AutoGenEquatable/RequestForDeviationEquatable.cs index 2cf417a5b..cafa65ee4 100644 --- a/CDP4Common/AutoGenEquatable/RequestForDeviationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequestForDeviationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +52,7 @@ | 18 | status | AnnotationStatusKind | 1..1 | 1.1.0 | | 19 | title | string | 1..1 | 1.1.0 | | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -135,6 +136,9 @@ public static bool ArePropertiesEqual(this RequestForDeviation me, RequestForDev if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequestForWaiverEquatable.cs b/CDP4Common/AutoGenEquatable/RequestForWaiverEquatable.cs index 45b19f54e..b9c7ba330 100644 --- a/CDP4Common/AutoGenEquatable/RequestForWaiverEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequestForWaiverEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +52,7 @@ | 18 | status | AnnotationStatusKind | 1..1 | 1.1.0 | | 19 | title | string | 1..1 | 1.1.0 | | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -135,6 +136,9 @@ public static bool ArePropertiesEqual(this RequestForWaiver me, RequestForWaiver if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequirementEquatable.cs b/CDP4Common/AutoGenEquatable/RequirementEquatable.cs index a560846ff..5318b255f 100644 --- a/CDP4Common/AutoGenEquatable/RequirementEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequirementEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,20 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | group | Guid | 0..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | parameterValue | Guid | 0..* | 1.0.0 | - | 11 | parametricConstraint | Guid | 0..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | group | Guid | 0..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | owner | Guid | 1..1 | 1.0.0 | + | 11 | parameterValue | Guid | 0..* | 1.0.0 | + | 12 | parametricConstraint | Guid | 0..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,6 +91,8 @@ public static bool ArePropertiesEqual(this Requirement me, Requirement other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -122,6 +126,9 @@ public static bool ArePropertiesEqual(this Requirement me, Requirement other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequirementsContainerParameterValueEquatable.cs b/CDP4Common/AutoGenEquatable/RequirementsContainerParameterValueEquatable.cs index ca7547179..f76f211f2 100644 --- a/CDP4Common/AutoGenEquatable/RequirementsContainerParameterValueEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequirementsContainerParameterValueEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | scale | Guid | 0..1 | 1.1.0 | | 7 | value | ValueArray | 1..* | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -95,6 +96,9 @@ public static bool ArePropertiesEqual(this RequirementsContainerParameterValue m if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs b/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs index 1153ed2bf..143dffdba 100644 --- a/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,18 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | group | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | owner | Guid | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | category | Guid | 0..* | 1.1.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | parameterValue | Guid | 0..* | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | group | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | category | Guid | 0..* | 1.1.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | parameterValue | Guid | 0..* | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,6 +89,8 @@ public static bool ArePropertiesEqual(this RequirementsGroup me, RequirementsGro if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.Group.OrderBy(x => x).SequenceEqual(other.Group.OrderBy(x => x))) return false; @@ -114,6 +118,9 @@ public static bool ArePropertiesEqual(this RequirementsGroup me, RequirementsGro if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs b/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs index 0993e51c9..693522ef5 100644 --- a/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,20 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | group | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | requirement | Guid | 0..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | category | Guid | 0..* | 1.1.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | parameterValue | Guid | 0..* | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | group | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | requirement | Guid | 0..* | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | category | Guid | 0..* | 1.1.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | parameterValue | Guid | 0..* | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,6 +91,8 @@ public static bool ArePropertiesEqual(this RequirementsSpecification me, Require if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.Group.OrderBy(x => x).SequenceEqual(other.Group.OrderBy(x => x))) return false; @@ -120,6 +124,9 @@ public static bool ArePropertiesEqual(this RequirementsSpecification me, Require if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ReviewItemDiscrepancyEquatable.cs b/CDP4Common/AutoGenEquatable/ReviewItemDiscrepancyEquatable.cs index ae9ae4062..992c53300 100644 --- a/CDP4Common/AutoGenEquatable/ReviewItemDiscrepancyEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ReviewItemDiscrepancyEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -53,6 +53,7 @@ | 19 | status | AnnotationStatusKind | 1..1 | 1.1.0 | | 20 | title | string | 1..1 | 1.1.0 | | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -138,6 +139,9 @@ public static bool ArePropertiesEqual(this ReviewItemDiscrepancy me, ReviewItemD if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs b/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs index ac79d5e80..82b953fa5 100644 --- a/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | owner | Guid | 1..1 | 1.0.0 | - | 7 | ruleVerification | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | owner | Guid | 1..1 | 1.0.0 | + | 8 | ruleVerification | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this RuleVerificationList me, RuleVerifica if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -109,6 +113,9 @@ public static bool ArePropertiesEqual(this RuleVerificationList me, RuleVerifica if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RuleViolationEquatable.cs b/CDP4Common/AutoGenEquatable/RuleViolationEquatable.cs index d036bb569..bc63bab4b 100644 --- a/CDP4Common/AutoGenEquatable/RuleViolationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RuleViolationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this RuleViolation me, RuleViolation other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs index 66dd8e9d5..0166d45a1 100644 --- a/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -37,18 +37,20 @@ | 3 | excludedPerson | Guid | 0..* | 1.1.0 | | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 5 | alias | Guid | 0..* | 1.2.0 | - | 6 | category | Guid | 0..* | 1.2.0 | - | 7 | definition | Guid | 0..* | 1.2.0 | - | 8 | degreeOfInterpolation | int | 0..1 | 1.2.0 | - | 9 | dependentParameterType | Guid | 1..* | 1.2.0 | - | 10 | hyperLink | Guid | 0..* | 1.2.0 | - | 11 | independentParameterType | Guid | 1..* | 1.2.0 | - | 12 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | - | 13 | isDeprecated | bool | 1..1 | 1.2.0 | - | 14 | name | string | 1..1 | 1.2.0 | - | 15 | shortName | string | 1..1 | 1.2.0 | - | 16 | symbol | string | 1..1 | 1.2.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | attachment | Guid | 0..* | 1.2.0 | + | 7 | category | Guid | 0..* | 1.2.0 | + | 8 | definition | Guid | 0..* | 1.2.0 | + | 9 | degreeOfInterpolation | int | 0..1 | 1.2.0 | + | 10 | dependentParameterType | Guid | 1..* | 1.2.0 | + | 11 | hyperLink | Guid | 0..* | 1.2.0 | + | 12 | independentParameterType | Guid | 1..* | 1.2.0 | + | 13 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | + | 14 | isDeprecated | bool | 1..1 | 1.2.0 | + | 15 | name | string | 1..1 | 1.2.0 | + | 16 | shortName | string | 1..1 | 1.2.0 | + | 17 | symbol | string | 1..1 | 1.2.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -96,6 +98,8 @@ public static bool ArePropertiesEqual(this SampledFunctionParameterType me, Samp if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -127,6 +131,9 @@ public static bool ArePropertiesEqual(this SampledFunctionParameterType me, Samp if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ScaleReferenceQuantityValueEquatable.cs b/CDP4Common/AutoGenEquatable/ScaleReferenceQuantityValueEquatable.cs index ea139e2c3..b30df22ad 100644 --- a/CDP4Common/AutoGenEquatable/ScaleReferenceQuantityValueEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ScaleReferenceQuantityValueEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this ScaleReferenceQuantityValue me, Scale if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs b/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs index 5750b1ba4..98d701248 100644 --- a/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,15 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | shortName | string | 1..1 | 1.0.0 | - | 7 | value | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | value | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +86,8 @@ public static bool ArePropertiesEqual(this ScaleValueDefinition me, ScaleValueDe if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -106,6 +110,9 @@ public static bool ArePropertiesEqual(this ScaleValueDefinition me, ScaleValueDe if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SectionEquatable.cs b/CDP4Common/AutoGenEquatable/SectionEquatable.cs index cc1051506..e509a2d86 100644 --- a/CDP4Common/AutoGenEquatable/SectionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SectionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -43,6 +43,7 @@ | 9 | page | Guid | 0..* | 1.1.0 | | 10 | shortName | string | 1..1 | 1.1.0 | | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -106,6 +107,9 @@ public static bool ArePropertiesEqual(this Section me, Section other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SharedStyleEquatable.cs b/CDP4Common/AutoGenEquatable/SharedStyleEquatable.cs index 3c6d0375f..2e151394a 100644 --- a/CDP4Common/AutoGenEquatable/SharedStyleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SharedStyleEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -51,6 +51,7 @@ | 17 | strokeWidth | float | 0..1 | 1.1.0 | | 18 | usedColor | Guid | 0..* | 1.1.0 | | 19 | thingPreference | string | 0..1 | 1.2.0 | + | 20 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -140,6 +141,9 @@ public static bool ArePropertiesEqual(this SharedStyle me, SharedStyle other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SimpleParameterValueEquatable.cs b/CDP4Common/AutoGenEquatable/SimpleParameterValueEquatable.cs index e55de43d2..9d74f0ec5 100644 --- a/CDP4Common/AutoGenEquatable/SimpleParameterValueEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SimpleParameterValueEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | excludedPerson | Guid | 0..* | 1.1.0 | | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -95,6 +96,9 @@ public static bool ArePropertiesEqual(this SimpleParameterValue me, SimpleParame if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs b/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs index d8010ad80..8a61c1a37 100644 --- a/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,20 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultScale | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | possibleScale | Guid | 0..* | 1.0.0 | - | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | symbol | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultScale | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | possibleScale | Guid | 0..* | 1.0.0 | + | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,6 +91,8 @@ public static bool ArePropertiesEqual(this SimpleQuantityKind me, SimpleQuantity if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.DefaultScale.Equals(other.DefaultScale)) return false; @@ -122,6 +126,9 @@ public static bool ArePropertiesEqual(this SimpleQuantityKind me, SimpleQuantity if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs b/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs index 1d9ce7476..a4a55e504 100644 --- a/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,15 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +86,8 @@ public static bool ArePropertiesEqual(this SimpleUnit me, SimpleUnit other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -105,6 +109,9 @@ public static bool ArePropertiesEqual(this SimpleUnit me, SimpleUnit other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SiteDirectoryDataAnnotationEquatable.cs b/CDP4Common/AutoGenEquatable/SiteDirectoryDataAnnotationEquatable.cs index 7723e2099..a37633269 100644 --- a/CDP4Common/AutoGenEquatable/SiteDirectoryDataAnnotationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SiteDirectoryDataAnnotationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -44,6 +44,7 @@ | 10 | primaryAnnotatedThing | Guid | 1..1 | 1.1.0 | | 11 | relatedThing | Guid | 1..* | 1.1.0 | | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -108,6 +109,9 @@ public static bool ArePropertiesEqual(this SiteDirectoryDataAnnotation me, SiteD if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SiteDirectoryDataDiscussionItemEquatable.cs b/CDP4Common/AutoGenEquatable/SiteDirectoryDataDiscussionItemEquatable.cs index 03141cd08..257f6a390 100644 --- a/CDP4Common/AutoGenEquatable/SiteDirectoryDataDiscussionItemEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SiteDirectoryDataDiscussionItemEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | replyTo | Guid | 0..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -103,6 +104,9 @@ public static bool ArePropertiesEqual(this SiteDirectoryDataDiscussionItem me, S if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SiteDirectoryEquatable.cs b/CDP4Common/AutoGenEquatable/SiteDirectoryEquatable.cs index f81411995..0999d62da 100644 --- a/CDP4Common/AutoGenEquatable/SiteDirectoryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SiteDirectoryEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -54,6 +54,7 @@ | 20 | excludedPerson | Guid | 0..* | 1.1.0 | | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -140,6 +141,9 @@ public static bool ArePropertiesEqual(this SiteDirectory me, SiteDirectory other if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SiteDirectoryThingReferenceEquatable.cs b/CDP4Common/AutoGenEquatable/SiteDirectoryThingReferenceEquatable.cs index 1b65080a4..09d72cba5 100644 --- a/CDP4Common/AutoGenEquatable/SiteDirectoryThingReferenceEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SiteDirectoryThingReferenceEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | referencedRevisionNumber | int | 1..1 | 1.1.0 | | 6 | referencedThing | Guid | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,6 +92,9 @@ public static bool ArePropertiesEqual(this SiteDirectoryThingReference me, SiteD if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SiteLogEntryEquatable.cs b/CDP4Common/AutoGenEquatable/SiteLogEntryEquatable.cs index 0b23fa420..53575088a 100644 --- a/CDP4Common/AutoGenEquatable/SiteLogEntryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SiteLogEntryEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -46,6 +46,7 @@ | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 13 | logEntryChangelogItem | Guid | 0..* | 1.2.0 | | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -115,6 +116,9 @@ public static bool ArePropertiesEqual(this SiteLogEntry me, SiteLogEntry other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs b/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs index 5ccb77333..8ee3c3964 100644 --- a/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,28 +34,30 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 4 | baseUnit | Guid | 0..* | 1.0.0 | - | 5 | constant | Guid | 0..* | 1.0.0 | - | 6 | definedCategory | Guid | 0..* | 1.0.0 | - | 7 | definition | Guid | 0..* | 1.0.0 | - | 8 | fileType | Guid | 0..* | 1.0.0 | - | 9 | glossary | Guid | 0..* | 1.0.0 | - | 10 | hyperLink | Guid | 0..* | 1.0.0 | - | 11 | isDeprecated | bool | 1..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | parameterType | Guid | 0..* | 1.0.0 | - | 14 | referenceSource | Guid | 0..* | 1.0.0 | - | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 16 | rule | Guid | 0..* | 1.0.0 | - | 17 | scale | Guid | 0..* | 1.0.0 | - | 18 | shortName | string | 1..1 | 1.0.0 | - | 19 | unit | Guid | 0..* | 1.0.0 | - | 20 | unitPrefix | Guid | 0..* | 1.0.0 | - | 21 | excludedDomain | Guid | 0..* | 1.1.0 | - | 22 | excludedPerson | Guid | 0..* | 1.1.0 | - | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 24 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 5 | baseUnit | Guid | 0..* | 1.0.0 | + | 6 | constant | Guid | 0..* | 1.0.0 | + | 7 | definedCategory | Guid | 0..* | 1.0.0 | + | 8 | definition | Guid | 0..* | 1.0.0 | + | 9 | fileType | Guid | 0..* | 1.0.0 | + | 10 | glossary | Guid | 0..* | 1.0.0 | + | 11 | hyperLink | Guid | 0..* | 1.0.0 | + | 12 | isDeprecated | bool | 1..1 | 1.0.0 | + | 13 | name | string | 1..1 | 1.0.0 | + | 14 | parameterType | Guid | 0..* | 1.0.0 | + | 15 | referenceSource | Guid | 0..* | 1.0.0 | + | 16 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 17 | rule | Guid | 0..* | 1.0.0 | + | 18 | scale | Guid | 0..* | 1.0.0 | + | 19 | shortName | string | 1..1 | 1.0.0 | + | 20 | unit | Guid | 0..* | 1.0.0 | + | 21 | unitPrefix | Guid | 0..* | 1.0.0 | + | 22 | excludedDomain | Guid | 0..* | 1.1.0 | + | 23 | excludedPerson | Guid | 0..* | 1.1.0 | + | 24 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 25 | thingPreference | string | 0..1 | 1.2.0 | + | 26 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,6 +99,8 @@ public static bool ArePropertiesEqual(this SiteReferenceDataLibrary me, SiteRefe if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K))) return false; if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V))) return false; @@ -146,6 +150,9 @@ public static bool ArePropertiesEqual(this SiteReferenceDataLibrary me, SiteRefe if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SolutionEquatable.cs b/CDP4Common/AutoGenEquatable/SolutionEquatable.cs index 2e099a34d..ccd2cf537 100644 --- a/CDP4Common/AutoGenEquatable/SolutionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SolutionEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 9 | owner | Guid | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -102,6 +103,9 @@ public static bool ArePropertiesEqual(this Solution me, Solution other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs b/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs index dadcce2b2..7a9f69744 100644 --- a/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,21 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultScale | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | general | Guid | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | possibleScale | Guid | 0..* | 1.0.0 | - | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultScale | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | general | Guid | 1..1 | 1.0.0 | + | 8 | hyperLink | Guid | 0..* | 1.0.0 | + | 9 | isDeprecated | bool | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | possibleScale | Guid | 0..* | 1.0.0 | + | 12 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | symbol | string | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,6 +92,8 @@ public static bool ArePropertiesEqual(this SpecializedQuantityKind me, Specializ if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.DefaultScale.Equals(other.DefaultScale)) return false; @@ -125,6 +129,9 @@ public static bool ArePropertiesEqual(this SpecializedQuantityKind me, Specializ if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs b/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs index a24e615ca..a336e28aa 100644 --- a/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs +++ b/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,20 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | goal | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | requirement | Guid | 0..* | 1.1.0 | - | 12 | settings | Guid | 1..1 | 1.1.0 | - | 13 | shortName | string | 1..1 | 1.1.0 | - | 14 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 15 | valueGroup | Guid | 0..* | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | goal | Guid | 0..* | 1.1.0 | + | 9 | hyperLink | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | name | string | 1..1 | 1.1.0 | + | 12 | requirement | Guid | 0..* | 1.1.0 | + | 13 | settings | Guid | 1..1 | 1.1.0 | + | 14 | shortName | string | 1..1 | 1.1.0 | + | 15 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 16 | valueGroup | Guid | 0..* | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,6 +91,8 @@ public static bool ArePropertiesEqual(this StakeHolderValueMap me, StakeHolderVa if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -120,6 +124,9 @@ public static bool ArePropertiesEqual(this StakeHolderValueMap me, StakeHolderVa if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/StakeHolderValueMapSettingsEquatable.cs b/CDP4Common/AutoGenEquatable/StakeHolderValueMapSettingsEquatable.cs index 09b7dae6f..de8ab9873 100644 --- a/CDP4Common/AutoGenEquatable/StakeHolderValueMapSettingsEquatable.cs +++ b/CDP4Common/AutoGenEquatable/StakeHolderValueMapSettingsEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -40,6 +40,7 @@ | 6 | stakeholderValueToRequirementRelationship | Guid | 0..1 | 1.1.0 | | 7 | valueGroupToStakeholderValueRelationship | Guid | 0..1 | 1.1.0 | | 8 | thingPreference | string | 0..1 | 1.2.0 | + | 9 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,6 +98,9 @@ public static bool ArePropertiesEqual(this StakeHolderValueMapSettings me, Stake if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs b/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs index 41bb66087..acacddc2c 100644 --- a/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs +++ b/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this Stakeholder me, Stakeholder other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -108,6 +112,9 @@ public static bool ArePropertiesEqual(this Stakeholder me, Stakeholder other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs b/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs index e487f9c0f..10491c079 100644 --- a/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs +++ b/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,15 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +86,8 @@ public static bool ArePropertiesEqual(this StakeholderValue me, StakeholderValue if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -105,6 +109,9 @@ public static bool ArePropertiesEqual(this StakeholderValue me, StakeholderValue if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/TelephoneNumberEquatable.cs b/CDP4Common/AutoGenEquatable/TelephoneNumberEquatable.cs index 2f3db6c3a..f9e1a2727 100644 --- a/CDP4Common/AutoGenEquatable/TelephoneNumberEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TelephoneNumberEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this TelephoneNumber me, TelephoneNumber o if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/TermEquatable.cs b/CDP4Common/AutoGenEquatable/TermEquatable.cs index e4a14de82..8e4d004c7 100644 --- a/CDP4Common/AutoGenEquatable/TermEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TermEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,15 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +86,8 @@ public static bool ArePropertiesEqual(this Term me, Term other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -105,6 +109,9 @@ public static bool ArePropertiesEqual(this Term me, Term other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs index a5d910602..6da3374a3 100644 --- a/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this TextParameterType me, TextParameterTy if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +116,9 @@ public static bool ArePropertiesEqual(this TextParameterType me, TextParameterTy if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/TextualNoteEquatable.cs b/CDP4Common/AutoGenEquatable/TextualNoteEquatable.cs index 9e20b5ad6..d6c750c4f 100644 --- a/CDP4Common/AutoGenEquatable/TextualNoteEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TextualNoteEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -44,6 +44,7 @@ | 10 | owner | Guid | 1..1 | 1.1.0 | | 11 | shortName | string | 1..1 | 1.1.0 | | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -110,6 +111,9 @@ public static bool ArePropertiesEqual(this TextualNote me, TextualNote other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ThingEquatable.cs b/CDP4Common/AutoGenEquatable/ThingEquatable.cs index eef1aea64..921eeed9c 100644 --- a/CDP4Common/AutoGenEquatable/ThingEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ThingEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -178,6 +178,13 @@ | 144 | LogEntryChangelogItem | 1.2.0 | | 145 | OrganizationalParticipant | 1.2.0 | | 146 | SampledFunctionParameterType | 1.2.0 | + | 147 | ArchitectureDiagram | 1.4.0 | + | 148 | ArchitectureElement | 1.4.0 | + | 149 | Attachment | 1.4.0 | + | 150 | Behavior | 1.4.0 | + | 151 | BehavioralParameter | 1.4.0 | + | 152 | DiagramFrame | 1.4.0 | + | 153 | DiagramPort | 1.4.0 | * ------------------------------------------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -219,6 +226,101 @@ public static bool ArePropertiesEqual(Thing me, Thing other) switch (me) { + + case ArchitectureDiagram architectureDiagram: + return architectureDiagram.ArePropertiesEqual((ArchitectureDiagram)other); + case ArchitectureElement architectureElement: + return architectureElement.ArePropertiesEqual((ArchitectureElement)other); + case Attachment attachment: + return attachment.ArePropertiesEqual((Attachment)other); + case Behavior behavior: + return behavior.ArePropertiesEqual((Behavior)other); + case BehavioralParameter behavioralParameter: + return behavioralParameter.ArePropertiesEqual((BehavioralParameter)other); + case DiagramFrame diagramFrame: + return diagramFrame.ArePropertiesEqual((DiagramFrame)other); + case DiagramPort diagramPort: + return diagramPort.ArePropertiesEqual((DiagramPort)other); + case DependentParameterTypeAssignment dependentParameterTypeAssignment: + return dependentParameterTypeAssignment.ArePropertiesEqual((DependentParameterTypeAssignment)other); + case IndependentParameterTypeAssignment independentParameterTypeAssignment: + return independentParameterTypeAssignment.ArePropertiesEqual((IndependentParameterTypeAssignment)other); + case LogEntryChangelogItem logEntryChangelogItem: + return logEntryChangelogItem.ArePropertiesEqual((LogEntryChangelogItem)other); + case OrganizationalParticipant organizationalParticipant: + return organizationalParticipant.ArePropertiesEqual((OrganizationalParticipant)other); + case SampledFunctionParameterType sampledFunctionParameterType: + return sampledFunctionParameterType.ArePropertiesEqual((SampledFunctionParameterType)other); + case ActionItem actionItem: + return actionItem.ArePropertiesEqual((ActionItem)other); + case Approval approval: + return approval.ArePropertiesEqual((Approval)other); + case BinaryNote binaryNote: + return binaryNote.ArePropertiesEqual((BinaryNote)other); + case Book book: + return book.ArePropertiesEqual((Book)other); + case Bounds bounds: + return bounds.ArePropertiesEqual((Bounds)other); + case ChangeProposal changeProposal: + return changeProposal.ArePropertiesEqual((ChangeProposal)other); + case ChangeRequest changeRequest: + return changeRequest.ArePropertiesEqual((ChangeRequest)other); + case ContractChangeNotice contractChangeNotice: + return contractChangeNotice.ArePropertiesEqual((ContractChangeNotice)other); + case DiagramCanvas diagramCanvas: + return diagramCanvas.ArePropertiesEqual((DiagramCanvas)other); + case DiagramEdge diagramEdge: + return diagramEdge.ArePropertiesEqual((DiagramEdge)other); + case DiagramObject diagramObject: + return diagramObject.ArePropertiesEqual((DiagramObject)other); + case EngineeringModelDataDiscussionItem engineeringModelDataDiscussionItem: + return engineeringModelDataDiscussionItem.ArePropertiesEqual((EngineeringModelDataDiscussionItem)other); + case EngineeringModelDataNote engineeringModelDataNote: + return engineeringModelDataNote.ArePropertiesEqual((EngineeringModelDataNote)other); + case Goal goal: + return goal.ArePropertiesEqual((Goal)other); + case ModellingThingReference modellingThingReference: + return modellingThingReference.ArePropertiesEqual((ModellingThingReference)other); + case OwnedStyle ownedStyle: + return ownedStyle.ArePropertiesEqual((OwnedStyle)other); + case Page page: + return page.ArePropertiesEqual((Page)other); + case Point point: + return point.ArePropertiesEqual((Point)other); + case RelationshipParameterValue relationshipParameterValue: + return relationshipParameterValue.ArePropertiesEqual((RelationshipParameterValue)other); + case RequestForDeviation requestForDeviation: + return requestForDeviation.ArePropertiesEqual((RequestForDeviation)other); + case RequestForWaiver requestForWaiver: + return requestForWaiver.ArePropertiesEqual((RequestForWaiver)other); + case RequirementsContainerParameterValue requirementsContainerParameterValue: + return requirementsContainerParameterValue.ArePropertiesEqual((RequirementsContainerParameterValue)other); + case ReviewItemDiscrepancy reviewItemDiscrepancy: + return reviewItemDiscrepancy.ArePropertiesEqual((ReviewItemDiscrepancy)other); + case Section section: + return section.ArePropertiesEqual((Section)other); + case SharedStyle sharedStyle: + return sharedStyle.ArePropertiesEqual((SharedStyle)other); + case SiteDirectoryDataAnnotation siteDirectoryDataAnnotation: + return siteDirectoryDataAnnotation.ArePropertiesEqual((SiteDirectoryDataAnnotation)other); + case SiteDirectoryDataDiscussionItem siteDirectoryDataDiscussionItem: + return siteDirectoryDataDiscussionItem.ArePropertiesEqual((SiteDirectoryDataDiscussionItem)other); + case SiteDirectoryThingReference siteDirectoryThingReference: + return siteDirectoryThingReference.ArePropertiesEqual((SiteDirectoryThingReference)other); + case Solution solution: + return solution.ArePropertiesEqual((Solution)other); + case Stakeholder stakeholder: + return stakeholder.ArePropertiesEqual((Stakeholder)other); + case StakeholderValue stakeholderValue: + return stakeholderValue.ArePropertiesEqual((StakeholderValue)other); + case StakeHolderValueMap stakeHolderValueMap: + return stakeHolderValueMap.ArePropertiesEqual((StakeHolderValueMap)other); + case StakeHolderValueMapSettings stakeHolderValueMapSettings: + return stakeHolderValueMapSettings.ArePropertiesEqual((StakeHolderValueMapSettings)other); + case TextualNote textualNote: + return textualNote.ArePropertiesEqual((TextualNote)other); + case ValueGroup valueGroup: + return valueGroup.ArePropertiesEqual((ValueGroup)other); case ActualFiniteState actualFiniteState: return actualFiniteState.ArePropertiesEqual((ActualFiniteState)other); case ActualFiniteStateList actualFiniteStateList: @@ -431,86 +533,6 @@ public static bool ArePropertiesEqual(Thing me, Thing other) return userPreference.ArePropertiesEqual((UserPreference)other); case UserRuleVerification userRuleVerification: return userRuleVerification.ArePropertiesEqual((UserRuleVerification)other); - case ActionItem actionItem: - return actionItem.ArePropertiesEqual((ActionItem)other); - case Approval approval: - return approval.ArePropertiesEqual((Approval)other); - case BinaryNote binaryNote: - return binaryNote.ArePropertiesEqual((BinaryNote)other); - case Book book: - return book.ArePropertiesEqual((Book)other); - case Bounds bounds: - return bounds.ArePropertiesEqual((Bounds)other); - case ChangeProposal changeProposal: - return changeProposal.ArePropertiesEqual((ChangeProposal)other); - case ChangeRequest changeRequest: - return changeRequest.ArePropertiesEqual((ChangeRequest)other); - case ContractChangeNotice contractChangeNotice: - return contractChangeNotice.ArePropertiesEqual((ContractChangeNotice)other); - case DiagramCanvas diagramCanvas: - return diagramCanvas.ArePropertiesEqual((DiagramCanvas)other); - case DiagramEdge diagramEdge: - return diagramEdge.ArePropertiesEqual((DiagramEdge)other); - case DiagramObject diagramObject: - return diagramObject.ArePropertiesEqual((DiagramObject)other); - case EngineeringModelDataDiscussionItem engineeringModelDataDiscussionItem: - return engineeringModelDataDiscussionItem.ArePropertiesEqual((EngineeringModelDataDiscussionItem)other); - case EngineeringModelDataNote engineeringModelDataNote: - return engineeringModelDataNote.ArePropertiesEqual((EngineeringModelDataNote)other); - case Goal goal: - return goal.ArePropertiesEqual((Goal)other); - case ModellingThingReference modellingThingReference: - return modellingThingReference.ArePropertiesEqual((ModellingThingReference)other); - case OwnedStyle ownedStyle: - return ownedStyle.ArePropertiesEqual((OwnedStyle)other); - case Page page: - return page.ArePropertiesEqual((Page)other); - case Point point: - return point.ArePropertiesEqual((Point)other); - case RelationshipParameterValue relationshipParameterValue: - return relationshipParameterValue.ArePropertiesEqual((RelationshipParameterValue)other); - case RequestForDeviation requestForDeviation: - return requestForDeviation.ArePropertiesEqual((RequestForDeviation)other); - case RequestForWaiver requestForWaiver: - return requestForWaiver.ArePropertiesEqual((RequestForWaiver)other); - case RequirementsContainerParameterValue requirementsContainerParameterValue: - return requirementsContainerParameterValue.ArePropertiesEqual((RequirementsContainerParameterValue)other); - case ReviewItemDiscrepancy reviewItemDiscrepancy: - return reviewItemDiscrepancy.ArePropertiesEqual((ReviewItemDiscrepancy)other); - case Section section: - return section.ArePropertiesEqual((Section)other); - case SharedStyle sharedStyle: - return sharedStyle.ArePropertiesEqual((SharedStyle)other); - case SiteDirectoryDataAnnotation siteDirectoryDataAnnotation: - return siteDirectoryDataAnnotation.ArePropertiesEqual((SiteDirectoryDataAnnotation)other); - case SiteDirectoryDataDiscussionItem siteDirectoryDataDiscussionItem: - return siteDirectoryDataDiscussionItem.ArePropertiesEqual((SiteDirectoryDataDiscussionItem)other); - case SiteDirectoryThingReference siteDirectoryThingReference: - return siteDirectoryThingReference.ArePropertiesEqual((SiteDirectoryThingReference)other); - case Solution solution: - return solution.ArePropertiesEqual((Solution)other); - case Stakeholder stakeholder: - return stakeholder.ArePropertiesEqual((Stakeholder)other); - case StakeholderValue stakeholderValue: - return stakeholderValue.ArePropertiesEqual((StakeholderValue)other); - case StakeHolderValueMap stakeHolderValueMap: - return stakeHolderValueMap.ArePropertiesEqual((StakeHolderValueMap)other); - case StakeHolderValueMapSettings stakeHolderValueMapSettings: - return stakeHolderValueMapSettings.ArePropertiesEqual((StakeHolderValueMapSettings)other); - case TextualNote textualNote: - return textualNote.ArePropertiesEqual((TextualNote)other); - case ValueGroup valueGroup: - return valueGroup.ArePropertiesEqual((ValueGroup)other); - case DependentParameterTypeAssignment dependentParameterTypeAssignment: - return dependentParameterTypeAssignment.ArePropertiesEqual((DependentParameterTypeAssignment)other); - case IndependentParameterTypeAssignment independentParameterTypeAssignment: - return independentParameterTypeAssignment.ArePropertiesEqual((IndependentParameterTypeAssignment)other); - case LogEntryChangelogItem logEntryChangelogItem: - return logEntryChangelogItem.ArePropertiesEqual((LogEntryChangelogItem)other); - case OrganizationalParticipant organizationalParticipant: - return organizationalParticipant.ArePropertiesEqual((OrganizationalParticipant)other); - case SampledFunctionParameterType sampledFunctionParameterType: - return sampledFunctionParameterType.ArePropertiesEqual((SampledFunctionParameterType)other); default: return false; } diff --git a/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs index 919adf3cd..532faac4d 100644 --- a/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,17 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,6 +88,8 @@ public static bool ArePropertiesEqual(this TimeOfDayParameterType me, TimeOfDayP if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +116,9 @@ public static bool ArePropertiesEqual(this TimeOfDayParameterType me, TimeOfDayP if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/UnitFactorEquatable.cs b/CDP4Common/AutoGenEquatable/UnitFactorEquatable.cs index 44a24299c..46aaae040 100644 --- a/CDP4Common/AutoGenEquatable/UnitFactorEquatable.cs +++ b/CDP4Common/AutoGenEquatable/UnitFactorEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,6 +93,9 @@ public static bool ArePropertiesEqual(this UnitFactor me, UnitFactor other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs b/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs index 557735c75..33bcd2578 100644 --- a/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs +++ b/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,16 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | conversionFactor | string | 1..1 | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | conversionFactor | string | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,6 +87,8 @@ public static bool ArePropertiesEqual(this UnitPrefix me, UnitPrefix other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (me.ConversionFactor == null && other.ConversionFactor != null) return false; if (me.ConversionFactor != null && !me.ConversionFactor.Equals(other.ConversionFactor)) return false; @@ -109,6 +113,9 @@ public static bool ArePropertiesEqual(this UnitPrefix me, UnitPrefix other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/UserPreferenceEquatable.cs b/CDP4Common/AutoGenEquatable/UserPreferenceEquatable.cs index 29e0da919..d35adb03e 100644 --- a/CDP4Common/AutoGenEquatable/UserPreferenceEquatable.cs +++ b/CDP4Common/AutoGenEquatable/UserPreferenceEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -39,6 +39,7 @@ | 5 | excludedPerson | Guid | 0..* | 1.1.0 | | 6 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 7 | thingPreference | string | 0..1 | 1.2.0 | + | 8 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -93,6 +94,9 @@ public static bool ArePropertiesEqual(this UserPreference me, UserPreference oth if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/UserRuleVerificationEquatable.cs b/CDP4Common/AutoGenEquatable/UserRuleVerificationEquatable.cs index b6095dd6a..5bb17d0d6 100644 --- a/CDP4Common/AutoGenEquatable/UserRuleVerificationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/UserRuleVerificationEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -42,6 +42,7 @@ | 8 | excludedPerson | Guid | 0..* | 1.1.0 | | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -101,6 +102,9 @@ public static bool ArePropertiesEqual(this UserRuleVerification me, UserRuleVeri if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs b/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs index c25e73971..9562c95f9 100644 --- a/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs @@ -3,17 +3,17 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -34,15 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -84,6 +86,8 @@ public static bool ArePropertiesEqual(this ValueGroup me, ValueGroup other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -105,6 +109,9 @@ public static bool ArePropertiesEqual(this ValueGroup me, ValueGroup other) if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; + if (me.Actor.HasValue != other.Actor.HasValue) return false; + if (!me.Actor.Equals(other.Actor)) return false; + return true; } } diff --git a/CDP4Common/AutoGenHelpers/ContainerPropertyHelper.cs b/CDP4Common/AutoGenHelpers/ContainerPropertyHelper.cs index dfefca5e2..05bb9c5a9 100644 --- a/CDP4Common/AutoGenHelpers/ContainerPropertyHelper.cs +++ b/CDP4Common/AutoGenHelpers/ContainerPropertyHelper.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,7 +53,12 @@ public static class ContainerPropertyHelper { "Alias", new KeyValuePair("DefinedThing", "alias") }, { "AndExpression", new KeyValuePair("ParametricConstraint", "expression") }, { "Approval", new KeyValuePair("ModellingAnnotationItem", "approvedBy") }, + { "ArchitectureDiagram", new KeyValuePair("Iteration", "diagramCanvas") }, + { "ArchitectureElement", new KeyValuePair("DiagramElementContainer", "diagramElement") }, { "ArrayParameterType", new KeyValuePair("ReferenceDataLibrary", "parameterType") }, + { "Attachment", new KeyValuePair("DefinedThing", "attachment") }, + { "Behavior", new KeyValuePair("ElementDefinition", "behavior") }, + { "BehavioralParameter", new KeyValuePair("Behavior", "behavioralParameter") }, { "BinaryNote", new KeyValuePair("Page", "note") }, { "BinaryRelationship", new KeyValuePair("Iteration", "relationship") }, { "BinaryRelationshipRule", new KeyValuePair("ReferenceDataLibrary", "rule") }, @@ -83,7 +89,9 @@ public static class ContainerPropertyHelper { "DiagramCanvas", new KeyValuePair("Iteration", "diagramCanvas") }, { "DiagramEdge", new KeyValuePair("DiagramElementContainer", "diagramElement") }, { "DiagramElementThing", new KeyValuePair("DiagramElementContainer", "diagramElement") }, + { "DiagramFrame", new KeyValuePair("DiagramElementContainer", "diagramElement") }, { "DiagramObject", new KeyValuePair("DiagramElementContainer", "diagramElement") }, + { "DiagramPort", new KeyValuePair("DiagramElementContainer", "diagramElement") }, { "DiagramShape", new KeyValuePair("DiagramElementContainer", "diagramElement") }, { "DomainFileStore", new KeyValuePair("Iteration", "domainFileStore") }, { "DomainOfExpertise", new KeyValuePair("SiteDirectory", "domain") }, diff --git a/CDP4Common/AutoGenHelpers/DefaultPermissionProvider.cs b/CDP4Common/AutoGenHelpers/DefaultPermissionProvider.cs index 4476bdb3f..1ec00ddfd 100644 --- a/CDP4Common/AutoGenHelpers/DefaultPermissionProvider.cs +++ b/CDP4Common/AutoGenHelpers/DefaultPermissionProvider.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -55,7 +56,12 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { ClassKind.Alias, ParticipantAccessRightKind.SAME_AS_CONTAINER }, { ClassKind.AndExpression, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.Approval, ParticipantAccessRightKind.NONE }, + { ClassKind.ArchitectureDiagram, ParticipantAccessRightKind.NONE }, + { ClassKind.ArchitectureElement, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.ArrayParameterType, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, + { ClassKind.Attachment, ParticipantAccessRightKind.SAME_AS_CONTAINER }, + { ClassKind.Behavior, ParticipantAccessRightKind.SAME_AS_CONTAINER }, + { ClassKind.BehavioralParameter, ParticipantAccessRightKind.SAME_AS_CONTAINER }, { ClassKind.BinaryNote, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.BinaryRelationship, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.BinaryRelationshipRule, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, @@ -88,8 +94,10 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { ClassKind.DiagramEdge, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.DiagramElementContainer, ParticipantAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagramElementThing, ParticipantAccessRightKind.SAME_AS_CONTAINER }, + { ClassKind.DiagramFrame, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.DiagrammingStyle, ParticipantAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagramObject, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, + { ClassKind.DiagramPort, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.DiagramShape, ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { ClassKind.DiagramThingBase, ParticipantAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiscussionItem, ParticipantAccessRightKind.NOT_APPLICABLE }, @@ -243,7 +251,12 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { "Alias", ParticipantAccessRightKind.SAME_AS_CONTAINER }, { "AndExpression", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "Approval", ParticipantAccessRightKind.NONE }, + { "ArchitectureDiagram", ParticipantAccessRightKind.NONE }, + { "ArchitectureElement", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "ArrayParameterType", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, + { "Attachment", ParticipantAccessRightKind.SAME_AS_CONTAINER }, + { "Behavior", ParticipantAccessRightKind.SAME_AS_CONTAINER }, + { "BehavioralParameter", ParticipantAccessRightKind.SAME_AS_CONTAINER }, { "BinaryNote", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "BinaryRelationship", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "BinaryRelationshipRule", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, @@ -276,8 +289,10 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { "DiagramEdge", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "DiagramElementContainer", ParticipantAccessRightKind.NOT_APPLICABLE }, { "DiagramElementThing", ParticipantAccessRightKind.SAME_AS_CONTAINER }, + { "DiagramFrame", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "DiagrammingStyle", ParticipantAccessRightKind.NOT_APPLICABLE }, { "DiagramObject", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, + { "DiagramPort", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "DiagramShape", ParticipantAccessRightKind.SAME_AS_SUPERCLASS }, { "DiagramThingBase", ParticipantAccessRightKind.NOT_APPLICABLE }, { "DiscussionItem", ParticipantAccessRightKind.NOT_APPLICABLE }, @@ -431,7 +446,12 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { ClassKind.Alias, PersonAccessRightKind.SAME_AS_CONTAINER }, { ClassKind.AndExpression, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.Approval, PersonAccessRightKind.NOT_APPLICABLE }, + { ClassKind.ArchitectureDiagram, PersonAccessRightKind.NOT_APPLICABLE }, + { ClassKind.ArchitectureElement, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.ArrayParameterType, PersonAccessRightKind.SAME_AS_SUPERCLASS }, + { ClassKind.Attachment, PersonAccessRightKind.SAME_AS_CONTAINER }, + { ClassKind.Behavior, PersonAccessRightKind.NOT_APPLICABLE }, + { ClassKind.BehavioralParameter, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.BinaryNote, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.BinaryRelationship, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.BinaryRelationshipRule, PersonAccessRightKind.SAME_AS_SUPERCLASS }, @@ -464,8 +484,10 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { ClassKind.DiagramEdge, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagramElementContainer, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagramElementThing, PersonAccessRightKind.NOT_APPLICABLE }, + { ClassKind.DiagramFrame, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagrammingStyle, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagramObject, PersonAccessRightKind.NOT_APPLICABLE }, + { ClassKind.DiagramPort, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagramShape, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiagramThingBase, PersonAccessRightKind.NOT_APPLICABLE }, { ClassKind.DiscussionItem, PersonAccessRightKind.NOT_APPLICABLE }, @@ -619,7 +641,12 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { "Alias", PersonAccessRightKind.SAME_AS_CONTAINER }, { "AndExpression", PersonAccessRightKind.NOT_APPLICABLE }, { "Approval", PersonAccessRightKind.NOT_APPLICABLE }, + { "ArchitectureDiagram", PersonAccessRightKind.NOT_APPLICABLE }, + { "ArchitectureElement", PersonAccessRightKind.NOT_APPLICABLE }, { "ArrayParameterType", PersonAccessRightKind.SAME_AS_SUPERCLASS }, + { "Attachment", PersonAccessRightKind.SAME_AS_CONTAINER }, + { "Behavior", PersonAccessRightKind.NOT_APPLICABLE }, + { "BehavioralParameter", PersonAccessRightKind.NOT_APPLICABLE }, { "BinaryNote", PersonAccessRightKind.NOT_APPLICABLE }, { "BinaryRelationship", PersonAccessRightKind.NOT_APPLICABLE }, { "BinaryRelationshipRule", PersonAccessRightKind.SAME_AS_SUPERCLASS }, @@ -652,8 +679,10 @@ public class DefaultPermissionProvider : IDefaultPermissionProvider { "DiagramEdge", PersonAccessRightKind.NOT_APPLICABLE }, { "DiagramElementContainer", PersonAccessRightKind.NOT_APPLICABLE }, { "DiagramElementThing", PersonAccessRightKind.NOT_APPLICABLE }, + { "DiagramFrame", PersonAccessRightKind.NOT_APPLICABLE }, { "DiagrammingStyle", PersonAccessRightKind.NOT_APPLICABLE }, { "DiagramObject", PersonAccessRightKind.NOT_APPLICABLE }, + { "DiagramPort", PersonAccessRightKind.NOT_APPLICABLE }, { "DiagramShape", PersonAccessRightKind.NOT_APPLICABLE }, { "DiagramThingBase", PersonAccessRightKind.NOT_APPLICABLE }, { "DiscussionItem", PersonAccessRightKind.NOT_APPLICABLE }, diff --git a/CDP4Common/AutoGenHelpers/EngineeringModelContainmentClassType.cs b/CDP4Common/AutoGenHelpers/EngineeringModelContainmentClassType.cs index 5a35c6ed7..7d4463473 100644 --- a/CDP4Common/AutoGenHelpers/EngineeringModelContainmentClassType.cs +++ b/CDP4Common/AutoGenHelpers/EngineeringModelContainmentClassType.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenHelpers/IterationContainmentClassType.cs b/CDP4Common/AutoGenHelpers/IterationContainmentClassType.cs index c00033ca5..4677b2ed2 100644 --- a/CDP4Common/AutoGenHelpers/IterationContainmentClassType.cs +++ b/CDP4Common/AutoGenHelpers/IterationContainmentClassType.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski, Omar Elebiary +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -53,6 +54,16 @@ public static class IterationContainmentClassType ClassKind.AndExpression, + ClassKind.ArchitectureDiagram, + + ClassKind.ArchitectureElement, + + ClassKind.Attachment, + + ClassKind.Behavior, + + ClassKind.BehavioralParameter, + ClassKind.BinaryRelationship, ClassKind.Bounds, @@ -69,8 +80,12 @@ public static class IterationContainmentClassType ClassKind.DiagramEdge, + ClassKind.DiagramFrame, + ClassKind.DiagramObject, + ClassKind.DiagramPort, + ClassKind.DomainFileStore, ClassKind.ElementDefinition, diff --git a/CDP4Common/AutoGenHelpers/PartitionDependentContainmentClassType.cs b/CDP4Common/AutoGenHelpers/PartitionDependentContainmentClassType.cs index 244cf4549..970fdb058 100644 --- a/CDP4Common/AutoGenHelpers/PartitionDependentContainmentClassType.cs +++ b/CDP4Common/AutoGenHelpers/PartitionDependentContainmentClassType.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenHelpers/PermissibleAnnotationProvider.cs b/CDP4Common/AutoGenHelpers/PermissibleAnnotationProvider.cs index bfb6da55c..17d04b25b 100644 --- a/CDP4Common/AutoGenHelpers/PermissibleAnnotationProvider.cs +++ b/CDP4Common/AutoGenHelpers/PermissibleAnnotationProvider.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ActionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ActionItemMetaInfo.cs index e78b72f17..9b960ef3c 100644 --- a/CDP4Common/AutoGenMetaInfo/ActionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ActionItemMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ActualFiniteStateListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ActualFiniteStateListMetaInfo.cs index e06b7f621..06db247b0 100644 --- a/CDP4Common/AutoGenMetaInfo/ActualFiniteStateListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ActualFiniteStateListMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ActualFiniteStateMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ActualFiniteStateMetaInfo.cs index ef76f180f..fcfd54e35 100644 --- a/CDP4Common/AutoGenMetaInfo/ActualFiniteStateMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ActualFiniteStateMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/AliasMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/AliasMetaInfo.cs index f1a0901e4..c1f7e40ff 100644 --- a/CDP4Common/AutoGenMetaInfo/AliasMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/AliasMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -288,6 +289,7 @@ public IEnumerable Properties private readonly Dictionary possibleContainerProperties = new Dictionary { { "ArrayParameterType", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Behavior", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "BinaryRelationshipRule", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "BooleanParameterType", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Category", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, diff --git a/CDP4Common/AutoGenMetaInfo/AndExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/AndExpressionMetaInfo.cs index 058216508..d8c4b1435 100644 --- a/CDP4Common/AutoGenMetaInfo/AndExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/AndExpressionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ApprovalMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ApprovalMetaInfo.cs index 77520b393..a22c95422 100644 --- a/CDP4Common/AutoGenMetaInfo/ApprovalMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ApprovalMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs new file mode 100644 index 000000000..b093e77f0 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs @@ -0,0 +1,557 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + using System; + using System.Collections.Generic; + using System.Linq; + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Exceptions; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + using CDP4Common.Validation; + + /// + /// This a class that holds meta info for . + /// + public partial class ArchitectureDiagramMetaInfo : IArchitectureDiagramMetaInfo + { + /// + /// The containment property value map. + /// + private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> + { + { "Bounds", architectureDiagram => architectureDiagram.Bounds }, + { "DiagramElement", architectureDiagram => architectureDiagram.DiagramElement }, + }; + + /// + /// The ordered containment property value map. + /// + private readonly Dictionary>> orderedContainmentPropertyValueMap = new Dictionary>>(); + + /// + /// The validation rules that should pass for an instance of . + /// + private readonly Dictionary> validationRules = new Dictionary> + { + { "Bounds", new DtoValidationHelper(item => item.Bounds != null, "The 'Bounds' property of a 'ArchitectureDiagram' is mandatory and cannot be null.") }, + { "Description", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Description), "The 'Description' property of a 'ArchitectureDiagram' is mandatory and cannot be empty or null.") }, + { "DiagramElement", new DtoValidationHelper(item => item.DiagramElement != null, "The 'DiagramElement' property of a 'ArchitectureDiagram' is mandatory and cannot be null.") }, + { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ArchitectureDiagram' is mandatory and cannot be null.") }, + { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'ArchitectureDiagram' is mandatory and cannot be null.") }, + { "Name", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Name), "The 'Name' property of a 'ArchitectureDiagram' is mandatory and cannot be empty or null.") }, + }; + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing architectureDiagram) + { + this.Validate(architectureDiagram, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing architectureDiagram, Func validateProperty) + { + foreach (var applicableRule in this.validationRules.Where(x => validateProperty(x.Key))) + { + applicableRule.Value.Validate((CDP4Common.DTO.ArchitectureDiagram)architectureDiagram); + } + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing architectureDiagram) + { + return this.TryValidate(architectureDiagram, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing architectureDiagram, Func validateProperty) + { + var applicableValidationRules = this.validationRules.Where(x => validateProperty(x.Key)).Select(x => x.Value); + + return applicableValidationRules.All(applicableRule => applicableRule.TryValidate((CDP4Common.DTO.ArchitectureDiagram)architectureDiagram)); + } + + /// + /// Returns the containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetContainmentIds(CDP4Common.DTO.Thing architectureDiagram, string propertyName) + { + if (!this.containmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'ArchitectureDiagram'"); + } + + return this.containmentPropertyValueMap[propertyName]((CDP4Common.DTO.ArchitectureDiagram)architectureDiagram); + } + + /// + /// Returns the ordered containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of ordered containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing architectureDiagram, string propertyName) + { + if (!this.orderedContainmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'ArchitectureDiagram'"); + } + + return this.orderedContainmentPropertyValueMap[propertyName]((CDP4Common.DTO.ArchitectureDiagram)architectureDiagram); + } + + /// + /// The CDP version property map. + /// + private readonly Dictionary cdpVersionedProperties = new Dictionary + { + { "Actor", "1.3.0" }, + { "ExcludedDomain", "1.1.0" }, + { "ExcludedPerson", "1.1.0" }, + { "ModifiedOn", "1.1.0" }, + { "ThingPreference", "1.2.0" }, + }; + + /// + /// The containment property to type name map. + /// + private readonly Dictionary containmentTypeMap = new Dictionary + { + { "Bounds", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets the for the class + /// + public IEnumerable Properties + { + get + { + foreach (var propertyMetaInfo in this.containmentTypeMap) + { + yield return propertyMetaInfo.Value; + } + + foreach (var propertyMetaInfo in this.propertyTypeMap) + { + yield return propertyMetaInfo.Value; + } + } + } + + /// + /// The property value map. + /// + private readonly Dictionary> propertyValueMap = new Dictionary> + { + { "Actor", thing => thing.Actor }, + { "Bounds", thing => thing.Bounds }, + { "ClassKind", thing => thing.ClassKind }, + { "CreatedOn", thing => thing.CreatedOn }, + { "Description", thing => thing.Description }, + { "DiagramElement", thing => thing.DiagramElement }, + { "ExcludedDomain", thing => thing.ExcludedDomain }, + { "ExcludedPerson", thing => thing.ExcludedPerson }, + { "Iid", thing => thing.Iid }, + { "ModifiedOn", thing => thing.ModifiedOn }, + { "Name", thing => thing.Name }, + { "Owner", thing => thing.Owner }, + { "PublicationState", thing => thing.PublicationState }, + { "RevisionNumber", thing => thing.RevisionNumber }, + { "ThingPreference", thing => thing.ThingPreference }, + { "TopArchitectureElement", thing => thing.TopArchitectureElement }, + }; + + /// + /// The property type map. + /// + /// + /// Contained properties are excluded for this map + /// + private readonly Dictionary propertyTypeMap = new Dictionary + { + { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "CreatedOn", new PropertyMetaInfo("CreatedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Description", new PropertyMetaInfo("Description", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Owner", new PropertyMetaInfo("Owner", "DomainOfExpertise", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "PublicationState", new PropertyMetaInfo("PublicationState", "CDP4Common.DiagramData.PublicationState", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "TopArchitectureElement", new PropertyMetaInfo("TopArchitectureElement", "ArchitectureElement", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + }; + + /// + /// The collection property value deserialization map. + /// + private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> + { + { "Bounds", (value) => (Guid)value }, + { "DiagramElement", (value) => (Guid)value }, + { "ExcludedDomain", (value) => (Guid)value }, + { "ExcludedPerson", (value) => (Guid)value }, + }; + + /// + /// The property value assignment map. + /// + private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> + { + { "Actor", (architectureDiagram, value) => architectureDiagram.Actor = value == null ? (Guid?)null : (Guid)value }, + { "CreatedOn", (architectureDiagram, value) => architectureDiagram.CreatedOn = (DateTime)value }, + { "Description", (architectureDiagram, value) => architectureDiagram.Description = value.ToString() }, + { "Iid", (architectureDiagram, value) => architectureDiagram.Iid = (Guid)value }, + { "ModifiedOn", (architectureDiagram, value) => architectureDiagram.ModifiedOn = (DateTime)value }, + { "Name", (architectureDiagram, value) => architectureDiagram.Name = value.ToString() }, + { "Owner", (architectureDiagram, value) => architectureDiagram.Owner = (Guid)value }, + { "PublicationState", (architectureDiagram, value) => architectureDiagram.PublicationState = (PublicationState)value }, + { "ThingPreference", (architectureDiagram, value) => architectureDiagram.ThingPreference = value == null ? (string)null : value.ToString() }, + { "TopArchitectureElement", (architectureDiagram, value) => architectureDiagram.TopArchitectureElement = value == null ? (Guid?)null : (Guid)value }, + }; + + /// + /// The possible container property map. + /// + private readonly Dictionary possibleContainerProperties = new Dictionary + { + { "Iteration", new PropertyMetaInfo("DiagramCanvas", "DiagramCanvas", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets a value indicating whether this type should be deprecated upon Delete. + /// + public bool IsDeprecatableThing + { + get + { + return false; + } + } + + /// + /// Gets a value indicating whether this type is a top container. + /// + public bool IsTopContainer + { + get + { + return false; + } + } + + /// + /// Gets the base type name of this class. + /// + public string BaseType + { + get { return "DiagramCanvas"; } + } + + /// + /// Gets the CDP class version. + /// + public string ClassVersion + { + get { return "1.4.0"; } + } + + /// + /// Get the data model version of the supplied property. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// The version number as specified property otherwise the default data model version. + /// + public string GetPropertyVersion(string propertyName) + { + return this.cdpVersionedProperties.ContainsKey(propertyName) ? this.cdpVersionedProperties[propertyName] : null; + } + + /// + /// Returns the containment property type from the supplied property name. + /// + /// + /// The containment property name. + /// + /// + /// The type name of the containment. + /// + /// + /// If the property name is not supported for the . + /// + public PropertyMetaInfo GetContainmentType(string propertyName) + { + if (!this.containmentTypeMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'ArchitectureDiagram'"); + } + + return this.containmentTypeMap[propertyName]; + } + + /// + /// Returns the property type from the supplied property name. + /// + /// + /// The property name. + /// + /// + /// The or null if it does not exist. + /// + public PropertyMetaInfo GetPropertyMetaInfo(string propertyName) + { + if (this.containmentTypeMap.ContainsKey(propertyName)) + { + return this.containmentTypeMap[propertyName]; + } + + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + return this.propertyTypeMap[propertyName]; + } + + return null; + } + + /// + /// Returns the container property for the supplied type name is a possible container for . + /// + /// + /// Name of the type for which to check if it is a container of . + /// + /// + /// Supplied container property info instance that will be set if the supplied type name is a container of . + /// + /// + /// True if the supplied typeName is a container for and sets the container property name. + /// + public bool TryGetContainerProperty(string typeName, out PropertyMetaInfo containerProperty) + { + var isContainer = this.possibleContainerProperties.ContainsKey(typeName); + containerProperty = isContainer ? this.possibleContainerProperties[typeName] : null; + + return isContainer; + } + + /// + /// Check if the supplied property name for is scalar. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// True if the supplied property name is a scalar property. + /// + public bool IsScalar(string propertyName) + { + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + var propertyInfo = this.propertyTypeMap[propertyName]; + return propertyInfo.PropertyKind == PropertyKind.Scalar || propertyInfo.PropertyKind == PropertyKind.ValueArray; + } + + return false; + } + + /// + /// Apply the value update to the supplied property name of the updatable instance. + /// + /// + /// The instance to which to apply the property value update. + /// + /// + /// The property name of the to which to apply the value update. + /// + /// + /// The updated value to apply. + /// + /// + /// True if the value update was successfully applied. + /// + public bool ApplyPropertyUpdate(CDP4Common.DTO.Thing updatableThing, string propertyName, object value) + { + if (updatableThing == null || !this.IsScalar(propertyName)) + { + return false; + } + + this.propertyValueAssignmentMap[propertyName]((CDP4Common.DTO.ArchitectureDiagram)updatableThing, value); + + return true; + } + + /// + /// Returns a deserialized object from the supplied value string for the property name. + /// + /// + /// The property name. + /// + /// + /// The value to deserialize from its current string form. + /// + /// + /// A deserialized object from the supplied value. + /// + /// + /// If the property name is not supported for the . + /// + public object DeserializeCollectionValue(string propertyName, object value) + { + if (!this.collectionPropertyValueDeserializationMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'ArchitectureDiagram'"); + } + + return this.collectionPropertyValueDeserializationMap[propertyName](value); + } + + /// + /// Returns the value of the property of a Thing + /// + /// + /// The property name. + /// + /// + /// The Thing object + /// + /// + /// The value of the property of a Thing + /// + /// + /// If the property name is not supported for the . + /// + public object GetValue(string propertyName, CDP4Common.DTO.Thing thing) + { + if (!this.propertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'ArchitectureDiagram'"); + } + + return this.propertyValueMap[propertyName]((CDP4Common.DTO.ArchitectureDiagram)thing); + } + + /// + /// Gets the collection of property names for a + /// + public IEnumerable GetPropertyNameCollection() + { + var collection = new List(this.propertyTypeMap.Keys); + collection.AddRange(this.containmentTypeMap.Keys); + return collection; + } + + /// + /// Instantiates a + /// + /// + /// The instantiated + /// + public CDP4Common.DTO.Thing InstantiateDto(Guid guid, int revisionNumber) + { + return new CDP4Common.DTO.ArchitectureDiagram(guid, revisionNumber); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/ArchitectureElementMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ArchitectureElementMetaInfo.cs new file mode 100644 index 000000000..42073743a --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/ArchitectureElementMetaInfo.cs @@ -0,0 +1,565 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + using System; + using System.Collections.Generic; + using System.Linq; + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Exceptions; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + using CDP4Common.Validation; + + /// + /// This a class that holds meta info for . + /// + public partial class ArchitectureElementMetaInfo : IArchitectureElementMetaInfo + { + /// + /// The containment property value map. + /// + private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> + { + { "Bounds", architectureElement => architectureElement.Bounds }, + { "DiagramElement", architectureElement => architectureElement.DiagramElement }, + { "LocalStyle", architectureElement => architectureElement.LocalStyle }, + }; + + /// + /// The ordered containment property value map. + /// + private readonly Dictionary>> orderedContainmentPropertyValueMap = new Dictionary>>(); + + /// + /// The validation rules that should pass for an instance of . + /// + private readonly Dictionary> validationRules = new Dictionary> + { + { "Bounds", new DtoValidationHelper(item => item.Bounds != null, "The 'Bounds' property of a 'ArchitectureElement' is mandatory and cannot be null.") }, + { "DiagramElement", new DtoValidationHelper(item => item.DiagramElement != null, "The 'DiagramElement' property of a 'ArchitectureElement' is mandatory and cannot be null.") }, + { "Documentation", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Documentation), "The 'Documentation' property of a 'ArchitectureElement' is mandatory and cannot be empty or null.") }, + { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ArchitectureElement' is mandatory and cannot be null.") }, + { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'ArchitectureElement' is mandatory and cannot be null.") }, + { "LocalStyle", new DtoValidationHelper(item => item.LocalStyle != null, "The 'LocalStyle' property of a 'ArchitectureElement' is mandatory and cannot be null.") }, + { "Name", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Name), "The 'Name' property of a 'ArchitectureElement' is mandatory and cannot be empty or null.") }, + }; + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing architectureElement) + { + this.Validate(architectureElement, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing architectureElement, Func validateProperty) + { + foreach (var applicableRule in this.validationRules.Where(x => validateProperty(x.Key))) + { + applicableRule.Value.Validate((CDP4Common.DTO.ArchitectureElement)architectureElement); + } + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing architectureElement) + { + return this.TryValidate(architectureElement, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing architectureElement, Func validateProperty) + { + var applicableValidationRules = this.validationRules.Where(x => validateProperty(x.Key)).Select(x => x.Value); + + return applicableValidationRules.All(applicableRule => applicableRule.TryValidate((CDP4Common.DTO.ArchitectureElement)architectureElement)); + } + + /// + /// Returns the containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetContainmentIds(CDP4Common.DTO.Thing architectureElement, string propertyName) + { + if (!this.containmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'ArchitectureElement'"); + } + + return this.containmentPropertyValueMap[propertyName]((CDP4Common.DTO.ArchitectureElement)architectureElement); + } + + /// + /// Returns the ordered containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of ordered containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing architectureElement, string propertyName) + { + if (!this.orderedContainmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'ArchitectureElement'"); + } + + return this.orderedContainmentPropertyValueMap[propertyName]((CDP4Common.DTO.ArchitectureElement)architectureElement); + } + + /// + /// The CDP version property map. + /// + private readonly Dictionary cdpVersionedProperties = new Dictionary + { + { "Actor", "1.3.0" }, + { "ExcludedDomain", "1.1.0" }, + { "ExcludedPerson", "1.1.0" }, + { "ModifiedOn", "1.1.0" }, + { "ThingPreference", "1.2.0" }, + }; + + /// + /// The containment property to type name map. + /// + private readonly Dictionary containmentTypeMap = new Dictionary + { + { "Bounds", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "LocalStyle", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + }; + + /// + /// Gets the for the class + /// + public IEnumerable Properties + { + get + { + foreach (var propertyMetaInfo in this.containmentTypeMap) + { + yield return propertyMetaInfo.Value; + } + + foreach (var propertyMetaInfo in this.propertyTypeMap) + { + yield return propertyMetaInfo.Value; + } + } + } + + /// + /// The property value map. + /// + private readonly Dictionary> propertyValueMap = new Dictionary> + { + { "Actor", thing => thing.Actor }, + { "Bounds", thing => thing.Bounds }, + { "ClassKind", thing => thing.ClassKind }, + { "DepictedThing", thing => thing.DepictedThing }, + { "DiagramElement", thing => thing.DiagramElement }, + { "Documentation", thing => thing.Documentation }, + { "ExcludedDomain", thing => thing.ExcludedDomain }, + { "ExcludedPerson", thing => thing.ExcludedPerson }, + { "Iid", thing => thing.Iid }, + { "LocalStyle", thing => thing.LocalStyle }, + { "ModifiedOn", thing => thing.ModifiedOn }, + { "Name", thing => thing.Name }, + { "Resolution", thing => thing.Resolution }, + { "RevisionNumber", thing => thing.RevisionNumber }, + { "SharedStyle", thing => thing.SharedStyle }, + { "ThingPreference", thing => thing.ThingPreference }, + }; + + /// + /// The property type map. + /// + /// + /// Contained properties are excluded for this map + /// + private readonly Dictionary propertyTypeMap = new Dictionary + { + { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "DepictedThing", new PropertyMetaInfo("DepictedThing", "Thing", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "Documentation", new PropertyMetaInfo("Documentation", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Resolution", new PropertyMetaInfo("Resolution", "float", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "SharedStyle", new PropertyMetaInfo("SharedStyle", "SharedStyle", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + }; + + /// + /// The collection property value deserialization map. + /// + private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> + { + { "Bounds", (value) => (Guid)value }, + { "DiagramElement", (value) => (Guid)value }, + { "ExcludedDomain", (value) => (Guid)value }, + { "ExcludedPerson", (value) => (Guid)value }, + { "LocalStyle", (value) => (Guid)value }, + }; + + /// + /// The property value assignment map. + /// + private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> + { + { "Actor", (architectureElement, value) => architectureElement.Actor = value == null ? (Guid?)null : (Guid)value }, + { "DepictedThing", (architectureElement, value) => architectureElement.DepictedThing = value == null ? (Guid?)null : (Guid)value }, + { "Documentation", (architectureElement, value) => architectureElement.Documentation = value.ToString() }, + { "Iid", (architectureElement, value) => architectureElement.Iid = (Guid)value }, + { "ModifiedOn", (architectureElement, value) => architectureElement.ModifiedOn = (DateTime)value }, + { "Name", (architectureElement, value) => architectureElement.Name = value.ToString() }, + { "Resolution", (architectureElement, value) => architectureElement.Resolution = (float)value }, + { "SharedStyle", (architectureElement, value) => architectureElement.SharedStyle = value == null ? (Guid?)null : (Guid)value }, + { "ThingPreference", (architectureElement, value) => architectureElement.ThingPreference = value == null ? (string)null : value.ToString() }, + }; + + /// + /// The possible container property map. + /// + private readonly Dictionary possibleContainerProperties = new Dictionary + { + { "ArchitectureDiagram", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ArchitectureElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramCanvas", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramEdge", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramFrame", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramObject", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramPort", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets a value indicating whether this type should be deprecated upon Delete. + /// + public bool IsDeprecatableThing + { + get + { + return false; + } + } + + /// + /// Gets a value indicating whether this type is a top container. + /// + public bool IsTopContainer + { + get + { + return false; + } + } + + /// + /// Gets the base type name of this class. + /// + public string BaseType + { + get { return "DiagramObject"; } + } + + /// + /// Gets the CDP class version. + /// + public string ClassVersion + { + get { return "1.4.0"; } + } + + /// + /// Get the data model version of the supplied property. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// The version number as specified property otherwise the default data model version. + /// + public string GetPropertyVersion(string propertyName) + { + return this.cdpVersionedProperties.ContainsKey(propertyName) ? this.cdpVersionedProperties[propertyName] : null; + } + + /// + /// Returns the containment property type from the supplied property name. + /// + /// + /// The containment property name. + /// + /// + /// The type name of the containment. + /// + /// + /// If the property name is not supported for the . + /// + public PropertyMetaInfo GetContainmentType(string propertyName) + { + if (!this.containmentTypeMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'ArchitectureElement'"); + } + + return this.containmentTypeMap[propertyName]; + } + + /// + /// Returns the property type from the supplied property name. + /// + /// + /// The property name. + /// + /// + /// The or null if it does not exist. + /// + public PropertyMetaInfo GetPropertyMetaInfo(string propertyName) + { + if (this.containmentTypeMap.ContainsKey(propertyName)) + { + return this.containmentTypeMap[propertyName]; + } + + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + return this.propertyTypeMap[propertyName]; + } + + return null; + } + + /// + /// Returns the container property for the supplied type name is a possible container for . + /// + /// + /// Name of the type for which to check if it is a container of . + /// + /// + /// Supplied container property info instance that will be set if the supplied type name is a container of . + /// + /// + /// True if the supplied typeName is a container for and sets the container property name. + /// + public bool TryGetContainerProperty(string typeName, out PropertyMetaInfo containerProperty) + { + var isContainer = this.possibleContainerProperties.ContainsKey(typeName); + containerProperty = isContainer ? this.possibleContainerProperties[typeName] : null; + + return isContainer; + } + + /// + /// Check if the supplied property name for is scalar. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// True if the supplied property name is a scalar property. + /// + public bool IsScalar(string propertyName) + { + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + var propertyInfo = this.propertyTypeMap[propertyName]; + return propertyInfo.PropertyKind == PropertyKind.Scalar || propertyInfo.PropertyKind == PropertyKind.ValueArray; + } + + return false; + } + + /// + /// Apply the value update to the supplied property name of the updatable instance. + /// + /// + /// The instance to which to apply the property value update. + /// + /// + /// The property name of the to which to apply the value update. + /// + /// + /// The updated value to apply. + /// + /// + /// True if the value update was successfully applied. + /// + public bool ApplyPropertyUpdate(CDP4Common.DTO.Thing updatableThing, string propertyName, object value) + { + if (updatableThing == null || !this.IsScalar(propertyName)) + { + return false; + } + + this.propertyValueAssignmentMap[propertyName]((CDP4Common.DTO.ArchitectureElement)updatableThing, value); + + return true; + } + + /// + /// Returns a deserialized object from the supplied value string for the property name. + /// + /// + /// The property name. + /// + /// + /// The value to deserialize from its current string form. + /// + /// + /// A deserialized object from the supplied value. + /// + /// + /// If the property name is not supported for the . + /// + public object DeserializeCollectionValue(string propertyName, object value) + { + if (!this.collectionPropertyValueDeserializationMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'ArchitectureElement'"); + } + + return this.collectionPropertyValueDeserializationMap[propertyName](value); + } + + /// + /// Returns the value of the property of a Thing + /// + /// + /// The property name. + /// + /// + /// The Thing object + /// + /// + /// The value of the property of a Thing + /// + /// + /// If the property name is not supported for the . + /// + public object GetValue(string propertyName, CDP4Common.DTO.Thing thing) + { + if (!this.propertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'ArchitectureElement'"); + } + + return this.propertyValueMap[propertyName]((CDP4Common.DTO.ArchitectureElement)thing); + } + + /// + /// Gets the collection of property names for a + /// + public IEnumerable GetPropertyNameCollection() + { + var collection = new List(this.propertyTypeMap.Keys); + collection.AddRange(this.containmentTypeMap.Keys); + return collection; + } + + /// + /// Instantiates a + /// + /// + /// The instantiated + /// + public CDP4Common.DTO.Thing InstantiateDto(Guid guid, int revisionNumber) + { + return new CDP4Common.DTO.ArchitectureElement(guid, revisionNumber); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs index 047808755..dd25aea7b 100644 --- a/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ArrayParameterTypeMetaInfo : IArrayParameterTypeMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", arrayParameterType => arrayParameterType.Alias }, + { "Attachment", arrayParameterType => arrayParameterType.Attachment }, { "Component", arrayParameterType => arrayParameterType.Component.ToIdList() }, { "Definition", arrayParameterType => arrayParameterType.Definition }, { "HyperLink", arrayParameterType => arrayParameterType.HyperLink }, @@ -71,6 +73,7 @@ public partial class ArrayParameterTypeMetaInfo : IArrayParameterTypeMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ArrayParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ArrayParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ArrayParameterType' is mandatory and cannot be null.") }, { "Component", new DtoValidationHelper(item => item.Component != null && item.Component.Any(), "The 'Component' property of a 'ArrayParameterType' is mandatory and must have at least one entry.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ArrayParameterType' is mandatory and cannot be null.") }, @@ -218,6 +221,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ar private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Component", new PropertyMetaInfo("Component", "ParameterTypeComponent", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 1, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -249,6 +253,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Component", thing => thing.Component }, @@ -304,6 +309,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Component", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/AttachmentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/AttachmentMetaInfo.cs new file mode 100644 index 000000000..c55ac1dc8 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/AttachmentMetaInfo.cs @@ -0,0 +1,591 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + using System; + using System.Collections.Generic; + using System.Linq; + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Exceptions; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + using CDP4Common.Validation; + + /// + /// This a class that holds meta info for . + /// + public partial class AttachmentMetaInfo : IAttachmentMetaInfo + { + /// + /// The containment property value map. + /// + private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>>(); + + /// + /// The ordered containment property value map. + /// + private readonly Dictionary>> orderedContainmentPropertyValueMap = new Dictionary>>(); + + /// + /// The validation rules that should pass for an instance of . + /// + private readonly Dictionary> validationRules = new Dictionary> + { + { "ContentHash", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.ContentHash), "The 'ContentHash' property of a 'Attachment' is mandatory and cannot be empty or null.") }, + { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Attachment' is mandatory and cannot be null.") }, + { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'Attachment' is mandatory and cannot be null.") }, + { "FileName", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.FileName), "The 'FileName' property of a 'Attachment' is mandatory and cannot be empty or null.") }, + { "FileType", new DtoValidationHelper(item => item.FileType != null && item.FileType.Any(), "The 'FileType' property of a 'Attachment' is mandatory and must have at least one entry.") }, + }; + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing attachment) + { + this.Validate(attachment, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing attachment, Func validateProperty) + { + foreach (var applicableRule in this.validationRules.Where(x => validateProperty(x.Key))) + { + applicableRule.Value.Validate((CDP4Common.DTO.Attachment)attachment); + } + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing attachment) + { + return this.TryValidate(attachment, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing attachment, Func validateProperty) + { + var applicableValidationRules = this.validationRules.Where(x => validateProperty(x.Key)).Select(x => x.Value); + + return applicableValidationRules.All(applicableRule => applicableRule.TryValidate((CDP4Common.DTO.Attachment)attachment)); + } + + /// + /// Returns the containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetContainmentIds(CDP4Common.DTO.Thing attachment, string propertyName) + { + if (!this.containmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'Attachment'"); + } + + return this.containmentPropertyValueMap[propertyName]((CDP4Common.DTO.Attachment)attachment); + } + + /// + /// Returns the ordered containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of ordered containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing attachment, string propertyName) + { + if (!this.orderedContainmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'Attachment'"); + } + + return this.orderedContainmentPropertyValueMap[propertyName]((CDP4Common.DTO.Attachment)attachment); + } + + /// + /// The CDP version property map. + /// + private readonly Dictionary cdpVersionedProperties = new Dictionary + { + { "Actor", "1.3.0" }, + { "ExcludedDomain", "1.1.0" }, + { "ExcludedPerson", "1.1.0" }, + { "ModifiedOn", "1.1.0" }, + { "ThingPreference", "1.2.0" }, + }; + + /// + /// The containment property to type name map. + /// + private readonly Dictionary containmentTypeMap = new Dictionary(); + + /// + /// Gets the for the class + /// + public IEnumerable Properties + { + get + { + foreach (var propertyMetaInfo in this.containmentTypeMap) + { + yield return propertyMetaInfo.Value; + } + + foreach (var propertyMetaInfo in this.propertyTypeMap) + { + yield return propertyMetaInfo.Value; + } + } + } + + /// + /// The property value map. + /// + private readonly Dictionary> propertyValueMap = new Dictionary> + { + { "Actor", thing => thing.Actor }, + { "ClassKind", thing => thing.ClassKind }, + { "ContentHash", thing => thing.ContentHash }, + { "ExcludedDomain", thing => thing.ExcludedDomain }, + { "ExcludedPerson", thing => thing.ExcludedPerson }, + { "FileName", thing => thing.FileName }, + { "FileType", thing => thing.FileType }, + { "Iid", thing => thing.Iid }, + { "ModifiedOn", thing => thing.ModifiedOn }, + { "RevisionNumber", thing => thing.RevisionNumber }, + { "ThingPreference", thing => thing.ThingPreference }, + }; + + /// + /// The property type map. + /// + /// + /// Contained properties are excluded for this map + /// + private readonly Dictionary propertyTypeMap = new Dictionary + { + { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ContentHash", new PropertyMetaInfo("ContentHash", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "FileName", new PropertyMetaInfo("FileName", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "FileType", new PropertyMetaInfo("FileType", "FileType", PropertyKind.List, AggregationKind.None, false, false, true, 1, "*", true) }, + { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + }; + + /// + /// The collection property value deserialization map. + /// + private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> + { + { "ExcludedDomain", (value) => (Guid)value }, + { "ExcludedPerson", (value) => (Guid)value }, + { "FileType", (value) => (Guid)value }, + }; + + /// + /// The property value assignment map. + /// + private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> + { + { "Actor", (attachment, value) => attachment.Actor = value == null ? (Guid?)null : (Guid)value }, + { "ContentHash", (attachment, value) => attachment.ContentHash = value.ToString() }, + { "FileName", (attachment, value) => attachment.FileName = value.ToString() }, + { "Iid", (attachment, value) => attachment.Iid = (Guid)value }, + { "ModifiedOn", (attachment, value) => attachment.ModifiedOn = (DateTime)value }, + { "ThingPreference", (attachment, value) => attachment.ThingPreference = value == null ? (string)null : value.ToString() }, + }; + + /// + /// The possible container property map. + /// + private readonly Dictionary possibleContainerProperties = new Dictionary + { + { "ArrayParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Behavior", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "BinaryRelationshipRule", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "BooleanParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Category", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "CompoundParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Constant", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "CyclicRatioScale", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DateParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DateTimeParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DecompositionRule", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DerivedQuantityKind", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DerivedUnit", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DomainOfExpertise", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DomainOfExpertiseGroup", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ElementDefinition", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ElementUsage", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "EngineeringModelSetup", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "EnumerationParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "EnumerationValueDefinition", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "FileType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Glossary", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Goal", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "IntervalScale", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "LinearConversionUnit", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "LogarithmicScale", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ModelReferenceDataLibrary", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "MultiRelationshipRule", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Option", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "OrdinalScale", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ParameterizedCategoryRule", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ParticipantRole", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "PersonRole", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "PossibleFiniteState", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "PossibleFiniteStateList", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "PrefixedUnit", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "RatioScale", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ReferencerRule", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ReferenceSource", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Requirement", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "RequirementsGroup", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "RequirementsSpecification", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "RuleVerificationList", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "SampledFunctionParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ScaleValueDefinition", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "SimpleQuantityKind", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "SimpleUnit", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "SiteReferenceDataLibrary", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "SpecializedQuantityKind", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Stakeholder", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "StakeholderValue", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "StakeHolderValueMap", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Term", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "TextParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "TimeOfDayParameterType", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "UnitPrefix", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ValueGroup", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets a value indicating whether this type should be deprecated upon Delete. + /// + public bool IsDeprecatableThing + { + get + { + return false; + } + } + + /// + /// Gets a value indicating whether this type is a top container. + /// + public bool IsTopContainer + { + get + { + return false; + } + } + + /// + /// Gets the base type name of this class. + /// + public string BaseType + { + get { return "Thing"; } + } + + /// + /// Gets the CDP class version. + /// + public string ClassVersion + { + get { return "1.4.0"; } + } + + /// + /// Get the data model version of the supplied property. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// The version number as specified property otherwise the default data model version. + /// + public string GetPropertyVersion(string propertyName) + { + return this.cdpVersionedProperties.ContainsKey(propertyName) ? this.cdpVersionedProperties[propertyName] : null; + } + + /// + /// Returns the containment property type from the supplied property name. + /// + /// + /// The containment property name. + /// + /// + /// The type name of the containment. + /// + /// + /// If the property name is not supported for the . + /// + public PropertyMetaInfo GetContainmentType(string propertyName) + { + if (!this.containmentTypeMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'Attachment'"); + } + + return this.containmentTypeMap[propertyName]; + } + + /// + /// Returns the property type from the supplied property name. + /// + /// + /// The property name. + /// + /// + /// The or null if it does not exist. + /// + public PropertyMetaInfo GetPropertyMetaInfo(string propertyName) + { + if (this.containmentTypeMap.ContainsKey(propertyName)) + { + return this.containmentTypeMap[propertyName]; + } + + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + return this.propertyTypeMap[propertyName]; + } + + return null; + } + + /// + /// Returns the container property for the supplied type name is a possible container for . + /// + /// + /// Name of the type for which to check if it is a container of . + /// + /// + /// Supplied container property info instance that will be set if the supplied type name is a container of . + /// + /// + /// True if the supplied typeName is a container for and sets the container property name. + /// + public bool TryGetContainerProperty(string typeName, out PropertyMetaInfo containerProperty) + { + var isContainer = this.possibleContainerProperties.ContainsKey(typeName); + containerProperty = isContainer ? this.possibleContainerProperties[typeName] : null; + + return isContainer; + } + + /// + /// Check if the supplied property name for is scalar. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// True if the supplied property name is a scalar property. + /// + public bool IsScalar(string propertyName) + { + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + var propertyInfo = this.propertyTypeMap[propertyName]; + return propertyInfo.PropertyKind == PropertyKind.Scalar || propertyInfo.PropertyKind == PropertyKind.ValueArray; + } + + return false; + } + + /// + /// Apply the value update to the supplied property name of the updatable instance. + /// + /// + /// The instance to which to apply the property value update. + /// + /// + /// The property name of the to which to apply the value update. + /// + /// + /// The updated value to apply. + /// + /// + /// True if the value update was successfully applied. + /// + public bool ApplyPropertyUpdate(CDP4Common.DTO.Thing updatableThing, string propertyName, object value) + { + if (updatableThing == null || !this.IsScalar(propertyName)) + { + return false; + } + + this.propertyValueAssignmentMap[propertyName]((CDP4Common.DTO.Attachment)updatableThing, value); + + return true; + } + + /// + /// Returns a deserialized object from the supplied value string for the property name. + /// + /// + /// The property name. + /// + /// + /// The value to deserialize from its current string form. + /// + /// + /// A deserialized object from the supplied value. + /// + /// + /// If the property name is not supported for the . + /// + public object DeserializeCollectionValue(string propertyName, object value) + { + if (!this.collectionPropertyValueDeserializationMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'Attachment'"); + } + + return this.collectionPropertyValueDeserializationMap[propertyName](value); + } + + /// + /// Returns the value of the property of a Thing + /// + /// + /// The property name. + /// + /// + /// The Thing object + /// + /// + /// The value of the property of a Thing + /// + /// + /// If the property name is not supported for the . + /// + public object GetValue(string propertyName, CDP4Common.DTO.Thing thing) + { + if (!this.propertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'Attachment'"); + } + + return this.propertyValueMap[propertyName]((CDP4Common.DTO.Attachment)thing); + } + + /// + /// Gets the collection of property names for a + /// + public IEnumerable GetPropertyNameCollection() + { + var collection = new List(this.propertyTypeMap.Keys); + collection.AddRange(this.containmentTypeMap.Keys); + return collection; + } + + /// + /// Instantiates a + /// + /// + /// The instantiated + /// + public CDP4Common.DTO.Thing InstantiateDto(Guid guid, int revisionNumber) + { + return new CDP4Common.DTO.Attachment(guid, revisionNumber); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs new file mode 100644 index 000000000..168c1abd9 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs @@ -0,0 +1,566 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + using System; + using System.Collections.Generic; + using System.Linq; + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Exceptions; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + using CDP4Common.Validation; + + /// + /// This a class that holds meta info for . + /// + public partial class BehaviorMetaInfo : IBehaviorMetaInfo + { + /// + /// The containment property value map. + /// + private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> + { + { "Alias", behavior => behavior.Alias }, + { "Attachment", behavior => behavior.Attachment }, + { "BehavioralParameter", behavior => behavior.BehavioralParameter }, + { "Definition", behavior => behavior.Definition }, + { "HyperLink", behavior => behavior.HyperLink }, + }; + + /// + /// The ordered containment property value map. + /// + private readonly Dictionary>> orderedContainmentPropertyValueMap = new Dictionary>>(); + + /// + /// The validation rules that should pass for an instance of . + /// + private readonly Dictionary> validationRules = new Dictionary> + { + { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Behavior' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Behavior' is mandatory and cannot be null.") }, + { "BehavioralParameter", new DtoValidationHelper(item => item.BehavioralParameter != null, "The 'BehavioralParameter' property of a 'Behavior' is mandatory and cannot be null.") }, + { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Behavior' is mandatory and cannot be null.") }, + { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Behavior' is mandatory and cannot be null.") }, + { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'Behavior' is mandatory and cannot be null.") }, + { "HyperLink", new DtoValidationHelper(item => item.HyperLink != null, "The 'HyperLink' property of a 'Behavior' is mandatory and cannot be null.") }, + { "Name", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Name), "The 'Name' property of a 'Behavior' is mandatory and cannot be empty or null.") }, + { "ShortName", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.ShortName), "The 'ShortName' property of a 'Behavior' is mandatory and cannot be empty or null.") }, + }; + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing behavior) + { + this.Validate(behavior, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing behavior, Func validateProperty) + { + foreach (var applicableRule in this.validationRules.Where(x => validateProperty(x.Key))) + { + applicableRule.Value.Validate((CDP4Common.DTO.Behavior)behavior); + } + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing behavior) + { + return this.TryValidate(behavior, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing behavior, Func validateProperty) + { + var applicableValidationRules = this.validationRules.Where(x => validateProperty(x.Key)).Select(x => x.Value); + + return applicableValidationRules.All(applicableRule => applicableRule.TryValidate((CDP4Common.DTO.Behavior)behavior)); + } + + /// + /// Returns the containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetContainmentIds(CDP4Common.DTO.Thing behavior, string propertyName) + { + if (!this.containmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'Behavior'"); + } + + return this.containmentPropertyValueMap[propertyName]((CDP4Common.DTO.Behavior)behavior); + } + + /// + /// Returns the ordered containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of ordered containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing behavior, string propertyName) + { + if (!this.orderedContainmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'Behavior'"); + } + + return this.orderedContainmentPropertyValueMap[propertyName]((CDP4Common.DTO.Behavior)behavior); + } + + /// + /// The CDP version property map. + /// + private readonly Dictionary cdpVersionedProperties = new Dictionary + { + { "Actor", "1.3.0" }, + { "ExcludedDomain", "1.1.0" }, + { "ExcludedPerson", "1.1.0" }, + { "ModifiedOn", "1.1.0" }, + { "ThingPreference", "1.2.0" }, + }; + + /// + /// The containment property to type name map. + /// + private readonly Dictionary containmentTypeMap = new Dictionary + { + { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "BehavioralParameter", new PropertyMetaInfo("BehavioralParameter", "BehavioralParameter", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets the for the class + /// + public IEnumerable Properties + { + get + { + foreach (var propertyMetaInfo in this.containmentTypeMap) + { + yield return propertyMetaInfo.Value; + } + + foreach (var propertyMetaInfo in this.propertyTypeMap) + { + yield return propertyMetaInfo.Value; + } + } + } + + /// + /// The property value map. + /// + private readonly Dictionary> propertyValueMap = new Dictionary> + { + { "Actor", thing => thing.Actor }, + { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, + { "BehavioralModelKind", thing => thing.BehavioralModelKind }, + { "BehavioralParameter", thing => thing.BehavioralParameter }, + { "ClassKind", thing => thing.ClassKind }, + { "Definition", thing => thing.Definition }, + { "ExcludedDomain", thing => thing.ExcludedDomain }, + { "ExcludedPerson", thing => thing.ExcludedPerson }, + { "HyperLink", thing => thing.HyperLink }, + { "Iid", thing => thing.Iid }, + { "ModifiedOn", thing => thing.ModifiedOn }, + { "Name", thing => thing.Name }, + { "RevisionNumber", thing => thing.RevisionNumber }, + { "Script", thing => thing.Script }, + { "ShortName", thing => thing.ShortName }, + { "ThingPreference", thing => thing.ThingPreference }, + }; + + /// + /// The property type map. + /// + /// + /// Contained properties are excluded for this map + /// + private readonly Dictionary propertyTypeMap = new Dictionary + { + { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "BehavioralModelKind", new PropertyMetaInfo("BehavioralModelKind", "CDP4Common.EngineeringModelData.BehavioralModelKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Script", new PropertyMetaInfo("Script", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "ShortName", new PropertyMetaInfo("ShortName", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + }; + + /// + /// The collection property value deserialization map. + /// + private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> + { + { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, + { "BehavioralParameter", (value) => (Guid)value }, + { "Definition", (value) => (Guid)value }, + { "ExcludedDomain", (value) => (Guid)value }, + { "ExcludedPerson", (value) => (Guid)value }, + { "HyperLink", (value) => (Guid)value }, + }; + + /// + /// The property value assignment map. + /// + private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> + { + { "Actor", (behavior, value) => behavior.Actor = value == null ? (Guid?)null : (Guid)value }, + { "BehavioralModelKind", (behavior, value) => behavior.BehavioralModelKind = (BehavioralModelKind)value }, + { "Iid", (behavior, value) => behavior.Iid = (Guid)value }, + { "ModifiedOn", (behavior, value) => behavior.ModifiedOn = (DateTime)value }, + { "Name", (behavior, value) => behavior.Name = value.ToString() }, + { "Script", (behavior, value) => behavior.Script = value == null ? (string)null : value.ToString() }, + { "ShortName", (behavior, value) => behavior.ShortName = value.ToString() }, + { "ThingPreference", (behavior, value) => behavior.ThingPreference = value == null ? (string)null : value.ToString() }, + }; + + /// + /// The possible container property map. + /// + private readonly Dictionary possibleContainerProperties = new Dictionary + { + { "ElementDefinition", new PropertyMetaInfo("Behavior", "Behavior", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets a value indicating whether this type should be deprecated upon Delete. + /// + public bool IsDeprecatableThing + { + get + { + return false; + } + } + + /// + /// Gets a value indicating whether this type is a top container. + /// + public bool IsTopContainer + { + get + { + return false; + } + } + + /// + /// Gets the base type name of this class. + /// + public string BaseType + { + get { return "DefinedThing"; } + } + + /// + /// Gets the CDP class version. + /// + public string ClassVersion + { + get { return "1.4.0"; } + } + + /// + /// Get the data model version of the supplied property. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// The version number as specified property otherwise the default data model version. + /// + public string GetPropertyVersion(string propertyName) + { + return this.cdpVersionedProperties.ContainsKey(propertyName) ? this.cdpVersionedProperties[propertyName] : null; + } + + /// + /// Returns the containment property type from the supplied property name. + /// + /// + /// The containment property name. + /// + /// + /// The type name of the containment. + /// + /// + /// If the property name is not supported for the . + /// + public PropertyMetaInfo GetContainmentType(string propertyName) + { + if (!this.containmentTypeMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'Behavior'"); + } + + return this.containmentTypeMap[propertyName]; + } + + /// + /// Returns the property type from the supplied property name. + /// + /// + /// The property name. + /// + /// + /// The or null if it does not exist. + /// + public PropertyMetaInfo GetPropertyMetaInfo(string propertyName) + { + if (this.containmentTypeMap.ContainsKey(propertyName)) + { + return this.containmentTypeMap[propertyName]; + } + + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + return this.propertyTypeMap[propertyName]; + } + + return null; + } + + /// + /// Returns the container property for the supplied type name is a possible container for . + /// + /// + /// Name of the type for which to check if it is a container of . + /// + /// + /// Supplied container property info instance that will be set if the supplied type name is a container of . + /// + /// + /// True if the supplied typeName is a container for and sets the container property name. + /// + public bool TryGetContainerProperty(string typeName, out PropertyMetaInfo containerProperty) + { + var isContainer = this.possibleContainerProperties.ContainsKey(typeName); + containerProperty = isContainer ? this.possibleContainerProperties[typeName] : null; + + return isContainer; + } + + /// + /// Check if the supplied property name for is scalar. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// True if the supplied property name is a scalar property. + /// + public bool IsScalar(string propertyName) + { + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + var propertyInfo = this.propertyTypeMap[propertyName]; + return propertyInfo.PropertyKind == PropertyKind.Scalar || propertyInfo.PropertyKind == PropertyKind.ValueArray; + } + + return false; + } + + /// + /// Apply the value update to the supplied property name of the updatable instance. + /// + /// + /// The instance to which to apply the property value update. + /// + /// + /// The property name of the to which to apply the value update. + /// + /// + /// The updated value to apply. + /// + /// + /// True if the value update was successfully applied. + /// + public bool ApplyPropertyUpdate(CDP4Common.DTO.Thing updatableThing, string propertyName, object value) + { + if (updatableThing == null || !this.IsScalar(propertyName)) + { + return false; + } + + this.propertyValueAssignmentMap[propertyName]((CDP4Common.DTO.Behavior)updatableThing, value); + + return true; + } + + /// + /// Returns a deserialized object from the supplied value string for the property name. + /// + /// + /// The property name. + /// + /// + /// The value to deserialize from its current string form. + /// + /// + /// A deserialized object from the supplied value. + /// + /// + /// If the property name is not supported for the . + /// + public object DeserializeCollectionValue(string propertyName, object value) + { + if (!this.collectionPropertyValueDeserializationMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'Behavior'"); + } + + return this.collectionPropertyValueDeserializationMap[propertyName](value); + } + + /// + /// Returns the value of the property of a Thing + /// + /// + /// The property name. + /// + /// + /// The Thing object + /// + /// + /// The value of the property of a Thing + /// + /// + /// If the property name is not supported for the . + /// + public object GetValue(string propertyName, CDP4Common.DTO.Thing thing) + { + if (!this.propertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'Behavior'"); + } + + return this.propertyValueMap[propertyName]((CDP4Common.DTO.Behavior)thing); + } + + /// + /// Gets the collection of property names for a + /// + public IEnumerable GetPropertyNameCollection() + { + var collection = new List(this.propertyTypeMap.Keys); + collection.AddRange(this.containmentTypeMap.Keys); + return collection; + } + + /// + /// Instantiates a + /// + /// + /// The instantiated + /// + public CDP4Common.DTO.Thing InstantiateDto(Guid guid, int revisionNumber) + { + return new CDP4Common.DTO.Behavior(guid, revisionNumber); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/BehavioralParameterMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BehavioralParameterMetaInfo.cs new file mode 100644 index 000000000..5e0c991b8 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/BehavioralParameterMetaInfo.cs @@ -0,0 +1,533 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + using System; + using System.Collections.Generic; + using System.Linq; + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Exceptions; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + using CDP4Common.Validation; + + /// + /// This a class that holds meta info for . + /// + public partial class BehavioralParameterMetaInfo : IBehavioralParameterMetaInfo + { + /// + /// The containment property value map. + /// + private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>>(); + + /// + /// The ordered containment property value map. + /// + private readonly Dictionary>> orderedContainmentPropertyValueMap = new Dictionary>>(); + + /// + /// The validation rules that should pass for an instance of . + /// + private readonly Dictionary> validationRules = new Dictionary> + { + { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'BehavioralParameter' is mandatory and cannot be null.") }, + { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'BehavioralParameter' is mandatory and cannot be null.") }, + { "VariableName", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.VariableName), "The 'VariableName' property of a 'BehavioralParameter' is mandatory and cannot be empty or null.") }, + }; + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing behavioralParameter) + { + this.Validate(behavioralParameter, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing behavioralParameter, Func validateProperty) + { + foreach (var applicableRule in this.validationRules.Where(x => validateProperty(x.Key))) + { + applicableRule.Value.Validate((CDP4Common.DTO.BehavioralParameter)behavioralParameter); + } + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing behavioralParameter) + { + return this.TryValidate(behavioralParameter, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing behavioralParameter, Func validateProperty) + { + var applicableValidationRules = this.validationRules.Where(x => validateProperty(x.Key)).Select(x => x.Value); + + return applicableValidationRules.All(applicableRule => applicableRule.TryValidate((CDP4Common.DTO.BehavioralParameter)behavioralParameter)); + } + + /// + /// Returns the containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetContainmentIds(CDP4Common.DTO.Thing behavioralParameter, string propertyName) + { + if (!this.containmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'BehavioralParameter'"); + } + + return this.containmentPropertyValueMap[propertyName]((CDP4Common.DTO.BehavioralParameter)behavioralParameter); + } + + /// + /// Returns the ordered containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of ordered containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing behavioralParameter, string propertyName) + { + if (!this.orderedContainmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'BehavioralParameter'"); + } + + return this.orderedContainmentPropertyValueMap[propertyName]((CDP4Common.DTO.BehavioralParameter)behavioralParameter); + } + + /// + /// The CDP version property map. + /// + private readonly Dictionary cdpVersionedProperties = new Dictionary + { + { "Actor", "1.3.0" }, + { "ExcludedDomain", "1.1.0" }, + { "ExcludedPerson", "1.1.0" }, + { "ModifiedOn", "1.1.0" }, + { "ThingPreference", "1.2.0" }, + }; + + /// + /// The containment property to type name map. + /// + private readonly Dictionary containmentTypeMap = new Dictionary(); + + /// + /// Gets the for the class + /// + public IEnumerable Properties + { + get + { + foreach (var propertyMetaInfo in this.containmentTypeMap) + { + yield return propertyMetaInfo.Value; + } + + foreach (var propertyMetaInfo in this.propertyTypeMap) + { + yield return propertyMetaInfo.Value; + } + } + } + + /// + /// The property value map. + /// + private readonly Dictionary> propertyValueMap = new Dictionary> + { + { "Actor", thing => thing.Actor }, + { "BehavioralParameterKind", thing => thing.BehavioralParameterKind }, + { "ClassKind", thing => thing.ClassKind }, + { "ExcludedDomain", thing => thing.ExcludedDomain }, + { "ExcludedPerson", thing => thing.ExcludedPerson }, + { "Iid", thing => thing.Iid }, + { "ModifiedOn", thing => thing.ModifiedOn }, + { "Parameter", thing => thing.Parameter }, + { "RevisionNumber", thing => thing.RevisionNumber }, + { "ThingPreference", thing => thing.ThingPreference }, + { "VariableName", thing => thing.VariableName }, + }; + + /// + /// The property type map. + /// + /// + /// Contained properties are excluded for this map + /// + private readonly Dictionary propertyTypeMap = new Dictionary + { + { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "BehavioralParameterKind", new PropertyMetaInfo("BehavioralParameterKind", "CDP4Common.EngineeringModelData.BehavioralParameterKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Parameter", new PropertyMetaInfo("Parameter", "Parameter", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "VariableName", new PropertyMetaInfo("VariableName", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + }; + + /// + /// The collection property value deserialization map. + /// + private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> + { + { "ExcludedDomain", (value) => (Guid)value }, + { "ExcludedPerson", (value) => (Guid)value }, + }; + + /// + /// The property value assignment map. + /// + private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> + { + { "Actor", (behavioralParameter, value) => behavioralParameter.Actor = value == null ? (Guid?)null : (Guid)value }, + { "BehavioralParameterKind", (behavioralParameter, value) => behavioralParameter.BehavioralParameterKind = (BehavioralParameterKind)value }, + { "Iid", (behavioralParameter, value) => behavioralParameter.Iid = (Guid)value }, + { "ModifiedOn", (behavioralParameter, value) => behavioralParameter.ModifiedOn = (DateTime)value }, + { "Parameter", (behavioralParameter, value) => behavioralParameter.Parameter = (Guid)value }, + { "ThingPreference", (behavioralParameter, value) => behavioralParameter.ThingPreference = value == null ? (string)null : value.ToString() }, + { "VariableName", (behavioralParameter, value) => behavioralParameter.VariableName = value.ToString() }, + }; + + /// + /// The possible container property map. + /// + private readonly Dictionary possibleContainerProperties = new Dictionary + { + { "Behavior", new PropertyMetaInfo("BehavioralParameter", "BehavioralParameter", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets a value indicating whether this type should be deprecated upon Delete. + /// + public bool IsDeprecatableThing + { + get + { + return false; + } + } + + /// + /// Gets a value indicating whether this type is a top container. + /// + public bool IsTopContainer + { + get + { + return false; + } + } + + /// + /// Gets the base type name of this class. + /// + public string BaseType + { + get { return "Thing"; } + } + + /// + /// Gets the CDP class version. + /// + public string ClassVersion + { + get { return "1.4.0"; } + } + + /// + /// Get the data model version of the supplied property. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// The version number as specified property otherwise the default data model version. + /// + public string GetPropertyVersion(string propertyName) + { + return this.cdpVersionedProperties.ContainsKey(propertyName) ? this.cdpVersionedProperties[propertyName] : null; + } + + /// + /// Returns the containment property type from the supplied property name. + /// + /// + /// The containment property name. + /// + /// + /// The type name of the containment. + /// + /// + /// If the property name is not supported for the . + /// + public PropertyMetaInfo GetContainmentType(string propertyName) + { + if (!this.containmentTypeMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'BehavioralParameter'"); + } + + return this.containmentTypeMap[propertyName]; + } + + /// + /// Returns the property type from the supplied property name. + /// + /// + /// The property name. + /// + /// + /// The or null if it does not exist. + /// + public PropertyMetaInfo GetPropertyMetaInfo(string propertyName) + { + if (this.containmentTypeMap.ContainsKey(propertyName)) + { + return this.containmentTypeMap[propertyName]; + } + + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + return this.propertyTypeMap[propertyName]; + } + + return null; + } + + /// + /// Returns the container property for the supplied type name is a possible container for . + /// + /// + /// Name of the type for which to check if it is a container of . + /// + /// + /// Supplied container property info instance that will be set if the supplied type name is a container of . + /// + /// + /// True if the supplied typeName is a container for and sets the container property name. + /// + public bool TryGetContainerProperty(string typeName, out PropertyMetaInfo containerProperty) + { + var isContainer = this.possibleContainerProperties.ContainsKey(typeName); + containerProperty = isContainer ? this.possibleContainerProperties[typeName] : null; + + return isContainer; + } + + /// + /// Check if the supplied property name for is scalar. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// True if the supplied property name is a scalar property. + /// + public bool IsScalar(string propertyName) + { + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + var propertyInfo = this.propertyTypeMap[propertyName]; + return propertyInfo.PropertyKind == PropertyKind.Scalar || propertyInfo.PropertyKind == PropertyKind.ValueArray; + } + + return false; + } + + /// + /// Apply the value update to the supplied property name of the updatable instance. + /// + /// + /// The instance to which to apply the property value update. + /// + /// + /// The property name of the to which to apply the value update. + /// + /// + /// The updated value to apply. + /// + /// + /// True if the value update was successfully applied. + /// + public bool ApplyPropertyUpdate(CDP4Common.DTO.Thing updatableThing, string propertyName, object value) + { + if (updatableThing == null || !this.IsScalar(propertyName)) + { + return false; + } + + this.propertyValueAssignmentMap[propertyName]((CDP4Common.DTO.BehavioralParameter)updatableThing, value); + + return true; + } + + /// + /// Returns a deserialized object from the supplied value string for the property name. + /// + /// + /// The property name. + /// + /// + /// The value to deserialize from its current string form. + /// + /// + /// A deserialized object from the supplied value. + /// + /// + /// If the property name is not supported for the . + /// + public object DeserializeCollectionValue(string propertyName, object value) + { + if (!this.collectionPropertyValueDeserializationMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'BehavioralParameter'"); + } + + return this.collectionPropertyValueDeserializationMap[propertyName](value); + } + + /// + /// Returns the value of the property of a Thing + /// + /// + /// The property name. + /// + /// + /// The Thing object + /// + /// + /// The value of the property of a Thing + /// + /// + /// If the property name is not supported for the . + /// + public object GetValue(string propertyName, CDP4Common.DTO.Thing thing) + { + if (!this.propertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'BehavioralParameter'"); + } + + return this.propertyValueMap[propertyName]((CDP4Common.DTO.BehavioralParameter)thing); + } + + /// + /// Gets the collection of property names for a + /// + public IEnumerable GetPropertyNameCollection() + { + var collection = new List(this.propertyTypeMap.Keys); + collection.AddRange(this.containmentTypeMap.Keys); + return collection; + } + + /// + /// Instantiates a + /// + /// + /// The instantiated + /// + public CDP4Common.DTO.Thing InstantiateDto(Guid guid, int revisionNumber) + { + return new CDP4Common.DTO.BehavioralParameter(guid, revisionNumber); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/BinaryNoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BinaryNoteMetaInfo.cs index 9852d010d..230422b69 100644 --- a/CDP4Common/AutoGenMetaInfo/BinaryNoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BinaryNoteMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/BinaryRelationshipMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BinaryRelationshipMetaInfo.cs index 33b300ff4..5ea329705 100644 --- a/CDP4Common/AutoGenMetaInfo/BinaryRelationshipMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BinaryRelationshipMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs index ec26fcde0..b9fd3be6f 100644 --- a/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class BinaryRelationshipRuleMetaInfo : IBinaryRelationshipRuleMet private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", binaryRelationshipRule => binaryRelationshipRule.Alias }, + { "Attachment", binaryRelationshipRule => binaryRelationshipRule.Attachment }, { "Definition", binaryRelationshipRule => binaryRelationshipRule.Definition }, { "HyperLink", binaryRelationshipRule => binaryRelationshipRule.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class BinaryRelationshipRuleMetaInfo : IBinaryRelationshipRuleMet private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'BinaryRelationshipRule' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'BinaryRelationshipRule' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'BinaryRelationshipRule' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'BinaryRelationshipRule' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'BinaryRelationshipRule' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing bi private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -293,6 +298,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/BookMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BookMetaInfo.cs index da086bd92..cbb93dda1 100644 --- a/CDP4Common/AutoGenMetaInfo/BookMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BookMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/BooleanExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BooleanExpressionMetaInfo.cs index e64c44d6d..947e510be 100644 --- a/CDP4Common/AutoGenMetaInfo/BooleanExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BooleanExpressionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs index 0e9e64fca..a535f85d9 100644 --- a/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class BooleanParameterTypeMetaInfo : IBooleanParameterTypeMetaInf private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", booleanParameterType => booleanParameterType.Alias }, + { "Attachment", booleanParameterType => booleanParameterType.Attachment }, { "Definition", booleanParameterType => booleanParameterType.Definition }, { "HyperLink", booleanParameterType => booleanParameterType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class BooleanParameterTypeMetaInfo : IBooleanParameterTypeMetaInf private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'BooleanParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'BooleanParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'BooleanParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'BooleanParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'BooleanParameterType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing bo private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/BoundsMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BoundsMetaInfo.cs index 8e2e845ca..a608e8fa8 100644 --- a/CDP4Common/AutoGenMetaInfo/BoundsMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BoundsMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -292,9 +293,13 @@ public IEnumerable Properties /// private readonly Dictionary possibleContainerProperties = new Dictionary { + { "ArchitectureDiagram", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "ArchitectureElement", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, { "DiagramCanvas", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, { "DiagramEdge", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramFrame", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, { "DiagramObject", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramPort", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, }; /// diff --git a/CDP4Common/AutoGenMetaInfo/BuiltInRuleVerificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BuiltInRuleVerificationMetaInfo.cs index 3d8c49c35..83e838d09 100644 --- a/CDP4Common/AutoGenMetaInfo/BuiltInRuleVerificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BuiltInRuleVerificationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs index 08435b239..f93b649ab 100644 --- a/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class CategoryMetaInfo : ICategoryMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", category => category.Alias }, + { "Attachment", category => category.Attachment }, { "Definition", category => category.Definition }, { "HyperLink", category => category.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class CategoryMetaInfo : ICategoryMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Category' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Category' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Category' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Category' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'Category' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ca private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -289,6 +294,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ChangeProposalMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ChangeProposalMetaInfo.cs index e50e0e5ed..33ef2e849 100644 --- a/CDP4Common/AutoGenMetaInfo/ChangeProposalMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ChangeProposalMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ChangeRequestMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ChangeRequestMetaInfo.cs index e247fb438..938153639 100644 --- a/CDP4Common/AutoGenMetaInfo/ChangeRequestMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ChangeRequestMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/CitationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CitationMetaInfo.cs index 550bb4f17..7dcf87640 100644 --- a/CDP4Common/AutoGenMetaInfo/CitationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CitationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ColorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ColorMetaInfo.cs index d235db89f..ada4bf297 100644 --- a/CDP4Common/AutoGenMetaInfo/ColorMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ColorMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/CommonFileStoreMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CommonFileStoreMetaInfo.cs index 229d26c02..cd97b2310 100644 --- a/CDP4Common/AutoGenMetaInfo/CommonFileStoreMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CommonFileStoreMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs index 3f111683e..53447369a 100644 --- a/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class CompoundParameterTypeMetaInfo : ICompoundParameterTypeMetaI private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", compoundParameterType => compoundParameterType.Alias }, + { "Attachment", compoundParameterType => compoundParameterType.Attachment }, { "Component", compoundParameterType => compoundParameterType.Component.ToIdList() }, { "Definition", compoundParameterType => compoundParameterType.Definition }, { "HyperLink", compoundParameterType => compoundParameterType.HyperLink }, @@ -71,6 +73,7 @@ public partial class CompoundParameterTypeMetaInfo : ICompoundParameterTypeMetaI private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'CompoundParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'CompoundParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'CompoundParameterType' is mandatory and cannot be null.") }, { "Component", new DtoValidationHelper(item => item.Component != null && item.Component.Any(), "The 'Component' property of a 'CompoundParameterType' is mandatory and must have at least one entry.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'CompoundParameterType' is mandatory and cannot be null.") }, @@ -217,6 +220,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing co private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Component", new PropertyMetaInfo("Component", "ParameterTypeComponent", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 1, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -248,6 +252,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Component", thing => thing.Component }, @@ -297,6 +302,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Component", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs index 2b3bd3830..7b482402d 100644 --- a/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ConstantMetaInfo : IConstantMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", constant => constant.Alias }, + { "Attachment", constant => constant.Attachment }, { "Definition", constant => constant.Definition }, { "HyperLink", constant => constant.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ConstantMetaInfo : IConstantMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Constant' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Constant' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'Constant' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Constant' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Constant' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing co private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -291,6 +296,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ContractChangeNoticeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ContractChangeNoticeMetaInfo.cs index fb2607176..2b3f09719 100644 --- a/CDP4Common/AutoGenMetaInfo/ContractChangeNoticeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ContractChangeNoticeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ContractDeviationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ContractDeviationMetaInfo.cs index 5e197b5a2..26e3f2fa3 100644 --- a/CDP4Common/AutoGenMetaInfo/ContractDeviationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ContractDeviationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs index ad49f249f..b653f7779 100644 --- a/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ConversionBasedUnitMetaInfo : IConversionBasedUnitMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", conversionBasedUnit => conversionBasedUnit.Alias }, + { "Attachment", conversionBasedUnit => conversionBasedUnit.Attachment }, { "Definition", conversionBasedUnit => conversionBasedUnit.Definition }, { "HyperLink", conversionBasedUnit => conversionBasedUnit.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ConversionBasedUnitMetaInfo : IConversionBasedUnitMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ConversionBasedUnit' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ConversionBasedUnit' is mandatory and cannot be null.") }, { "ConversionFactor", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.ConversionFactor), "The 'ConversionFactor' property of a 'ConversionBasedUnit' is mandatory and cannot be empty or null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ConversionBasedUnit' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ConversionBasedUnit' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing co private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "ConversionFactor", thing => thing.ConversionFactor }, { "Definition", thing => thing.Definition }, @@ -286,6 +291,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs index 9c599fa21..0234b7733 100644 --- a/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class CyclicRatioScaleMetaInfo : ICyclicRatioScaleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", cyclicRatioScale => cyclicRatioScale.Alias }, + { "Attachment", cyclicRatioScale => cyclicRatioScale.Attachment }, { "Definition", cyclicRatioScale => cyclicRatioScale.Definition }, { "HyperLink", cyclicRatioScale => cyclicRatioScale.HyperLink }, { "MappingToReferenceScale", cyclicRatioScale => cyclicRatioScale.MappingToReferenceScale }, @@ -69,6 +71,7 @@ public partial class CyclicRatioScaleMetaInfo : ICyclicRatioScaleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'CyclicRatioScale' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'CyclicRatioScale' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'CyclicRatioScale' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'CyclicRatioScale' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'CyclicRatioScale' is mandatory and cannot be null.") }, @@ -215,6 +218,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing cy private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "MappingToReferenceScale", new PropertyMetaInfo("MappingToReferenceScale", "MappingToReferenceScale", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -247,6 +251,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -308,6 +313,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs index fdcc9428a..68251d472 100644 --- a/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DateParameterTypeMetaInfo : IDateParameterTypeMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", dateParameterType => dateParameterType.Alias }, + { "Attachment", dateParameterType => dateParameterType.Attachment }, { "Definition", dateParameterType => dateParameterType.Definition }, { "HyperLink", dateParameterType => dateParameterType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class DateParameterTypeMetaInfo : IDateParameterTypeMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DateParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DateParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'DateParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DateParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DateParameterType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing da private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs index 9f67cc349..1a3453af7 100644 --- a/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DateTimeParameterTypeMetaInfo : IDateTimeParameterTypeMetaI private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", dateTimeParameterType => dateTimeParameterType.Alias }, + { "Attachment", dateTimeParameterType => dateTimeParameterType.Attachment }, { "Definition", dateTimeParameterType => dateTimeParameterType.Definition }, { "HyperLink", dateTimeParameterType => dateTimeParameterType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class DateTimeParameterTypeMetaInfo : IDateTimeParameterTypeMetaI private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DateTimeParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DateTimeParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'DateTimeParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DateTimeParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DateTimeParameterType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing da private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs index 9de07aaa4..1c04a35a3 100644 --- a/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DecompositionRuleMetaInfo : IDecompositionRuleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", decompositionRule => decompositionRule.Alias }, + { "Attachment", decompositionRule => decompositionRule.Attachment }, { "Definition", decompositionRule => decompositionRule.Definition }, { "HyperLink", decompositionRule => decompositionRule.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class DecompositionRuleMetaInfo : IDecompositionRuleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DecompositionRule' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DecompositionRule' is mandatory and cannot be null.") }, { "ContainedCategory", new DtoValidationHelper(item => item.ContainedCategory != null && item.ContainedCategory.Any(), "The 'ContainedCategory' property of a 'DecompositionRule' is mandatory and must have at least one entry.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DecompositionRule' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DecompositionRule' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "ContainedCategory", thing => thing.ContainedCategory }, { "ContainingCategory", thing => thing.ContainingCategory }, @@ -290,6 +295,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "ContainedCategory", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs index 73ec6be96..8a7f4179c 100644 --- a/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DefinedThingMetaInfo : IDefinedThingMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", definedThing => definedThing.Alias }, + { "Attachment", definedThing => definedThing.Attachment }, { "Definition", definedThing => definedThing.Definition }, { "HyperLink", definedThing => definedThing.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class DefinedThingMetaInfo : IDefinedThingMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DefinedThing' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DefinedThing' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DefinedThing' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DefinedThing' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'DefinedThing' is mandatory and cannot be null.") }, @@ -210,6 +213,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -240,6 +244,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -279,6 +284,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DefinitionMetaInfo.cs index f88b0bfab..b5bfaf11b 100644 --- a/CDP4Common/AutoGenMetaInfo/DefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DefinitionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -302,6 +303,7 @@ public IEnumerable Properties private readonly Dictionary possibleContainerProperties = new Dictionary { { "ArrayParameterType", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Behavior", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "BinaryRelationshipRule", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "BooleanParameterType", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Category", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, diff --git a/CDP4Common/AutoGenMetaInfo/DependentParameterTypeAssignmentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DependentParameterTypeAssignmentMetaInfo.cs index e1185dea6..90f2a2006 100644 --- a/CDP4Common/AutoGenMetaInfo/DependentParameterTypeAssignmentMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DependentParameterTypeAssignmentMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs index a95feb8aa..0e3bc22ae 100644 --- a/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DerivedQuantityKindMetaInfo : IDerivedQuantityKindMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", derivedQuantityKind => derivedQuantityKind.Alias }, + { "Attachment", derivedQuantityKind => derivedQuantityKind.Attachment }, { "Definition", derivedQuantityKind => derivedQuantityKind.Definition }, { "HyperLink", derivedQuantityKind => derivedQuantityKind.HyperLink }, { "QuantityKindFactor", derivedQuantityKind => derivedQuantityKind.QuantityKindFactor.ToIdList() }, @@ -71,6 +73,7 @@ public partial class DerivedQuantityKindMetaInfo : IDerivedQuantityKindMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DerivedQuantityKind' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DerivedQuantityKind' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'DerivedQuantityKind' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DerivedQuantityKind' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DerivedQuantityKind' is mandatory and cannot be null.") }, @@ -218,6 +221,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "QuantityKindFactor", new PropertyMetaInfo("QuantityKindFactor", "QuantityKindFactor", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 1, "*", true) }, @@ -249,6 +253,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "DefaultScale", thing => thing.DefaultScale }, @@ -305,6 +310,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs index ab4bb4125..1bed2e909 100644 --- a/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DerivedUnitMetaInfo : IDerivedUnitMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", derivedUnit => derivedUnit.Alias }, + { "Attachment", derivedUnit => derivedUnit.Attachment }, { "Definition", derivedUnit => derivedUnit.Definition }, { "HyperLink", derivedUnit => derivedUnit.HyperLink }, { "UnitFactor", derivedUnit => derivedUnit.UnitFactor.ToIdList() }, @@ -71,6 +73,7 @@ public partial class DerivedUnitMetaInfo : IDerivedUnitMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DerivedUnit' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DerivedUnit' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DerivedUnit' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DerivedUnit' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'DerivedUnit' is mandatory and cannot be null.") }, @@ -215,6 +218,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "UnitFactor", new PropertyMetaInfo("UnitFactor", "UnitFactor", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 1, "*", true) }, @@ -246,6 +250,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs index b5613a540..ad762300c 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -66,6 +67,7 @@ public partial class DiagramCanvasMetaInfo : IDiagramCanvasMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Bounds", new DtoValidationHelper(item => item.Bounds != null, "The 'Bounds' property of a 'DiagramCanvas' is mandatory and cannot be null.") }, + { "Description", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Description), "The 'Description' property of a 'DiagramCanvas' is mandatory and cannot be empty or null.") }, { "DiagramElement", new DtoValidationHelper(item => item.DiagramElement != null, "The 'DiagramElement' property of a 'DiagramCanvas' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DiagramCanvas' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'DiagramCanvas' is mandatory and cannot be null.") }, @@ -238,12 +240,14 @@ public IEnumerable Properties { "Bounds", thing => thing.Bounds }, { "ClassKind", thing => thing.ClassKind }, { "CreatedOn", thing => thing.CreatedOn }, + { "Description", thing => thing.Description }, { "DiagramElement", thing => thing.DiagramElement }, { "ExcludedDomain", thing => thing.ExcludedDomain }, { "ExcludedPerson", thing => thing.ExcludedPerson }, { "Iid", thing => thing.Iid }, { "ModifiedOn", thing => thing.ModifiedOn }, { "Name", thing => thing.Name }, + { "PublicationState", thing => thing.PublicationState }, { "RevisionNumber", thing => thing.RevisionNumber }, { "ThingPreference", thing => thing.ThingPreference }, }; @@ -259,11 +263,13 @@ public IEnumerable Properties { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "CreatedOn", new PropertyMetaInfo("CreatedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Description", new PropertyMetaInfo("Description", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "PublicationState", new PropertyMetaInfo("PublicationState", "CDP4Common.DiagramData.PublicationState", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, }; @@ -286,9 +292,11 @@ public IEnumerable Properties { { "Actor", (diagramCanvas, value) => diagramCanvas.Actor = value == null ? (Guid?)null : (Guid)value }, { "CreatedOn", (diagramCanvas, value) => diagramCanvas.CreatedOn = (DateTime)value }, + { "Description", (diagramCanvas, value) => diagramCanvas.Description = value.ToString() }, { "Iid", (diagramCanvas, value) => diagramCanvas.Iid = (Guid)value }, { "ModifiedOn", (diagramCanvas, value) => diagramCanvas.ModifiedOn = (DateTime)value }, { "Name", (diagramCanvas, value) => diagramCanvas.Name = value.ToString() }, + { "PublicationState", (diagramCanvas, value) => diagramCanvas.PublicationState = (PublicationState)value }, { "ThingPreference", (diagramCanvas, value) => diagramCanvas.ThingPreference = value == null ? (string)null : value.ToString() }, }; diff --git a/CDP4Common/AutoGenMetaInfo/DiagramEdgeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramEdgeMetaInfo.cs index 270cacea3..ac3a01fbf 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramEdgeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramEdgeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -319,9 +320,13 @@ public IEnumerable Properties /// private readonly Dictionary possibleContainerProperties = new Dictionary { + { "ArchitectureDiagram", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ArchitectureElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramCanvas", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramEdge", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramFrame", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramObject", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramPort", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; /// diff --git a/CDP4Common/AutoGenMetaInfo/DiagramElementContainerMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramElementContainerMetaInfo.cs index e04ead04d..07261bcb5 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramElementContainerMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramElementContainerMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/DiagramElementThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramElementThingMetaInfo.cs index 4e9aadfaa..02fe0288b 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramElementThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramElementThingMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -305,9 +306,13 @@ public IEnumerable Properties /// private readonly Dictionary possibleContainerProperties = new Dictionary { + { "ArchitectureDiagram", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ArchitectureElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramCanvas", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramEdge", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramFrame", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramObject", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramPort", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; /// diff --git a/CDP4Common/AutoGenMetaInfo/DiagramFrameMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramFrameMetaInfo.cs new file mode 100644 index 000000000..2e6e1f602 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/DiagramFrameMetaInfo.cs @@ -0,0 +1,558 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + using System; + using System.Collections.Generic; + using System.Linq; + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Exceptions; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + using CDP4Common.Validation; + + /// + /// This a class that holds meta info for . + /// + public partial class DiagramFrameMetaInfo : IDiagramFrameMetaInfo + { + /// + /// The containment property value map. + /// + private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> + { + { "Bounds", diagramFrame => diagramFrame.Bounds }, + { "DiagramElement", diagramFrame => diagramFrame.DiagramElement }, + { "LocalStyle", diagramFrame => diagramFrame.LocalStyle }, + }; + + /// + /// The ordered containment property value map. + /// + private readonly Dictionary>> orderedContainmentPropertyValueMap = new Dictionary>>(); + + /// + /// The validation rules that should pass for an instance of . + /// + private readonly Dictionary> validationRules = new Dictionary> + { + { "Bounds", new DtoValidationHelper(item => item.Bounds != null, "The 'Bounds' property of a 'DiagramFrame' is mandatory and cannot be null.") }, + { "DiagramElement", new DtoValidationHelper(item => item.DiagramElement != null, "The 'DiagramElement' property of a 'DiagramFrame' is mandatory and cannot be null.") }, + { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DiagramFrame' is mandatory and cannot be null.") }, + { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'DiagramFrame' is mandatory and cannot be null.") }, + { "LocalStyle", new DtoValidationHelper(item => item.LocalStyle != null, "The 'LocalStyle' property of a 'DiagramFrame' is mandatory and cannot be null.") }, + { "Name", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Name), "The 'Name' property of a 'DiagramFrame' is mandatory and cannot be empty or null.") }, + }; + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing diagramFrame) + { + this.Validate(diagramFrame, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing diagramFrame, Func validateProperty) + { + foreach (var applicableRule in this.validationRules.Where(x => validateProperty(x.Key))) + { + applicableRule.Value.Validate((CDP4Common.DTO.DiagramFrame)diagramFrame); + } + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing diagramFrame) + { + return this.TryValidate(diagramFrame, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing diagramFrame, Func validateProperty) + { + var applicableValidationRules = this.validationRules.Where(x => validateProperty(x.Key)).Select(x => x.Value); + + return applicableValidationRules.All(applicableRule => applicableRule.TryValidate((CDP4Common.DTO.DiagramFrame)diagramFrame)); + } + + /// + /// Returns the containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetContainmentIds(CDP4Common.DTO.Thing diagramFrame, string propertyName) + { + if (!this.containmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'DiagramFrame'"); + } + + return this.containmentPropertyValueMap[propertyName]((CDP4Common.DTO.DiagramFrame)diagramFrame); + } + + /// + /// Returns the ordered containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of ordered containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing diagramFrame, string propertyName) + { + if (!this.orderedContainmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'DiagramFrame'"); + } + + return this.orderedContainmentPropertyValueMap[propertyName]((CDP4Common.DTO.DiagramFrame)diagramFrame); + } + + /// + /// The CDP version property map. + /// + private readonly Dictionary cdpVersionedProperties = new Dictionary + { + { "Actor", "1.3.0" }, + { "ExcludedDomain", "1.1.0" }, + { "ExcludedPerson", "1.1.0" }, + { "ModifiedOn", "1.1.0" }, + { "ThingPreference", "1.2.0" }, + }; + + /// + /// The containment property to type name map. + /// + private readonly Dictionary containmentTypeMap = new Dictionary + { + { "Bounds", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "LocalStyle", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + }; + + /// + /// Gets the for the class + /// + public IEnumerable Properties + { + get + { + foreach (var propertyMetaInfo in this.containmentTypeMap) + { + yield return propertyMetaInfo.Value; + } + + foreach (var propertyMetaInfo in this.propertyTypeMap) + { + yield return propertyMetaInfo.Value; + } + } + } + + /// + /// The property value map. + /// + private readonly Dictionary> propertyValueMap = new Dictionary> + { + { "Actor", thing => thing.Actor }, + { "Bounds", thing => thing.Bounds }, + { "ClassKind", thing => thing.ClassKind }, + { "DepictedThing", thing => thing.DepictedThing }, + { "DiagramElement", thing => thing.DiagramElement }, + { "ExcludedDomain", thing => thing.ExcludedDomain }, + { "ExcludedPerson", thing => thing.ExcludedPerson }, + { "Iid", thing => thing.Iid }, + { "LocalStyle", thing => thing.LocalStyle }, + { "ModifiedOn", thing => thing.ModifiedOn }, + { "Name", thing => thing.Name }, + { "RevisionNumber", thing => thing.RevisionNumber }, + { "SharedStyle", thing => thing.SharedStyle }, + { "ThingPreference", thing => thing.ThingPreference }, + }; + + /// + /// The property type map. + /// + /// + /// Contained properties are excluded for this map + /// + private readonly Dictionary propertyTypeMap = new Dictionary + { + { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "DepictedThing", new PropertyMetaInfo("DepictedThing", "Thing", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "SharedStyle", new PropertyMetaInfo("SharedStyle", "SharedStyle", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + }; + + /// + /// The collection property value deserialization map. + /// + private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> + { + { "Bounds", (value) => (Guid)value }, + { "DiagramElement", (value) => (Guid)value }, + { "ExcludedDomain", (value) => (Guid)value }, + { "ExcludedPerson", (value) => (Guid)value }, + { "LocalStyle", (value) => (Guid)value }, + }; + + /// + /// The property value assignment map. + /// + private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> + { + { "Actor", (diagramFrame, value) => diagramFrame.Actor = value == null ? (Guid?)null : (Guid)value }, + { "DepictedThing", (diagramFrame, value) => diagramFrame.DepictedThing = value == null ? (Guid?)null : (Guid)value }, + { "Iid", (diagramFrame, value) => diagramFrame.Iid = (Guid)value }, + { "ModifiedOn", (diagramFrame, value) => diagramFrame.ModifiedOn = (DateTime)value }, + { "Name", (diagramFrame, value) => diagramFrame.Name = value.ToString() }, + { "SharedStyle", (diagramFrame, value) => diagramFrame.SharedStyle = value == null ? (Guid?)null : (Guid)value }, + { "ThingPreference", (diagramFrame, value) => diagramFrame.ThingPreference = value == null ? (string)null : value.ToString() }, + }; + + /// + /// The possible container property map. + /// + private readonly Dictionary possibleContainerProperties = new Dictionary + { + { "ArchitectureDiagram", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ArchitectureElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramCanvas", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramEdge", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramFrame", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramObject", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramPort", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets a value indicating whether this type should be deprecated upon Delete. + /// + public bool IsDeprecatableThing + { + get + { + return false; + } + } + + /// + /// Gets a value indicating whether this type is a top container. + /// + public bool IsTopContainer + { + get + { + return false; + } + } + + /// + /// Gets the base type name of this class. + /// + public string BaseType + { + get { return "DiagramShape"; } + } + + /// + /// Gets the CDP class version. + /// + public string ClassVersion + { + get { return "1.4.0"; } + } + + /// + /// Get the data model version of the supplied property. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// The version number as specified property otherwise the default data model version. + /// + public string GetPropertyVersion(string propertyName) + { + return this.cdpVersionedProperties.ContainsKey(propertyName) ? this.cdpVersionedProperties[propertyName] : null; + } + + /// + /// Returns the containment property type from the supplied property name. + /// + /// + /// The containment property name. + /// + /// + /// The type name of the containment. + /// + /// + /// If the property name is not supported for the . + /// + public PropertyMetaInfo GetContainmentType(string propertyName) + { + if (!this.containmentTypeMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'DiagramFrame'"); + } + + return this.containmentTypeMap[propertyName]; + } + + /// + /// Returns the property type from the supplied property name. + /// + /// + /// The property name. + /// + /// + /// The or null if it does not exist. + /// + public PropertyMetaInfo GetPropertyMetaInfo(string propertyName) + { + if (this.containmentTypeMap.ContainsKey(propertyName)) + { + return this.containmentTypeMap[propertyName]; + } + + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + return this.propertyTypeMap[propertyName]; + } + + return null; + } + + /// + /// Returns the container property for the supplied type name is a possible container for . + /// + /// + /// Name of the type for which to check if it is a container of . + /// + /// + /// Supplied container property info instance that will be set if the supplied type name is a container of . + /// + /// + /// True if the supplied typeName is a container for and sets the container property name. + /// + public bool TryGetContainerProperty(string typeName, out PropertyMetaInfo containerProperty) + { + var isContainer = this.possibleContainerProperties.ContainsKey(typeName); + containerProperty = isContainer ? this.possibleContainerProperties[typeName] : null; + + return isContainer; + } + + /// + /// Check if the supplied property name for is scalar. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// True if the supplied property name is a scalar property. + /// + public bool IsScalar(string propertyName) + { + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + var propertyInfo = this.propertyTypeMap[propertyName]; + return propertyInfo.PropertyKind == PropertyKind.Scalar || propertyInfo.PropertyKind == PropertyKind.ValueArray; + } + + return false; + } + + /// + /// Apply the value update to the supplied property name of the updatable instance. + /// + /// + /// The instance to which to apply the property value update. + /// + /// + /// The property name of the to which to apply the value update. + /// + /// + /// The updated value to apply. + /// + /// + /// True if the value update was successfully applied. + /// + public bool ApplyPropertyUpdate(CDP4Common.DTO.Thing updatableThing, string propertyName, object value) + { + if (updatableThing == null || !this.IsScalar(propertyName)) + { + return false; + } + + this.propertyValueAssignmentMap[propertyName]((CDP4Common.DTO.DiagramFrame)updatableThing, value); + + return true; + } + + /// + /// Returns a deserialized object from the supplied value string for the property name. + /// + /// + /// The property name. + /// + /// + /// The value to deserialize from its current string form. + /// + /// + /// A deserialized object from the supplied value. + /// + /// + /// If the property name is not supported for the . + /// + public object DeserializeCollectionValue(string propertyName, object value) + { + if (!this.collectionPropertyValueDeserializationMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'DiagramFrame'"); + } + + return this.collectionPropertyValueDeserializationMap[propertyName](value); + } + + /// + /// Returns the value of the property of a Thing + /// + /// + /// The property name. + /// + /// + /// The Thing object + /// + /// + /// The value of the property of a Thing + /// + /// + /// If the property name is not supported for the . + /// + public object GetValue(string propertyName, CDP4Common.DTO.Thing thing) + { + if (!this.propertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'DiagramFrame'"); + } + + return this.propertyValueMap[propertyName]((CDP4Common.DTO.DiagramFrame)thing); + } + + /// + /// Gets the collection of property names for a + /// + public IEnumerable GetPropertyNameCollection() + { + var collection = new List(this.propertyTypeMap.Keys); + collection.AddRange(this.containmentTypeMap.Keys); + return collection; + } + + /// + /// Instantiates a + /// + /// + /// The instantiated + /// + public CDP4Common.DTO.Thing InstantiateDto(Guid guid, int revisionNumber) + { + return new CDP4Common.DTO.DiagramFrame(guid, revisionNumber); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/DiagramObjectMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramObjectMetaInfo.cs index b73b909e5..2d6a12726 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramObjectMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramObjectMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -312,9 +313,13 @@ public IEnumerable Properties /// private readonly Dictionary possibleContainerProperties = new Dictionary { + { "ArchitectureDiagram", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ArchitectureElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramCanvas", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramEdge", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramFrame", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramObject", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramPort", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; /// diff --git a/CDP4Common/AutoGenMetaInfo/DiagramPortMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramPortMetaInfo.cs new file mode 100644 index 000000000..58764c934 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/DiagramPortMetaInfo.cs @@ -0,0 +1,558 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + using System; + using System.Collections.Generic; + using System.Linq; + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Exceptions; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + using CDP4Common.Validation; + + /// + /// This a class that holds meta info for . + /// + public partial class DiagramPortMetaInfo : IDiagramPortMetaInfo + { + /// + /// The containment property value map. + /// + private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> + { + { "Bounds", diagramPort => diagramPort.Bounds }, + { "DiagramElement", diagramPort => diagramPort.DiagramElement }, + { "LocalStyle", diagramPort => diagramPort.LocalStyle }, + }; + + /// + /// The ordered containment property value map. + /// + private readonly Dictionary>> orderedContainmentPropertyValueMap = new Dictionary>>(); + + /// + /// The validation rules that should pass for an instance of . + /// + private readonly Dictionary> validationRules = new Dictionary> + { + { "Bounds", new DtoValidationHelper(item => item.Bounds != null, "The 'Bounds' property of a 'DiagramPort' is mandatory and cannot be null.") }, + { "DiagramElement", new DtoValidationHelper(item => item.DiagramElement != null, "The 'DiagramElement' property of a 'DiagramPort' is mandatory and cannot be null.") }, + { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DiagramPort' is mandatory and cannot be null.") }, + { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'DiagramPort' is mandatory and cannot be null.") }, + { "LocalStyle", new DtoValidationHelper(item => item.LocalStyle != null, "The 'LocalStyle' property of a 'DiagramPort' is mandatory and cannot be null.") }, + { "Name", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.Name), "The 'Name' property of a 'DiagramPort' is mandatory and cannot be empty or null.") }, + }; + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing diagramPort) + { + this.Validate(diagramPort, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// If any validation rule failed. + /// + public void Validate(CDP4Common.DTO.Thing diagramPort, Func validateProperty) + { + foreach (var applicableRule in this.validationRules.Where(x => validateProperty(x.Key))) + { + applicableRule.Value.Validate((CDP4Common.DTO.DiagramPort)diagramPort); + } + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing diagramPort) + { + return this.TryValidate(diagramPort, x => true); + } + + /// + /// Validates the supplied by running the business validation rules as per its meta info definition class. + /// + /// + /// The for which to run the validation rules. + /// + /// + /// The validate Property. + /// + /// + /// True if all validation rules have passed or if none are defined. + /// + public bool TryValidate(CDP4Common.DTO.Thing diagramPort, Func validateProperty) + { + var applicableValidationRules = this.validationRules.Where(x => validateProperty(x.Key)).Select(x => x.Value); + + return applicableValidationRules.All(applicableRule => applicableRule.TryValidate((CDP4Common.DTO.DiagramPort)diagramPort)); + } + + /// + /// Returns the containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetContainmentIds(CDP4Common.DTO.Thing diagramPort, string propertyName) + { + if (!this.containmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'DiagramPort'"); + } + + return this.containmentPropertyValueMap[propertyName]((CDP4Common.DTO.DiagramPort)diagramPort); + } + + /// + /// Returns the ordered containment property value for the supplied . + /// + /// + /// The for which to return the containment property value. + /// + /// + /// Name of the containment property for which to return the value. + /// + /// + /// A collection of ordered containment . + /// + /// + /// If the property name is not supported for the . + /// + public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing diagramPort, string propertyName) + { + if (!this.orderedContainmentPropertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'DiagramPort'"); + } + + return this.orderedContainmentPropertyValueMap[propertyName]((CDP4Common.DTO.DiagramPort)diagramPort); + } + + /// + /// The CDP version property map. + /// + private readonly Dictionary cdpVersionedProperties = new Dictionary + { + { "Actor", "1.3.0" }, + { "ExcludedDomain", "1.1.0" }, + { "ExcludedPerson", "1.1.0" }, + { "ModifiedOn", "1.1.0" }, + { "ThingPreference", "1.2.0" }, + }; + + /// + /// The containment property to type name map. + /// + private readonly Dictionary containmentTypeMap = new Dictionary + { + { "Bounds", new PropertyMetaInfo("Bounds", "Bounds", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "LocalStyle", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + }; + + /// + /// Gets the for the class + /// + public IEnumerable Properties + { + get + { + foreach (var propertyMetaInfo in this.containmentTypeMap) + { + yield return propertyMetaInfo.Value; + } + + foreach (var propertyMetaInfo in this.propertyTypeMap) + { + yield return propertyMetaInfo.Value; + } + } + } + + /// + /// The property value map. + /// + private readonly Dictionary> propertyValueMap = new Dictionary> + { + { "Actor", thing => thing.Actor }, + { "Bounds", thing => thing.Bounds }, + { "ClassKind", thing => thing.ClassKind }, + { "DepictedThing", thing => thing.DepictedThing }, + { "DiagramElement", thing => thing.DiagramElement }, + { "ExcludedDomain", thing => thing.ExcludedDomain }, + { "ExcludedPerson", thing => thing.ExcludedPerson }, + { "Iid", thing => thing.Iid }, + { "LocalStyle", thing => thing.LocalStyle }, + { "ModifiedOn", thing => thing.ModifiedOn }, + { "Name", thing => thing.Name }, + { "RevisionNumber", thing => thing.RevisionNumber }, + { "SharedStyle", thing => thing.SharedStyle }, + { "ThingPreference", thing => thing.ThingPreference }, + }; + + /// + /// The property type map. + /// + /// + /// Contained properties are excluded for this map + /// + private readonly Dictionary propertyTypeMap = new Dictionary + { + { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "DepictedThing", new PropertyMetaInfo("DepictedThing", "Thing", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, + { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "SharedStyle", new PropertyMetaInfo("SharedStyle", "SharedStyle", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, + }; + + /// + /// The collection property value deserialization map. + /// + private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> + { + { "Bounds", (value) => (Guid)value }, + { "DiagramElement", (value) => (Guid)value }, + { "ExcludedDomain", (value) => (Guid)value }, + { "ExcludedPerson", (value) => (Guid)value }, + { "LocalStyle", (value) => (Guid)value }, + }; + + /// + /// The property value assignment map. + /// + private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> + { + { "Actor", (diagramPort, value) => diagramPort.Actor = value == null ? (Guid?)null : (Guid)value }, + { "DepictedThing", (diagramPort, value) => diagramPort.DepictedThing = value == null ? (Guid?)null : (Guid)value }, + { "Iid", (diagramPort, value) => diagramPort.Iid = (Guid)value }, + { "ModifiedOn", (diagramPort, value) => diagramPort.ModifiedOn = (DateTime)value }, + { "Name", (diagramPort, value) => diagramPort.Name = value.ToString() }, + { "SharedStyle", (diagramPort, value) => diagramPort.SharedStyle = value == null ? (Guid?)null : (Guid)value }, + { "ThingPreference", (diagramPort, value) => diagramPort.ThingPreference = value == null ? (string)null : value.ToString() }, + }; + + /// + /// The possible container property map. + /// + private readonly Dictionary possibleContainerProperties = new Dictionary + { + { "ArchitectureDiagram", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ArchitectureElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramCanvas", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramEdge", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramFrame", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramObject", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramPort", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + }; + + /// + /// Gets a value indicating whether this type should be deprecated upon Delete. + /// + public bool IsDeprecatableThing + { + get + { + return false; + } + } + + /// + /// Gets a value indicating whether this type is a top container. + /// + public bool IsTopContainer + { + get + { + return false; + } + } + + /// + /// Gets the base type name of this class. + /// + public string BaseType + { + get { return "DiagramShape"; } + } + + /// + /// Gets the CDP class version. + /// + public string ClassVersion + { + get { return "1.4.0"; } + } + + /// + /// Get the data model version of the supplied property. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// The version number as specified property otherwise the default data model version. + /// + public string GetPropertyVersion(string propertyName) + { + return this.cdpVersionedProperties.ContainsKey(propertyName) ? this.cdpVersionedProperties[propertyName] : null; + } + + /// + /// Returns the containment property type from the supplied property name. + /// + /// + /// The containment property name. + /// + /// + /// The type name of the containment. + /// + /// + /// If the property name is not supported for the . + /// + public PropertyMetaInfo GetContainmentType(string propertyName) + { + if (!this.containmentTypeMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid containment property of 'DiagramPort'"); + } + + return this.containmentTypeMap[propertyName]; + } + + /// + /// Returns the property type from the supplied property name. + /// + /// + /// The property name. + /// + /// + /// The or null if it does not exist. + /// + public PropertyMetaInfo GetPropertyMetaInfo(string propertyName) + { + if (this.containmentTypeMap.ContainsKey(propertyName)) + { + return this.containmentTypeMap[propertyName]; + } + + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + return this.propertyTypeMap[propertyName]; + } + + return null; + } + + /// + /// Returns the container property for the supplied type name is a possible container for . + /// + /// + /// Name of the type for which to check if it is a container of . + /// + /// + /// Supplied container property info instance that will be set if the supplied type name is a container of . + /// + /// + /// True if the supplied typeName is a container for and sets the container property name. + /// + public bool TryGetContainerProperty(string typeName, out PropertyMetaInfo containerProperty) + { + var isContainer = this.possibleContainerProperties.ContainsKey(typeName); + containerProperty = isContainer ? this.possibleContainerProperties[typeName] : null; + + return isContainer; + } + + /// + /// Check if the supplied property name for is scalar. + /// + /// + /// Name of the property for which to check if it is scalar. + /// + /// + /// True if the supplied property name is a scalar property. + /// + public bool IsScalar(string propertyName) + { + if (this.propertyTypeMap.ContainsKey(propertyName)) + { + var propertyInfo = this.propertyTypeMap[propertyName]; + return propertyInfo.PropertyKind == PropertyKind.Scalar || propertyInfo.PropertyKind == PropertyKind.ValueArray; + } + + return false; + } + + /// + /// Apply the value update to the supplied property name of the updatable instance. + /// + /// + /// The instance to which to apply the property value update. + /// + /// + /// The property name of the to which to apply the value update. + /// + /// + /// The updated value to apply. + /// + /// + /// True if the value update was successfully applied. + /// + public bool ApplyPropertyUpdate(CDP4Common.DTO.Thing updatableThing, string propertyName, object value) + { + if (updatableThing == null || !this.IsScalar(propertyName)) + { + return false; + } + + this.propertyValueAssignmentMap[propertyName]((CDP4Common.DTO.DiagramPort)updatableThing, value); + + return true; + } + + /// + /// Returns a deserialized object from the supplied value string for the property name. + /// + /// + /// The property name. + /// + /// + /// The value to deserialize from its current string form. + /// + /// + /// A deserialized object from the supplied value. + /// + /// + /// If the property name is not supported for the . + /// + public object DeserializeCollectionValue(string propertyName, object value) + { + if (!this.collectionPropertyValueDeserializationMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'DiagramPort'"); + } + + return this.collectionPropertyValueDeserializationMap[propertyName](value); + } + + /// + /// Returns the value of the property of a Thing + /// + /// + /// The property name. + /// + /// + /// The Thing object + /// + /// + /// The value of the property of a Thing + /// + /// + /// If the property name is not supported for the . + /// + public object GetValue(string propertyName, CDP4Common.DTO.Thing thing) + { + if (!this.propertyValueMap.ContainsKey(propertyName)) + { + throw new ArgumentException($"'{propertyName}' is not a valid collection property of 'DiagramPort'"); + } + + return this.propertyValueMap[propertyName]((CDP4Common.DTO.DiagramPort)thing); + } + + /// + /// Gets the collection of property names for a + /// + public IEnumerable GetPropertyNameCollection() + { + var collection = new List(this.propertyTypeMap.Keys); + collection.AddRange(this.containmentTypeMap.Keys); + return collection; + } + + /// + /// Instantiates a + /// + /// + /// The instantiated + /// + public CDP4Common.DTO.Thing InstantiateDto(Guid guid, int revisionNumber) + { + return new CDP4Common.DTO.DiagramPort(guid, revisionNumber); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/DiagramShapeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramShapeMetaInfo.cs index 34563df7c..cefc5709d 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramShapeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramShapeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -305,9 +306,13 @@ public IEnumerable Properties /// private readonly Dictionary possibleContainerProperties = new Dictionary { + { "ArchitectureDiagram", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "ArchitectureElement", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramCanvas", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramEdge", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramFrame", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DiagramObject", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "DiagramPort", new PropertyMetaInfo("DiagramElement", "DiagramElementThing", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; /// diff --git a/CDP4Common/AutoGenMetaInfo/DiagramThingBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramThingBaseMetaInfo.cs index a1c60f79e..5d0b5c267 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramThingBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramThingBaseMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/DiagrammingStyleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagrammingStyleMetaInfo.cs index 6e2e41bd4..187c521cc 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagrammingStyleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagrammingStyleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/DiscussionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiscussionItemMetaInfo.cs index 0d65595ee..cee869c38 100644 --- a/CDP4Common/AutoGenMetaInfo/DiscussionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiscussionItemMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/DomainFileStoreMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DomainFileStoreMetaInfo.cs index 11f96ded7..f8e5700f8 100644 --- a/CDP4Common/AutoGenMetaInfo/DomainFileStoreMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DomainFileStoreMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs index fa0c886f4..0480d1a11 100644 --- a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DomainOfExpertiseGroupMetaInfo : IDomainOfExpertiseGroupMet private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", domainOfExpertiseGroup => domainOfExpertiseGroup.Alias }, + { "Attachment", domainOfExpertiseGroup => domainOfExpertiseGroup.Attachment }, { "Definition", domainOfExpertiseGroup => domainOfExpertiseGroup.Definition }, { "HyperLink", domainOfExpertiseGroup => domainOfExpertiseGroup.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class DomainOfExpertiseGroupMetaInfo : IDomainOfExpertiseGroupMet private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DomainOfExpertiseGroup' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DomainOfExpertiseGroup' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DomainOfExpertiseGroup' is mandatory and cannot be null.") }, { "Domain", new DtoValidationHelper(item => item.Domain != null, "The 'Domain' property of a 'DomainOfExpertiseGroup' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DomainOfExpertiseGroup' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing do private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "Domain", thing => thing.Domain }, @@ -284,6 +289,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "Domain", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs index a718cd09b..a9cc3c857 100644 --- a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class DomainOfExpertiseMetaInfo : IDomainOfExpertiseMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", domainOfExpertise => domainOfExpertise.Alias }, + { "Attachment", domainOfExpertise => domainOfExpertise.Attachment }, { "Definition", domainOfExpertise => domainOfExpertise.Definition }, { "HyperLink", domainOfExpertise => domainOfExpertise.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class DomainOfExpertiseMetaInfo : IDomainOfExpertiseMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'DomainOfExpertise' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'DomainOfExpertise' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'DomainOfExpertise' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'DomainOfExpertise' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'DomainOfExpertise' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing do private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -284,6 +289,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs index 43164c49b..c2e48735f 100644 --- a/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ElementBaseMetaInfo : IElementBaseMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", elementBase => elementBase.Alias }, + { "Attachment", elementBase => elementBase.Attachment }, { "Definition", elementBase => elementBase.Definition }, { "HyperLink", elementBase => elementBase.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ElementBaseMetaInfo : IElementBaseMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ElementBase' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ElementBase' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ElementBase' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ElementBase' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ElementBase' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing el private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -284,6 +289,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs index 2cac1290a..649a3c197 100644 --- a/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,8 @@ public partial class ElementDefinitionMetaInfo : IElementDefinitionMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", elementDefinition => elementDefinition.Alias }, + { "Attachment", elementDefinition => elementDefinition.Attachment }, + { "Behavior", elementDefinition => elementDefinition.Behavior }, { "ContainedElement", elementDefinition => elementDefinition.ContainedElement }, { "Definition", elementDefinition => elementDefinition.Definition }, { "HyperLink", elementDefinition => elementDefinition.HyperLink }, @@ -70,6 +73,8 @@ public partial class ElementDefinitionMetaInfo : IElementDefinitionMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ElementDefinition' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ElementDefinition' is mandatory and cannot be null.") }, + { "Behavior", new DtoValidationHelper(item => item.Behavior != null, "The 'Behavior' property of a 'ElementDefinition' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ElementDefinition' is mandatory and cannot be null.") }, { "ContainedElement", new DtoValidationHelper(item => item.ContainedElement != null, "The 'ContainedElement' property of a 'ElementDefinition' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ElementDefinition' is mandatory and cannot be null.") }, @@ -207,6 +212,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing el private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Behavior", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, @@ -220,6 +226,8 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing el private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Behavior", new PropertyMetaInfo("Behavior", "Behavior", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "ContainedElement", new PropertyMetaInfo("ContainedElement", "ElementUsage", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -253,6 +261,8 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, + { "Behavior", thing => thing.Behavior }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "ContainedElement", thing => thing.ContainedElement }, @@ -303,6 +313,8 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, + { "Behavior", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "ContainedElement", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs index fd270f84b..bc6e1f2ad 100644 --- a/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ElementUsageMetaInfo : IElementUsageMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", elementUsage => elementUsage.Alias }, + { "Attachment", elementUsage => elementUsage.Attachment }, { "Definition", elementUsage => elementUsage.Definition }, { "HyperLink", elementUsage => elementUsage.HyperLink }, { "ParameterOverride", elementUsage => elementUsage.ParameterOverride }, @@ -68,6 +70,7 @@ public partial class ElementUsageMetaInfo : IElementUsageMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ElementUsage' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ElementUsage' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ElementUsage' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ElementUsage' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ElementUsage' is mandatory and cannot be null.") }, @@ -214,6 +217,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing el private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "ParameterOverride", new PropertyMetaInfo("ParameterOverride", "ParameterOverride", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -245,6 +249,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -295,6 +300,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/EmailAddressMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EmailAddressMetaInfo.cs index 301926457..bb29a36af 100644 --- a/CDP4Common/AutoGenMetaInfo/EmailAddressMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EmailAddressMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/EngineeringModelDataAnnotationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EngineeringModelDataAnnotationMetaInfo.cs index 3075842c2..008b3c51c 100644 --- a/CDP4Common/AutoGenMetaInfo/EngineeringModelDataAnnotationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EngineeringModelDataAnnotationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/EngineeringModelDataDiscussionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EngineeringModelDataDiscussionItemMetaInfo.cs index c2d899013..b47c9799d 100644 --- a/CDP4Common/AutoGenMetaInfo/EngineeringModelDataDiscussionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EngineeringModelDataDiscussionItemMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/EngineeringModelDataNoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EngineeringModelDataNoteMetaInfo.cs index 65ebb89e8..537d1d96e 100644 --- a/CDP4Common/AutoGenMetaInfo/EngineeringModelDataNoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EngineeringModelDataNoteMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/EngineeringModelMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EngineeringModelMetaInfo.cs index a130c3dbe..7be5ab0b0 100644 --- a/CDP4Common/AutoGenMetaInfo/EngineeringModelMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EngineeringModelMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs index fafca2282..aa3c77e9c 100644 --- a/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class EngineeringModelSetupMetaInfo : IEngineeringModelSetupMetaI private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", engineeringModelSetup => engineeringModelSetup.Alias }, + { "Attachment", engineeringModelSetup => engineeringModelSetup.Attachment }, { "Definition", engineeringModelSetup => engineeringModelSetup.Definition }, { "HyperLink", engineeringModelSetup => engineeringModelSetup.HyperLink }, { "IterationSetup", engineeringModelSetup => engineeringModelSetup.IterationSetup }, @@ -72,6 +74,7 @@ public partial class EngineeringModelSetupMetaInfo : IEngineeringModelSetupMetaI { { "ActiveDomain", new DtoValidationHelper(item => item.ActiveDomain != null && item.ActiveDomain.Any(), "The 'ActiveDomain' property of a 'EngineeringModelSetup' is mandatory and must have at least one entry.") }, { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'EngineeringModelSetup' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'EngineeringModelSetup' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'EngineeringModelSetup' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'EngineeringModelSetup' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'EngineeringModelSetup' is mandatory and cannot be null.") }, @@ -221,6 +224,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing en private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "IterationSetup", new PropertyMetaInfo("IterationSetup", "IterationSetup", PropertyKind.List, AggregationKind.Composite, false, false, true, 1, "*", true) }, @@ -256,6 +260,7 @@ public IEnumerable Properties { "ActiveDomain", thing => thing.ActiveDomain }, { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "DefaultOrganizationalParticipant", thing => thing.DefaultOrganizationalParticipant }, { "Definition", thing => thing.Definition }, @@ -311,6 +316,7 @@ public IEnumerable Properties { { "ActiveDomain", (value) => (Guid)value }, { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs index 5efb97e57..23b4d6fac 100644 --- a/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class EnumerationParameterTypeMetaInfo : IEnumerationParameterTyp private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", enumerationParameterType => enumerationParameterType.Alias }, + { "Attachment", enumerationParameterType => enumerationParameterType.Attachment }, { "Definition", enumerationParameterType => enumerationParameterType.Definition }, { "HyperLink", enumerationParameterType => enumerationParameterType.HyperLink }, { "ValueDefinition", enumerationParameterType => enumerationParameterType.ValueDefinition.ToIdList() }, @@ -71,6 +73,7 @@ public partial class EnumerationParameterTypeMetaInfo : IEnumerationParameterTyp private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'EnumerationParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'EnumerationParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'EnumerationParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'EnumerationParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'EnumerationParameterType' is mandatory and cannot be null.") }, @@ -217,6 +220,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing en private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "ValueDefinition", new PropertyMetaInfo("ValueDefinition", "EnumerationValueDefinition", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 1, "*", true) }, @@ -249,6 +253,7 @@ public IEnumerable Properties { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, { "AllowMultiSelect", thing => thing.AllowMultiSelect }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -297,6 +302,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs index 5cbff8f51..d5944eba2 100644 --- a/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class EnumerationValueDefinitionMetaInfo : IEnumerationValueDefin private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", enumerationValueDefinition => enumerationValueDefinition.Alias }, + { "Attachment", enumerationValueDefinition => enumerationValueDefinition.Attachment }, { "Definition", enumerationValueDefinition => enumerationValueDefinition.Definition }, { "HyperLink", enumerationValueDefinition => enumerationValueDefinition.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class EnumerationValueDefinitionMetaInfo : IEnumerationValueDefin private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'EnumerationValueDefinition' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'EnumerationValueDefinition' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'EnumerationValueDefinition' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'EnumerationValueDefinition' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'EnumerationValueDefinition' is mandatory and cannot be null.") }, @@ -210,6 +213,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing en private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -240,6 +244,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -279,6 +284,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ExclusiveOrExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ExclusiveOrExpressionMetaInfo.cs index 228840a7b..afa3ffc49 100644 --- a/CDP4Common/AutoGenMetaInfo/ExclusiveOrExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ExclusiveOrExpressionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ExternalIdentifierMapMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ExternalIdentifierMapMetaInfo.cs index 4b6124247..ec9f5c3b0 100644 --- a/CDP4Common/AutoGenMetaInfo/ExternalIdentifierMapMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ExternalIdentifierMapMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/FileMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/FileMetaInfo.cs index 3f6844da7..bd987a4d5 100644 --- a/CDP4Common/AutoGenMetaInfo/FileMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/FileMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/FileRevisionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/FileRevisionMetaInfo.cs index 624283d7f..03598e0da 100644 --- a/CDP4Common/AutoGenMetaInfo/FileRevisionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/FileRevisionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/FileStoreMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/FileStoreMetaInfo.cs index c243042b6..40218e673 100644 --- a/CDP4Common/AutoGenMetaInfo/FileStoreMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/FileStoreMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs index fe33c2450..de4c61a22 100644 --- a/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class FileTypeMetaInfo : IFileTypeMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", fileType => fileType.Alias }, + { "Attachment", fileType => fileType.Attachment }, { "Definition", fileType => fileType.Definition }, { "HyperLink", fileType => fileType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class FileTypeMetaInfo : IFileTypeMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'FileType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'FileType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'FileType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'FileType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'FileType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing fi private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -287,6 +292,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/FolderMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/FolderMetaInfo.cs index fb7865e35..cc2223e4e 100644 --- a/CDP4Common/AutoGenMetaInfo/FolderMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/FolderMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/GenericAnnotationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/GenericAnnotationMetaInfo.cs index a796f85a7..db482dce5 100644 --- a/CDP4Common/AutoGenMetaInfo/GenericAnnotationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/GenericAnnotationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs index 2f412bac7..a520357c7 100644 --- a/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class GlossaryMetaInfo : IGlossaryMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", glossary => glossary.Alias }, + { "Attachment", glossary => glossary.Attachment }, { "Definition", glossary => glossary.Definition }, { "HyperLink", glossary => glossary.HyperLink }, { "Term", glossary => glossary.Term }, @@ -68,6 +70,7 @@ public partial class GlossaryMetaInfo : IGlossaryMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Glossary' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Glossary' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'Glossary' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Glossary' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Glossary' is mandatory and cannot be null.") }, @@ -213,6 +216,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing gl private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Term", new PropertyMetaInfo("Term", "Term", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -244,6 +248,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs index 99eef23e1..1e4522a1b 100644 --- a/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class GoalMetaInfo : IGoalMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", goal => goal.Alias }, + { "Attachment", goal => goal.Attachment }, { "Definition", goal => goal.Definition }, { "HyperLink", goal => goal.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class GoalMetaInfo : IGoalMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Goal' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Goal' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'Goal' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Goal' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Goal' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing go private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -282,6 +287,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/HyperLinkMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/HyperLinkMetaInfo.cs index ce766d020..94f2c2f87 100644 --- a/CDP4Common/AutoGenMetaInfo/HyperLinkMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/HyperLinkMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -289,6 +290,7 @@ public IEnumerable Properties private readonly Dictionary possibleContainerProperties = new Dictionary { { "ArrayParameterType", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Behavior", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "BinaryRelationshipRule", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "BooleanParameterType", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Category", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, diff --git a/CDP4Common/AutoGenMetaInfo/IActionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IActionItemMetaInfo.cs index a54d83b3f..69ceeb840 100644 --- a/CDP4Common/AutoGenMetaInfo/IActionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IActionItemMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IActualFiniteStateListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IActualFiniteStateListMetaInfo.cs index a27b19425..91f4baa62 100644 --- a/CDP4Common/AutoGenMetaInfo/IActualFiniteStateListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IActualFiniteStateListMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IActualFiniteStateMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IActualFiniteStateMetaInfo.cs index 9e1ef0f43..2ea9e05e8 100644 --- a/CDP4Common/AutoGenMetaInfo/IActualFiniteStateMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IActualFiniteStateMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IAliasMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IAliasMetaInfo.cs index 48bdda0ec..04f707e7d 100644 --- a/CDP4Common/AutoGenMetaInfo/IAliasMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IAliasMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IAndExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IAndExpressionMetaInfo.cs index 2c7bb7cfb..c5097d775 100644 --- a/CDP4Common/AutoGenMetaInfo/IAndExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IAndExpressionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IApprovalMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IApprovalMetaInfo.cs index d795c8e62..04b81536f 100644 --- a/CDP4Common/AutoGenMetaInfo/IApprovalMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IApprovalMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IArchitectureDiagramMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IArchitectureDiagramMetaInfo.cs new file mode 100644 index 000000000..d1ce65abd --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/IArchitectureDiagramMetaInfo.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + /// + /// The interface for the . + /// + public interface IArchitectureDiagramMetaInfo : IMetaInfo + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/IArchitectureElementMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IArchitectureElementMetaInfo.cs new file mode 100644 index 000000000..756356f06 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/IArchitectureElementMetaInfo.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + /// + /// The interface for the . + /// + public interface IArchitectureElementMetaInfo : IMetaInfo + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/IArrayParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IArrayParameterTypeMetaInfo.cs index 1cd2bb6eb..4811d5804 100644 --- a/CDP4Common/AutoGenMetaInfo/IArrayParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IArrayParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IAttachmentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IAttachmentMetaInfo.cs new file mode 100644 index 000000000..e186a5267 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/IAttachmentMetaInfo.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + /// + /// The interface for the . + /// + public interface IAttachmentMetaInfo : IMetaInfo + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/IBehaviorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBehaviorMetaInfo.cs new file mode 100644 index 000000000..68312a281 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/IBehaviorMetaInfo.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + /// + /// The interface for the . + /// + public interface IBehaviorMetaInfo : IMetaInfo + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/IBehavioralParameterMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBehavioralParameterMetaInfo.cs new file mode 100644 index 000000000..fc1612d22 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/IBehavioralParameterMetaInfo.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + /// + /// The interface for the . + /// + public interface IBehavioralParameterMetaInfo : IMetaInfo + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/IBinaryNoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBinaryNoteMetaInfo.cs index 2e8027376..98a70de59 100644 --- a/CDP4Common/AutoGenMetaInfo/IBinaryNoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBinaryNoteMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipMetaInfo.cs index 252053ee5..0785a65f3 100644 --- a/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipRuleMetaInfo.cs index d9aa452c9..e82ebf265 100644 --- a/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBinaryRelationshipRuleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IBookMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBookMetaInfo.cs index 4bba912cd..fdd45af6c 100644 --- a/CDP4Common/AutoGenMetaInfo/IBookMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBookMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IBooleanExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBooleanExpressionMetaInfo.cs index 98e2f6b5e..1e4d77f4e 100644 --- a/CDP4Common/AutoGenMetaInfo/IBooleanExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBooleanExpressionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IBooleanParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBooleanParameterTypeMetaInfo.cs index 043e40d5a..cb9fc7659 100644 --- a/CDP4Common/AutoGenMetaInfo/IBooleanParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBooleanParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IBoundsMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBoundsMetaInfo.cs index eb8f27e45..36087b984 100644 --- a/CDP4Common/AutoGenMetaInfo/IBoundsMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBoundsMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IBuiltInRuleVerificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IBuiltInRuleVerificationMetaInfo.cs index 828316aa7..a1a5fbe26 100644 --- a/CDP4Common/AutoGenMetaInfo/IBuiltInRuleVerificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IBuiltInRuleVerificationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ICategoryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ICategoryMetaInfo.cs index 0edd767b6..69397e27a 100644 --- a/CDP4Common/AutoGenMetaInfo/ICategoryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ICategoryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IChangeProposalMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IChangeProposalMetaInfo.cs index fecf2aac4..82bf1b5c1 100644 --- a/CDP4Common/AutoGenMetaInfo/IChangeProposalMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IChangeProposalMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IChangeRequestMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IChangeRequestMetaInfo.cs index 5e3372bb6..9c848d12f 100644 --- a/CDP4Common/AutoGenMetaInfo/IChangeRequestMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IChangeRequestMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ICitationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ICitationMetaInfo.cs index 5c959c3c6..2682cf46f 100644 --- a/CDP4Common/AutoGenMetaInfo/ICitationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ICitationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IColorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IColorMetaInfo.cs index 6658da1dd..392341d05 100644 --- a/CDP4Common/AutoGenMetaInfo/IColorMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IColorMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ICommonFileStoreMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ICommonFileStoreMetaInfo.cs index 1536f90f8..281a39787 100644 --- a/CDP4Common/AutoGenMetaInfo/ICommonFileStoreMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ICommonFileStoreMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ICompoundParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ICompoundParameterTypeMetaInfo.cs index 5c58398df..4a4c93dbc 100644 --- a/CDP4Common/AutoGenMetaInfo/ICompoundParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ICompoundParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IConstantMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IConstantMetaInfo.cs index f8efa8215..a7a232d69 100644 --- a/CDP4Common/AutoGenMetaInfo/IConstantMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IConstantMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IContractChangeNoticeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IContractChangeNoticeMetaInfo.cs index 31c5192fb..1980c7b4b 100644 --- a/CDP4Common/AutoGenMetaInfo/IContractChangeNoticeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IContractChangeNoticeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IContractDeviationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IContractDeviationMetaInfo.cs index bf9bdfca8..419fc3b4c 100644 --- a/CDP4Common/AutoGenMetaInfo/IContractDeviationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IContractDeviationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IConversionBasedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IConversionBasedUnitMetaInfo.cs index 95fb4d694..205d55091 100644 --- a/CDP4Common/AutoGenMetaInfo/IConversionBasedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IConversionBasedUnitMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ICyclicRatioScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ICyclicRatioScaleMetaInfo.cs index 5c53c2028..09a94d6f9 100644 --- a/CDP4Common/AutoGenMetaInfo/ICyclicRatioScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ICyclicRatioScaleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDateParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDateParameterTypeMetaInfo.cs index 78e18879a..e1f9a88b4 100644 --- a/CDP4Common/AutoGenMetaInfo/IDateParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDateParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDateTimeParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDateTimeParameterTypeMetaInfo.cs index ca67f19e7..414fefd16 100644 --- a/CDP4Common/AutoGenMetaInfo/IDateTimeParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDateTimeParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDecompositionRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDecompositionRuleMetaInfo.cs index c0f740ef3..75995ef0f 100644 --- a/CDP4Common/AutoGenMetaInfo/IDecompositionRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDecompositionRuleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDefinedThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDefinedThingMetaInfo.cs index 59395bee6..2d0bf1dd2 100644 --- a/CDP4Common/AutoGenMetaInfo/IDefinedThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDefinedThingMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDefinitionMetaInfo.cs index 2155380d4..73fc078a4 100644 --- a/CDP4Common/AutoGenMetaInfo/IDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDefinitionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDependentParameterTypeAssignmentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDependentParameterTypeAssignmentMetaInfo.cs index d8d568952..0d4ffb64f 100644 --- a/CDP4Common/AutoGenMetaInfo/IDependentParameterTypeAssignmentMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDependentParameterTypeAssignmentMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDerivedQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDerivedQuantityKindMetaInfo.cs index 2c82932ae..e11381f13 100644 --- a/CDP4Common/AutoGenMetaInfo/IDerivedQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDerivedQuantityKindMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDerivedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDerivedUnitMetaInfo.cs index 7e7c86fa0..ace5a1e97 100644 --- a/CDP4Common/AutoGenMetaInfo/IDerivedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDerivedUnitMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramCanvasMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramCanvasMetaInfo.cs index 9178136df..c7e81aaf7 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagramCanvasMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagramCanvasMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramEdgeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramEdgeMetaInfo.cs index a088055a8..4ce39393d 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagramEdgeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagramEdgeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramElementContainerMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramElementContainerMetaInfo.cs index f4e8e073d..528bb87b5 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagramElementContainerMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagramElementContainerMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramElementThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramElementThingMetaInfo.cs index 8b4159540..98d938e57 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagramElementThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagramElementThingMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramFrameMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramFrameMetaInfo.cs new file mode 100644 index 000000000..afe8ab664 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/IDiagramFrameMetaInfo.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + /// + /// The interface for the . + /// + public interface IDiagramFrameMetaInfo : IMetaInfo + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramObjectMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramObjectMetaInfo.cs index b78eeb299..d543fe93c 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagramObjectMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagramObjectMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramPortMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramPortMetaInfo.cs new file mode 100644 index 000000000..f3e13ab55 --- /dev/null +++ b/CDP4Common/AutoGenMetaInfo/IDiagramPortMetaInfo.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.MetaInfo +{ + /// + /// The interface for the . + /// + public interface IDiagramPortMetaInfo : IMetaInfo + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramShapeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramShapeMetaInfo.cs index 45e5b452d..42dbbce43 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagramShapeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagramShapeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagramThingBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagramThingBaseMetaInfo.cs index 7d4fb8d46..4e2ffd204 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagramThingBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagramThingBaseMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiagrammingStyleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiagrammingStyleMetaInfo.cs index c076b5bb9..8d55bc1c1 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiagrammingStyleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiagrammingStyleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDiscussionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDiscussionItemMetaInfo.cs index 3de7a0757..8043cf8dd 100644 --- a/CDP4Common/AutoGenMetaInfo/IDiscussionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDiscussionItemMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDomainFileStoreMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDomainFileStoreMetaInfo.cs index 1741a2a65..c56cb4620 100644 --- a/CDP4Common/AutoGenMetaInfo/IDomainFileStoreMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDomainFileStoreMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseGroupMetaInfo.cs index 76715ae8e..0c2cf9192 100644 --- a/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseGroupMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseMetaInfo.cs index 6f43dfab2..7010e4f6b 100644 --- a/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IDomainOfExpertiseMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IElementBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IElementBaseMetaInfo.cs index aefcc5bb6..416320f12 100644 --- a/CDP4Common/AutoGenMetaInfo/IElementBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IElementBaseMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IElementDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IElementDefinitionMetaInfo.cs index 65144ad4e..c18804c08 100644 --- a/CDP4Common/AutoGenMetaInfo/IElementDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IElementDefinitionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IElementUsageMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IElementUsageMetaInfo.cs index 56b361b16..0143d8717 100644 --- a/CDP4Common/AutoGenMetaInfo/IElementUsageMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IElementUsageMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEmailAddressMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEmailAddressMetaInfo.cs index 1164113c4..d10c1c794 100644 --- a/CDP4Common/AutoGenMetaInfo/IEmailAddressMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEmailAddressMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataAnnotationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataAnnotationMetaInfo.cs index 0bd152389..2efd99795 100644 --- a/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataAnnotationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataAnnotationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataDiscussionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataDiscussionItemMetaInfo.cs index 878b79925..0522573cd 100644 --- a/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataDiscussionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataDiscussionItemMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataNoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataNoteMetaInfo.cs index df4780a8e..78e0fa36d 100644 --- a/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataNoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEngineeringModelDataNoteMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEngineeringModelMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEngineeringModelMetaInfo.cs index d5077bd43..be35b282c 100644 --- a/CDP4Common/AutoGenMetaInfo/IEngineeringModelMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEngineeringModelMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEngineeringModelSetupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEngineeringModelSetupMetaInfo.cs index c2cf0fb30..ebd4d149a 100644 --- a/CDP4Common/AutoGenMetaInfo/IEngineeringModelSetupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEngineeringModelSetupMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEnumerationParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEnumerationParameterTypeMetaInfo.cs index 640bb8393..49aa2d60d 100644 --- a/CDP4Common/AutoGenMetaInfo/IEnumerationParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEnumerationParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IEnumerationValueDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IEnumerationValueDefinitionMetaInfo.cs index da46182f6..d9d5c1e7d 100644 --- a/CDP4Common/AutoGenMetaInfo/IEnumerationValueDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IEnumerationValueDefinitionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IExclusiveOrExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IExclusiveOrExpressionMetaInfo.cs index b12ad9cca..16d1421f3 100644 --- a/CDP4Common/AutoGenMetaInfo/IExclusiveOrExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IExclusiveOrExpressionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IExternalIdentifierMapMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IExternalIdentifierMapMetaInfo.cs index f55924dc5..69ee67e4c 100644 --- a/CDP4Common/AutoGenMetaInfo/IExternalIdentifierMapMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IExternalIdentifierMapMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IFileMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IFileMetaInfo.cs index 2a8b5a2f0..da6061a30 100644 --- a/CDP4Common/AutoGenMetaInfo/IFileMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IFileMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IFileRevisionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IFileRevisionMetaInfo.cs index 37eceb0be..6b4e17dda 100644 --- a/CDP4Common/AutoGenMetaInfo/IFileRevisionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IFileRevisionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IFileStoreMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IFileStoreMetaInfo.cs index 217e295ad..bb301bf61 100644 --- a/CDP4Common/AutoGenMetaInfo/IFileStoreMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IFileStoreMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IFileTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IFileTypeMetaInfo.cs index 60e999a41..00d91561f 100644 --- a/CDP4Common/AutoGenMetaInfo/IFileTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IFileTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IFolderMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IFolderMetaInfo.cs index 4d8d1a6c3..4c704dee2 100644 --- a/CDP4Common/AutoGenMetaInfo/IFolderMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IFolderMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IGenericAnnotationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IGenericAnnotationMetaInfo.cs index 992028f54..ae029b6db 100644 --- a/CDP4Common/AutoGenMetaInfo/IGenericAnnotationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IGenericAnnotationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IGlossaryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IGlossaryMetaInfo.cs index 737925f70..e348573d1 100644 --- a/CDP4Common/AutoGenMetaInfo/IGlossaryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IGlossaryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IGoalMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IGoalMetaInfo.cs index f7f82d0b4..1d2c8551c 100644 --- a/CDP4Common/AutoGenMetaInfo/IGoalMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IGoalMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IHyperLinkMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IHyperLinkMetaInfo.cs index 923f91757..45b6f065c 100644 --- a/CDP4Common/AutoGenMetaInfo/IHyperLinkMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IHyperLinkMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IIdCorrespondenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IIdCorrespondenceMetaInfo.cs index d27ff5bed..72b035703 100644 --- a/CDP4Common/AutoGenMetaInfo/IIdCorrespondenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IIdCorrespondenceMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IIndependentParameterTypeAssignmentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IIndependentParameterTypeAssignmentMetaInfo.cs index dee983be4..4102d5740 100644 --- a/CDP4Common/AutoGenMetaInfo/IIndependentParameterTypeAssignmentMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IIndependentParameterTypeAssignmentMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IIntervalScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IIntervalScaleMetaInfo.cs index 5a190423e..174fabd6f 100644 --- a/CDP4Common/AutoGenMetaInfo/IIntervalScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IIntervalScaleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IIterationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IIterationMetaInfo.cs index d40737d49..6ed8a4446 100644 --- a/CDP4Common/AutoGenMetaInfo/IIterationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IIterationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IIterationSetupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IIterationSetupMetaInfo.cs index 6ead18a42..e938ed296 100644 --- a/CDP4Common/AutoGenMetaInfo/IIterationSetupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IIterationSetupMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ILinearConversionUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ILinearConversionUnitMetaInfo.cs index 61f3bb286..8bfa56f21 100644 --- a/CDP4Common/AutoGenMetaInfo/ILinearConversionUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ILinearConversionUnitMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ILogEntryChangelogItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ILogEntryChangelogItemMetaInfo.cs index 7f4266712..6040f1048 100644 --- a/CDP4Common/AutoGenMetaInfo/ILogEntryChangelogItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ILogEntryChangelogItemMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ILogarithmicScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ILogarithmicScaleMetaInfo.cs index e25812254..3e186e3bc 100644 --- a/CDP4Common/AutoGenMetaInfo/ILogarithmicScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ILogarithmicScaleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IMappingToReferenceScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IMappingToReferenceScaleMetaInfo.cs index 41e2d002f..97b3f84ad 100644 --- a/CDP4Common/AutoGenMetaInfo/IMappingToReferenceScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IMappingToReferenceScaleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IMeasurementScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IMeasurementScaleMetaInfo.cs index 5ee5afedd..2b1405931 100644 --- a/CDP4Common/AutoGenMetaInfo/IMeasurementScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IMeasurementScaleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IMeasurementUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IMeasurementUnitMetaInfo.cs index 71498f92c..cb7eeb6a8 100644 --- a/CDP4Common/AutoGenMetaInfo/IMeasurementUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IMeasurementUnitMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IModelLogEntryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IModelLogEntryMetaInfo.cs index 7dda08394..06ac8dd94 100644 --- a/CDP4Common/AutoGenMetaInfo/IModelLogEntryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IModelLogEntryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IModelReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IModelReferenceDataLibraryMetaInfo.cs index ea7a093b2..a8f5310d1 100644 --- a/CDP4Common/AutoGenMetaInfo/IModelReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IModelReferenceDataLibraryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IModellingAnnotationItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IModellingAnnotationItemMetaInfo.cs index cdea1ffb6..89d3a093a 100644 --- a/CDP4Common/AutoGenMetaInfo/IModellingAnnotationItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IModellingAnnotationItemMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IModellingThingReferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IModellingThingReferenceMetaInfo.cs index 0c8109334..d6698948f 100644 --- a/CDP4Common/AutoGenMetaInfo/IModellingThingReferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IModellingThingReferenceMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IMultiRelationshipMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IMultiRelationshipMetaInfo.cs index a2da89e3b..02e5a184d 100644 --- a/CDP4Common/AutoGenMetaInfo/IMultiRelationshipMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IMultiRelationshipMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IMultiRelationshipRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IMultiRelationshipRuleMetaInfo.cs index 8f0d881d2..0aa5eb022 100644 --- a/CDP4Common/AutoGenMetaInfo/IMultiRelationshipRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IMultiRelationshipRuleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/INaturalLanguageMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/INaturalLanguageMetaInfo.cs index dc90c47a9..4ad85ecb1 100644 --- a/CDP4Common/AutoGenMetaInfo/INaturalLanguageMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/INaturalLanguageMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/INestedElementMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/INestedElementMetaInfo.cs index 070c4bbf1..1c288c87e 100644 --- a/CDP4Common/AutoGenMetaInfo/INestedElementMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/INestedElementMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/INestedParameterMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/INestedParameterMetaInfo.cs index 9b3700c39..ad74da3ef 100644 --- a/CDP4Common/AutoGenMetaInfo/INestedParameterMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/INestedParameterMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/INotExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/INotExpressionMetaInfo.cs index 24306f21f..7b92d8cb1 100644 --- a/CDP4Common/AutoGenMetaInfo/INotExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/INotExpressionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/INoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/INoteMetaInfo.cs index b4386cc80..e9d7923d4 100644 --- a/CDP4Common/AutoGenMetaInfo/INoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/INoteMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IOptionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IOptionMetaInfo.cs index dfb01784f..eb9769cfd 100644 --- a/CDP4Common/AutoGenMetaInfo/IOptionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IOptionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IOrExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IOrExpressionMetaInfo.cs index 6788290af..404b23130 100644 --- a/CDP4Common/AutoGenMetaInfo/IOrExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IOrExpressionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IOrdinalScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IOrdinalScaleMetaInfo.cs index 1b22f9053..933031d0b 100644 --- a/CDP4Common/AutoGenMetaInfo/IOrdinalScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IOrdinalScaleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IOrganizationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IOrganizationMetaInfo.cs index b279f9ded..a11f8fc5b 100644 --- a/CDP4Common/AutoGenMetaInfo/IOrganizationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IOrganizationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IOrganizationalParticipantMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IOrganizationalParticipantMetaInfo.cs index 63fece1db..4f1864de9 100644 --- a/CDP4Common/AutoGenMetaInfo/IOrganizationalParticipantMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IOrganizationalParticipantMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IOwnedStyleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IOwnedStyleMetaInfo.cs index b696dcd97..00908ddac 100644 --- a/CDP4Common/AutoGenMetaInfo/IOwnedStyleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IOwnedStyleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPageMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPageMetaInfo.cs index 6f1ffa3e1..89a50826b 100644 --- a/CDP4Common/AutoGenMetaInfo/IPageMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPageMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterBaseMetaInfo.cs index 7729e873e..32c0b7a17 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterBaseMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterGroupMetaInfo.cs index 69a828a88..7968c41c7 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterGroupMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterMetaInfo.cs index 02f0d010d..fde013d5e 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterOrOverrideBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterOrOverrideBaseMetaInfo.cs index 0c349e39a..7859b46a2 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterOrOverrideBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterOrOverrideBaseMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterOverrideMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterOverrideMetaInfo.cs index 7d347d383..1f8fc5c5f 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterOverrideMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterOverrideMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterOverrideValueSetMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterOverrideValueSetMetaInfo.cs index 55ffe9a12..41a1405e3 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterOverrideValueSetMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterOverrideValueSetMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionMetaInfo.cs index 5edb36e4a..7feae767e 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionValueSetMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionValueSetMetaInfo.cs index 0b1956c93..388212aeb 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionValueSetMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterSubscriptionValueSetMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterTypeComponentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterTypeComponentMetaInfo.cs index 092264eb2..e358c274f 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterTypeComponentMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterTypeComponentMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterTypeMetaInfo.cs index 32b213f0b..2332548d2 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterValueMetaInfo.cs index 2cb1e7fb5..521ef6086 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterValueMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterValueSetBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterValueSetBaseMetaInfo.cs index 215c31934..56fc25225 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterValueSetBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterValueSetBaseMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterValueSetMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterValueSetMetaInfo.cs index 67bd1cd7e..b3db42e60 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterValueSetMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterValueSetMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParameterizedCategoryRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParameterizedCategoryRuleMetaInfo.cs index ca2ca9233..046750e72 100644 --- a/CDP4Common/AutoGenMetaInfo/IParameterizedCategoryRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParameterizedCategoryRuleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParametricConstraintMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParametricConstraintMetaInfo.cs index 44be2f8e7..dca547a72 100644 --- a/CDP4Common/AutoGenMetaInfo/IParametricConstraintMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParametricConstraintMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParticipantMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParticipantMetaInfo.cs index 78f09f1a7..1a7c02805 100644 --- a/CDP4Common/AutoGenMetaInfo/IParticipantMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParticipantMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParticipantPermissionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParticipantPermissionMetaInfo.cs index 934208dbc..4940fbf83 100644 --- a/CDP4Common/AutoGenMetaInfo/IParticipantPermissionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParticipantPermissionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IParticipantRoleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IParticipantRoleMetaInfo.cs index b1ab04733..ec72c0d26 100644 --- a/CDP4Common/AutoGenMetaInfo/IParticipantRoleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IParticipantRoleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPersonMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPersonMetaInfo.cs index efc5e10ea..5495eaaf0 100644 --- a/CDP4Common/AutoGenMetaInfo/IPersonMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPersonMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPersonPermissionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPersonPermissionMetaInfo.cs index 16ba8442d..a9c812131 100644 --- a/CDP4Common/AutoGenMetaInfo/IPersonPermissionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPersonPermissionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPersonRoleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPersonRoleMetaInfo.cs index e63a136b6..88314d7a7 100644 --- a/CDP4Common/AutoGenMetaInfo/IPersonRoleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPersonRoleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPointMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPointMetaInfo.cs index ce89fb677..34598f6df 100644 --- a/CDP4Common/AutoGenMetaInfo/IPointMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPointMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateListMetaInfo.cs index 868103ab1..99a5fda0a 100644 --- a/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateListMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateMetaInfo.cs index 6aa853b32..3afa9863c 100644 --- a/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPossibleFiniteStateMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPrefixedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPrefixedUnitMetaInfo.cs index 3a21fb6a0..11facb987 100644 --- a/CDP4Common/AutoGenMetaInfo/IPrefixedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPrefixedUnitMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IPublicationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IPublicationMetaInfo.cs index 699401303..9b75e2894 100644 --- a/CDP4Common/AutoGenMetaInfo/IPublicationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IPublicationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IQuantityKindFactorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IQuantityKindFactorMetaInfo.cs index e3cdfa4de..c219a1dd5 100644 --- a/CDP4Common/AutoGenMetaInfo/IQuantityKindFactorMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IQuantityKindFactorMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IQuantityKindMetaInfo.cs index c9c290128..f6d013a2e 100644 --- a/CDP4Common/AutoGenMetaInfo/IQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IQuantityKindMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRatioScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRatioScaleMetaInfo.cs index 9a066d184..01c300290 100644 --- a/CDP4Common/AutoGenMetaInfo/IRatioScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRatioScaleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IReferenceDataLibraryMetaInfo.cs index 4e83fa9dd..ba45e513f 100644 --- a/CDP4Common/AutoGenMetaInfo/IReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IReferenceDataLibraryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IReferenceSourceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IReferenceSourceMetaInfo.cs index a4f222da8..7384be59e 100644 --- a/CDP4Common/AutoGenMetaInfo/IReferenceSourceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IReferenceSourceMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IReferencerRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IReferencerRuleMetaInfo.cs index 7f919a9c7..6da751db6 100644 --- a/CDP4Common/AutoGenMetaInfo/IReferencerRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IReferencerRuleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRelationalExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRelationalExpressionMetaInfo.cs index 25a2ae205..9f905e4a2 100644 --- a/CDP4Common/AutoGenMetaInfo/IRelationalExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRelationalExpressionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRelationshipMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRelationshipMetaInfo.cs index 828c8a7e8..794d38403 100644 --- a/CDP4Common/AutoGenMetaInfo/IRelationshipMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRelationshipMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRelationshipParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRelationshipParameterValueMetaInfo.cs index beccca5af..f1fbb1cc0 100644 --- a/CDP4Common/AutoGenMetaInfo/IRelationshipParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRelationshipParameterValueMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRequestForDeviationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRequestForDeviationMetaInfo.cs index 87753f3ab..24f919554 100644 --- a/CDP4Common/AutoGenMetaInfo/IRequestForDeviationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRequestForDeviationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRequestForWaiverMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRequestForWaiverMetaInfo.cs index 0e2b81ad6..c74e56536 100644 --- a/CDP4Common/AutoGenMetaInfo/IRequestForWaiverMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRequestForWaiverMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRequirementMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRequirementMetaInfo.cs index 4f9f971d8..d14524366 100644 --- a/CDP4Common/AutoGenMetaInfo/IRequirementMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRequirementMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRequirementsContainerMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRequirementsContainerMetaInfo.cs index 32004467e..7c2f3630c 100644 --- a/CDP4Common/AutoGenMetaInfo/IRequirementsContainerMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRequirementsContainerMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRequirementsContainerParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRequirementsContainerParameterValueMetaInfo.cs index 1a649422c..ce522bcce 100644 --- a/CDP4Common/AutoGenMetaInfo/IRequirementsContainerParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRequirementsContainerParameterValueMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRequirementsGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRequirementsGroupMetaInfo.cs index 0abbfdec0..e647baef2 100644 --- a/CDP4Common/AutoGenMetaInfo/IRequirementsGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRequirementsGroupMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRequirementsSpecificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRequirementsSpecificationMetaInfo.cs index 9ae84d191..5b36b1aba 100644 --- a/CDP4Common/AutoGenMetaInfo/IRequirementsSpecificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRequirementsSpecificationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IReviewItemDiscrepancyMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IReviewItemDiscrepancyMetaInfo.cs index ef1f6d5f7..4b4936ab3 100644 --- a/CDP4Common/AutoGenMetaInfo/IReviewItemDiscrepancyMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IReviewItemDiscrepancyMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRuleMetaInfo.cs index bf25eb46e..3a4c9aefe 100644 --- a/CDP4Common/AutoGenMetaInfo/IRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRuleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRuleVerificationListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRuleVerificationListMetaInfo.cs index efbde1e59..6e59c433f 100644 --- a/CDP4Common/AutoGenMetaInfo/IRuleVerificationListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRuleVerificationListMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRuleVerificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRuleVerificationMetaInfo.cs index 204494270..06878d3c3 100644 --- a/CDP4Common/AutoGenMetaInfo/IRuleVerificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRuleVerificationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IRuleViolationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IRuleViolationMetaInfo.cs index c32bb956a..db9cbe04a 100644 --- a/CDP4Common/AutoGenMetaInfo/IRuleViolationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IRuleViolationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISampledFunctionParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISampledFunctionParameterTypeMetaInfo.cs index a7f77ef2f..80f844698 100644 --- a/CDP4Common/AutoGenMetaInfo/ISampledFunctionParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISampledFunctionParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IScalarParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IScalarParameterTypeMetaInfo.cs index 3d05c0bc6..f44447b6a 100644 --- a/CDP4Common/AutoGenMetaInfo/IScalarParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IScalarParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IScaleReferenceQuantityValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IScaleReferenceQuantityValueMetaInfo.cs index 9ec57002a..d68a458da 100644 --- a/CDP4Common/AutoGenMetaInfo/IScaleReferenceQuantityValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IScaleReferenceQuantityValueMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IScaleValueDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IScaleValueDefinitionMetaInfo.cs index b7c31df94..b6d26d445 100644 --- a/CDP4Common/AutoGenMetaInfo/IScaleValueDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IScaleValueDefinitionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISectionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISectionMetaInfo.cs index 7fa218422..355d2f96b 100644 --- a/CDP4Common/AutoGenMetaInfo/ISectionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISectionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISharedStyleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISharedStyleMetaInfo.cs index 2d256d639..471e00655 100644 --- a/CDP4Common/AutoGenMetaInfo/ISharedStyleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISharedStyleMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISimpleParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISimpleParameterValueMetaInfo.cs index 550b5fd91..e2ffcc6c4 100644 --- a/CDP4Common/AutoGenMetaInfo/ISimpleParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISimpleParameterValueMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISimpleParameterizableThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISimpleParameterizableThingMetaInfo.cs index b3537ae3c..25d3b3dc8 100644 --- a/CDP4Common/AutoGenMetaInfo/ISimpleParameterizableThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISimpleParameterizableThingMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISimpleQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISimpleQuantityKindMetaInfo.cs index 1ad36ae2a..d14bbefe8 100644 --- a/CDP4Common/AutoGenMetaInfo/ISimpleQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISimpleQuantityKindMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISimpleUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISimpleUnitMetaInfo.cs index c0bbbdbee..80b7f76b4 100644 --- a/CDP4Common/AutoGenMetaInfo/ISimpleUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISimpleUnitMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataAnnotationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataAnnotationMetaInfo.cs index 0ae0f90f1..f9fba0e39 100644 --- a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataAnnotationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataAnnotationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataDiscussionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataDiscussionItemMetaInfo.cs index 39056fa70..f7426a3ec 100644 --- a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataDiscussionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryDataDiscussionItemMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryMetaInfo.cs index b9090f562..2743e7eb8 100644 --- a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryThingReferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryThingReferenceMetaInfo.cs index 521e15d9d..e271b7ed1 100644 --- a/CDP4Common/AutoGenMetaInfo/ISiteDirectoryThingReferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISiteDirectoryThingReferenceMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISiteLogEntryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISiteLogEntryMetaInfo.cs index 4c9fb1cc5..7ea74500b 100644 --- a/CDP4Common/AutoGenMetaInfo/ISiteLogEntryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISiteLogEntryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISiteReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISiteReferenceDataLibraryMetaInfo.cs index 389a870c7..4d280eb78 100644 --- a/CDP4Common/AutoGenMetaInfo/ISiteReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISiteReferenceDataLibraryMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISolutionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISolutionMetaInfo.cs index 1af68fbfd..c49302d12 100644 --- a/CDP4Common/AutoGenMetaInfo/ISolutionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISolutionMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ISpecializedQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ISpecializedQuantityKindMetaInfo.cs index aba8acfbd..337f9958d 100644 --- a/CDP4Common/AutoGenMetaInfo/ISpecializedQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ISpecializedQuantityKindMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapMetaInfo.cs index d6dbce5a5..684752833 100644 --- a/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapSettingsMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapSettingsMetaInfo.cs index dd94085c4..a77a4983f 100644 --- a/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapSettingsMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IStakeHolderValueMapSettingsMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IStakeholderMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IStakeholderMetaInfo.cs index 98bddda7d..3b75eabac 100644 --- a/CDP4Common/AutoGenMetaInfo/IStakeholderMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IStakeholderMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IStakeholderValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IStakeholderValueMetaInfo.cs index 006454a35..ebbef37b6 100644 --- a/CDP4Common/AutoGenMetaInfo/IStakeholderValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IStakeholderValueMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ITelephoneNumberMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ITelephoneNumberMetaInfo.cs index eebec1072..b028eb73e 100644 --- a/CDP4Common/AutoGenMetaInfo/ITelephoneNumberMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ITelephoneNumberMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ITermMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ITermMetaInfo.cs index 7ab8c40f8..a4e865776 100644 --- a/CDP4Common/AutoGenMetaInfo/ITermMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ITermMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ITextParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ITextParameterTypeMetaInfo.cs index 7010c0416..ea6cf886b 100644 --- a/CDP4Common/AutoGenMetaInfo/ITextParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ITextParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ITextualNoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ITextualNoteMetaInfo.cs index e03906859..6bf70dc43 100644 --- a/CDP4Common/AutoGenMetaInfo/ITextualNoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ITextualNoteMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IThingMetaInfo.cs index 83c523fdd..a954ee7e1 100644 --- a/CDP4Common/AutoGenMetaInfo/IThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IThingMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IThingReferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IThingReferenceMetaInfo.cs index 0275370f2..9242952e5 100644 --- a/CDP4Common/AutoGenMetaInfo/IThingReferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IThingReferenceMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ITimeOfDayParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ITimeOfDayParameterTypeMetaInfo.cs index 0974ad804..c594ad1b9 100644 --- a/CDP4Common/AutoGenMetaInfo/ITimeOfDayParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ITimeOfDayParameterTypeMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ITopContainerMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ITopContainerMetaInfo.cs index ff6e66ec2..429c0b4b2 100644 --- a/CDP4Common/AutoGenMetaInfo/ITopContainerMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ITopContainerMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IUnitFactorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IUnitFactorMetaInfo.cs index 58b668a82..fbd001a6a 100644 --- a/CDP4Common/AutoGenMetaInfo/IUnitFactorMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IUnitFactorMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IUnitPrefixMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IUnitPrefixMetaInfo.cs index f2fd78805..61422d897 100644 --- a/CDP4Common/AutoGenMetaInfo/IUnitPrefixMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IUnitPrefixMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IUserPreferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IUserPreferenceMetaInfo.cs index ee1cf6bee..18147100a 100644 --- a/CDP4Common/AutoGenMetaInfo/IUserPreferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IUserPreferenceMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IUserRuleVerificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IUserRuleVerificationMetaInfo.cs index 7fb861c3a..979a1aa88 100644 --- a/CDP4Common/AutoGenMetaInfo/IUserRuleVerificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IUserRuleVerificationMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IValueGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IValueGroupMetaInfo.cs index 44c4a2d7f..739ebee38 100644 --- a/CDP4Common/AutoGenMetaInfo/IValueGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IValueGroupMetaInfo.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IdCorrespondenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IdCorrespondenceMetaInfo.cs index 0503ac747..711b270cb 100644 --- a/CDP4Common/AutoGenMetaInfo/IdCorrespondenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IdCorrespondenceMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IndependentParameterTypeAssignmentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IndependentParameterTypeAssignmentMetaInfo.cs index d26d1887f..88c436f75 100644 --- a/CDP4Common/AutoGenMetaInfo/IndependentParameterTypeAssignmentMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IndependentParameterTypeAssignmentMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs index b50b30ebf..30a1d0b69 100644 --- a/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class IntervalScaleMetaInfo : IIntervalScaleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", intervalScale => intervalScale.Alias }, + { "Attachment", intervalScale => intervalScale.Attachment }, { "Definition", intervalScale => intervalScale.Definition }, { "HyperLink", intervalScale => intervalScale.HyperLink }, { "MappingToReferenceScale", intervalScale => intervalScale.MappingToReferenceScale }, @@ -69,6 +71,7 @@ public partial class IntervalScaleMetaInfo : IIntervalScaleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'IntervalScale' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'IntervalScale' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'IntervalScale' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'IntervalScale' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'IntervalScale' is mandatory and cannot be null.") }, @@ -214,6 +217,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing in private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "MappingToReferenceScale", new PropertyMetaInfo("MappingToReferenceScale", "MappingToReferenceScale", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -246,6 +250,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -305,6 +310,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/IterationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IterationMetaInfo.cs index a61d1bba2..14a3ed819 100644 --- a/CDP4Common/AutoGenMetaInfo/IterationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IterationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/IterationSetupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IterationSetupMetaInfo.cs index b315306e1..1527c9bae 100644 --- a/CDP4Common/AutoGenMetaInfo/IterationSetupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IterationSetupMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs index 99cd99b5a..ec06225f2 100644 --- a/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class LinearConversionUnitMetaInfo : ILinearConversionUnitMetaInf private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", linearConversionUnit => linearConversionUnit.Alias }, + { "Attachment", linearConversionUnit => linearConversionUnit.Attachment }, { "Definition", linearConversionUnit => linearConversionUnit.Definition }, { "HyperLink", linearConversionUnit => linearConversionUnit.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class LinearConversionUnitMetaInfo : ILinearConversionUnitMetaInf private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'LinearConversionUnit' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'LinearConversionUnit' is mandatory and cannot be null.") }, { "ConversionFactor", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.ConversionFactor), "The 'ConversionFactor' property of a 'LinearConversionUnit' is mandatory and cannot be empty or null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'LinearConversionUnit' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'LinearConversionUnit' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing li private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "ConversionFactor", thing => thing.ConversionFactor }, { "Definition", thing => thing.Definition }, @@ -286,6 +291,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/LogEntryChangelogItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/LogEntryChangelogItemMetaInfo.cs index 7cc087756..a770ddc0c 100644 --- a/CDP4Common/AutoGenMetaInfo/LogEntryChangelogItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/LogEntryChangelogItemMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs index f4f335c9e..fa1b469d1 100644 --- a/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class LogarithmicScaleMetaInfo : ILogarithmicScaleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", logarithmicScale => logarithmicScale.Alias }, + { "Attachment", logarithmicScale => logarithmicScale.Attachment }, { "Definition", logarithmicScale => logarithmicScale.Definition }, { "HyperLink", logarithmicScale => logarithmicScale.HyperLink }, { "MappingToReferenceScale", logarithmicScale => logarithmicScale.MappingToReferenceScale }, @@ -70,6 +72,7 @@ public partial class LogarithmicScaleMetaInfo : ILogarithmicScaleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'LogarithmicScale' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'LogarithmicScale' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'LogarithmicScale' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'LogarithmicScale' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'LogarithmicScale' is mandatory and cannot be null.") }, @@ -218,6 +221,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing lo private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "MappingToReferenceScale", new PropertyMetaInfo("MappingToReferenceScale", "MappingToReferenceScale", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -251,6 +255,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -319,6 +324,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/MappingToReferenceScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MappingToReferenceScaleMetaInfo.cs index a22290ceb..de18624c7 100644 --- a/CDP4Common/AutoGenMetaInfo/MappingToReferenceScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MappingToReferenceScaleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs index 30b0d3b67..1519d9519 100644 --- a/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class MeasurementScaleMetaInfo : IMeasurementScaleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", measurementScale => measurementScale.Alias }, + { "Attachment", measurementScale => measurementScale.Attachment }, { "Definition", measurementScale => measurementScale.Definition }, { "HyperLink", measurementScale => measurementScale.HyperLink }, { "MappingToReferenceScale", measurementScale => measurementScale.MappingToReferenceScale }, @@ -69,6 +71,7 @@ public partial class MeasurementScaleMetaInfo : IMeasurementScaleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'MeasurementScale' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'MeasurementScale' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'MeasurementScale' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'MeasurementScale' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'MeasurementScale' is mandatory and cannot be null.") }, @@ -214,6 +217,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing me private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "MappingToReferenceScale", new PropertyMetaInfo("MappingToReferenceScale", "MappingToReferenceScale", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -246,6 +250,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -305,6 +310,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs index ab7ac99c7..72f96322c 100644 --- a/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class MeasurementUnitMetaInfo : IMeasurementUnitMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", measurementUnit => measurementUnit.Alias }, + { "Attachment", measurementUnit => measurementUnit.Attachment }, { "Definition", measurementUnit => measurementUnit.Definition }, { "HyperLink", measurementUnit => measurementUnit.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class MeasurementUnitMetaInfo : IMeasurementUnitMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'MeasurementUnit' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'MeasurementUnit' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'MeasurementUnit' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'MeasurementUnit' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'MeasurementUnit' is mandatory and cannot be null.") }, @@ -210,6 +213,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing me private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -240,6 +244,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -281,6 +286,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/MetaDataProvider.cs b/CDP4Common/AutoGenMetaInfo/MetaDataProvider.cs index 05f0485f7..3e2a28111 100644 --- a/CDP4Common/AutoGenMetaInfo/MetaDataProvider.cs +++ b/CDP4Common/AutoGenMetaInfo/MetaDataProvider.cs @@ -54,7 +54,12 @@ public class MetaDataProvider : IMetaDataProvider { "Alias", new AliasMetaInfo() }, { "AndExpression", new AndExpressionMetaInfo() }, { "Approval", new ApprovalMetaInfo() }, + { "ArchitectureDiagram", new ArchitectureDiagramMetaInfo() }, + { "ArchitectureElement", new ArchitectureElementMetaInfo() }, { "ArrayParameterType", new ArrayParameterTypeMetaInfo() }, + { "Attachment", new AttachmentMetaInfo() }, + { "Behavior", new BehaviorMetaInfo() }, + { "BehavioralParameter", new BehavioralParameterMetaInfo() }, { "BinaryNote", new BinaryNoteMetaInfo() }, { "BinaryRelationship", new BinaryRelationshipMetaInfo() }, { "BinaryRelationshipRule", new BinaryRelationshipRuleMetaInfo() }, @@ -87,8 +92,10 @@ public class MetaDataProvider : IMetaDataProvider { "DiagramEdge", new DiagramEdgeMetaInfo() }, { "DiagramElementContainer", new DiagramElementContainerMetaInfo() }, { "DiagramElementThing", new DiagramElementThingMetaInfo() }, + { "DiagramFrame", new DiagramFrameMetaInfo() }, { "DiagrammingStyle", new DiagrammingStyleMetaInfo() }, { "DiagramObject", new DiagramObjectMetaInfo() }, + { "DiagramPort", new DiagramPortMetaInfo() }, { "DiagramShape", new DiagramShapeMetaInfo() }, { "DiagramThingBase", new DiagramThingBaseMetaInfo() }, { "DiscussionItem", new DiscussionItemMetaInfo() }, @@ -320,6 +327,7 @@ public IEnumerable QuerySupportedModelVersions() yield return Version.Parse("1.1.0"); yield return Version.Parse("1.2.0"); yield return Version.Parse("1.3.0"); + yield return Version.Parse("1.4.0"); } /// diff --git a/CDP4Common/AutoGenMetaInfo/ModelLogEntryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ModelLogEntryMetaInfo.cs index f0ca4cbe4..62640c813 100644 --- a/CDP4Common/AutoGenMetaInfo/ModelLogEntryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ModelLogEntryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs index c9f24f681..6522646c1 100644 --- a/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ModelReferenceDataLibraryMetaInfo : IModelReferenceDataLibr private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", modelReferenceDataLibrary => modelReferenceDataLibrary.Alias }, + { "Attachment", modelReferenceDataLibrary => modelReferenceDataLibrary.Attachment }, { "Constant", modelReferenceDataLibrary => modelReferenceDataLibrary.Constant }, { "DefinedCategory", modelReferenceDataLibrary => modelReferenceDataLibrary.DefinedCategory }, { "Definition", modelReferenceDataLibrary => modelReferenceDataLibrary.Definition }, @@ -77,6 +79,7 @@ public partial class ModelReferenceDataLibraryMetaInfo : IModelReferenceDataLibr private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ModelReferenceDataLibrary' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ModelReferenceDataLibrary' is mandatory and cannot be null.") }, { "BaseQuantityKind", new DtoValidationHelper(item => item.BaseQuantityKind != null, "The 'BaseQuantityKind' property of a 'ModelReferenceDataLibrary' is mandatory and cannot be null.") }, { "BaseUnit", new DtoValidationHelper(item => item.BaseUnit != null, "The 'BaseUnit' property of a 'ModelReferenceDataLibrary' is mandatory and cannot be null.") }, { "Constant", new DtoValidationHelper(item => item.Constant != null, "The 'Constant' property of a 'ModelReferenceDataLibrary' is mandatory and cannot be null.") }, @@ -232,6 +235,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing mo private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Constant", new PropertyMetaInfo("Constant", "Constant", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DefinedCategory", new PropertyMetaInfo("DefinedCategory", "Category", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -272,6 +276,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "BaseQuantityKind", thing => thing.BaseQuantityKind }, { "BaseUnit", thing => thing.BaseUnit }, { "ClassKind", thing => thing.ClassKind }, @@ -327,6 +332,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "BaseQuantityKind", (value) => (Guid)value }, { "BaseUnit", (value) => (Guid)value }, { "Constant", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ModellingAnnotationItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ModellingAnnotationItemMetaInfo.cs index 6c5d19dae..6b1f17a8b 100644 --- a/CDP4Common/AutoGenMetaInfo/ModellingAnnotationItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ModellingAnnotationItemMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ModellingThingReferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ModellingThingReferenceMetaInfo.cs index a021bda0e..deb8b9e21 100644 --- a/CDP4Common/AutoGenMetaInfo/ModellingThingReferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ModellingThingReferenceMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/MultiRelationshipMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MultiRelationshipMetaInfo.cs index 7737a5de6..4cb53a6b2 100644 --- a/CDP4Common/AutoGenMetaInfo/MultiRelationshipMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MultiRelationshipMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs index 933144a28..043fcb23e 100644 --- a/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class MultiRelationshipRuleMetaInfo : IMultiRelationshipRuleMetaI private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", multiRelationshipRule => multiRelationshipRule.Alias }, + { "Attachment", multiRelationshipRule => multiRelationshipRule.Attachment }, { "Definition", multiRelationshipRule => multiRelationshipRule.Definition }, { "HyperLink", multiRelationshipRule => multiRelationshipRule.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class MultiRelationshipRuleMetaInfo : IMultiRelationshipRuleMetaI private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'MultiRelationshipRule' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'MultiRelationshipRule' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'MultiRelationshipRule' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'MultiRelationshipRule' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'MultiRelationshipRule' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing mu private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -290,6 +295,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/NaturalLanguageMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/NaturalLanguageMetaInfo.cs index 38de3f5ab..9e75e4d9c 100644 --- a/CDP4Common/AutoGenMetaInfo/NaturalLanguageMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/NaturalLanguageMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/NestedElementMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/NestedElementMetaInfo.cs index 585938ca7..e5c96adcc 100644 --- a/CDP4Common/AutoGenMetaInfo/NestedElementMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/NestedElementMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/NestedParameterMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/NestedParameterMetaInfo.cs index 48b4932dd..bf28ac740 100644 --- a/CDP4Common/AutoGenMetaInfo/NestedParameterMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/NestedParameterMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/NotExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/NotExpressionMetaInfo.cs index 46dd5003c..117b057b5 100644 --- a/CDP4Common/AutoGenMetaInfo/NotExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/NotExpressionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/NoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/NoteMetaInfo.cs index c3a80c8d8..632dc62bf 100644 --- a/CDP4Common/AutoGenMetaInfo/NoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/NoteMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs index adef2c491..4c73a1d43 100644 --- a/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class OptionMetaInfo : IOptionMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", option => option.Alias }, + { "Attachment", option => option.Attachment }, { "Definition", option => option.Definition }, { "HyperLink", option => option.HyperLink }, { "NestedElement", option => option.NestedElement }, @@ -68,6 +70,7 @@ public partial class OptionMetaInfo : IOptionMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Option' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Option' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'Option' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Option' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Option' is mandatory and cannot be null.") }, @@ -213,6 +216,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing op private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "NestedElement", new PropertyMetaInfo("NestedElement", "NestedElement", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -244,6 +248,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -286,6 +291,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/OrExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OrExpressionMetaInfo.cs index d948e4811..6fe795891 100644 --- a/CDP4Common/AutoGenMetaInfo/OrExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OrExpressionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs index 758b1ed69..81f51870d 100644 --- a/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class OrdinalScaleMetaInfo : IOrdinalScaleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", ordinalScale => ordinalScale.Alias }, + { "Attachment", ordinalScale => ordinalScale.Attachment }, { "Definition", ordinalScale => ordinalScale.Definition }, { "HyperLink", ordinalScale => ordinalScale.HyperLink }, { "MappingToReferenceScale", ordinalScale => ordinalScale.MappingToReferenceScale }, @@ -69,6 +71,7 @@ public partial class OrdinalScaleMetaInfo : IOrdinalScaleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'OrdinalScale' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'OrdinalScale' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'OrdinalScale' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'OrdinalScale' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'OrdinalScale' is mandatory and cannot be null.") }, @@ -214,6 +217,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing or private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "MappingToReferenceScale", new PropertyMetaInfo("MappingToReferenceScale", "MappingToReferenceScale", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -246,6 +250,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -307,6 +312,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/OrganizationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OrganizationMetaInfo.cs index 9594e3278..84f04c3bc 100644 --- a/CDP4Common/AutoGenMetaInfo/OrganizationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OrganizationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/OrganizationalParticipantMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OrganizationalParticipantMetaInfo.cs index 780ae0638..6232d3b55 100644 --- a/CDP4Common/AutoGenMetaInfo/OrganizationalParticipantMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OrganizationalParticipantMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/OwnedStyleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OwnedStyleMetaInfo.cs index 3136e3edc..fc3b9111d 100644 --- a/CDP4Common/AutoGenMetaInfo/OwnedStyleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OwnedStyleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -325,8 +326,11 @@ public IEnumerable Properties /// private readonly Dictionary possibleContainerProperties = new Dictionary { + { "ArchitectureElement", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, { "DiagramEdge", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramFrame", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, { "DiagramObject", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, + { "DiagramPort", new PropertyMetaInfo("LocalStyle", "OwnedStyle", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "1", true) }, }; /// diff --git a/CDP4Common/AutoGenMetaInfo/PageMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PageMetaInfo.cs index 912e7f9b8..eb7d57d88 100644 --- a/CDP4Common/AutoGenMetaInfo/PageMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PageMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterBaseMetaInfo.cs index 02aa049d9..6b20087c6 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterBaseMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterGroupMetaInfo.cs index edf0373a3..b9c106121 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterGroupMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterMetaInfo.cs index f4b339a68..19da9af4e 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterOrOverrideBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterOrOverrideBaseMetaInfo.cs index a40aefb0e..3027476b0 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterOrOverrideBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterOrOverrideBaseMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterOverrideMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterOverrideMetaInfo.cs index 16f296b4c..0419bfba5 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterOverrideMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterOverrideMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterOverrideValueSetMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterOverrideValueSetMetaInfo.cs index 912bfe046..bd9f41453 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterOverrideValueSetMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterOverrideValueSetMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionMetaInfo.cs index ce44d9d8b..4d63008e8 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionValueSetMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionValueSetMetaInfo.cs index 27b83b924..ffb835226 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionValueSetMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterSubscriptionValueSetMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterTypeComponentMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterTypeComponentMetaInfo.cs index c1c87022d..e3f8c4ce8 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterTypeComponentMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterTypeComponentMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs index 5ca50aa3f..4bb80df5e 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ParameterTypeMetaInfo : IParameterTypeMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", parameterType => parameterType.Alias }, + { "Attachment", parameterType => parameterType.Attachment }, { "Definition", parameterType => parameterType.Definition }, { "HyperLink", parameterType => parameterType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ParameterTypeMetaInfo : IParameterTypeMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ParameterType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pa private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterValueMetaInfo.cs index b2295f698..88ab302e8 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterValueMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterValueSetBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterValueSetBaseMetaInfo.cs index 79e5a27dc..9b1168dd9 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterValueSetBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterValueSetBaseMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterValueSetMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterValueSetMetaInfo.cs index 8058cf764..b307870ee 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterValueSetMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterValueSetMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs index e04a98914..42a49c036 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ParameterizedCategoryRuleMetaInfo : IParameterizedCategoryR private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", parameterizedCategoryRule => parameterizedCategoryRule.Alias }, + { "Attachment", parameterizedCategoryRule => parameterizedCategoryRule.Attachment }, { "Definition", parameterizedCategoryRule => parameterizedCategoryRule.Definition }, { "HyperLink", parameterizedCategoryRule => parameterizedCategoryRule.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ParameterizedCategoryRuleMetaInfo : IParameterizedCategoryR private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ParameterizedCategoryRule' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ParameterizedCategoryRule' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ParameterizedCategoryRule' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ParameterizedCategoryRule' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'ParameterizedCategoryRule' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pa private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -286,6 +291,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ParametricConstraintMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParametricConstraintMetaInfo.cs index 3c9ba3c7d..9e00c0013 100644 --- a/CDP4Common/AutoGenMetaInfo/ParametricConstraintMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParametricConstraintMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParticipantMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParticipantMetaInfo.cs index ec043405a..f1ef70a75 100644 --- a/CDP4Common/AutoGenMetaInfo/ParticipantMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParticipantMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParticipantPermissionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParticipantPermissionMetaInfo.cs index 6a03395a1..960c40673 100644 --- a/CDP4Common/AutoGenMetaInfo/ParticipantPermissionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParticipantPermissionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs index d6c3e909e..360b529ed 100644 --- a/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ParticipantRoleMetaInfo : IParticipantRoleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", participantRole => participantRole.Alias }, + { "Attachment", participantRole => participantRole.Attachment }, { "Definition", participantRole => participantRole.Definition }, { "HyperLink", participantRole => participantRole.HyperLink }, { "ParticipantPermission", participantRole => participantRole.ParticipantPermission }, @@ -68,6 +70,7 @@ public partial class ParticipantRoleMetaInfo : IParticipantRoleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ParticipantRole' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ParticipantRole' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ParticipantRole' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ParticipantRole' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'ParticipantRole' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pa private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "ParticipantPermission", new PropertyMetaInfo("ParticipantPermission", "ParticipantPermission", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -243,6 +247,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -285,6 +290,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/PersonMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PersonMetaInfo.cs index 2cd8a76ee..5d2b978c1 100644 --- a/CDP4Common/AutoGenMetaInfo/PersonMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PersonMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/PersonPermissionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PersonPermissionMetaInfo.cs index e2abbc29e..9063b32dd 100644 --- a/CDP4Common/AutoGenMetaInfo/PersonPermissionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PersonPermissionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs index bbe6d1071..8f8287d4e 100644 --- a/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class PersonRoleMetaInfo : IPersonRoleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", personRole => personRole.Alias }, + { "Attachment", personRole => personRole.Attachment }, { "Definition", personRole => personRole.Definition }, { "HyperLink", personRole => personRole.HyperLink }, { "PersonPermission", personRole => personRole.PersonPermission }, @@ -68,6 +70,7 @@ public partial class PersonRoleMetaInfo : IPersonRoleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'PersonRole' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'PersonRole' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'PersonRole' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'PersonRole' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'PersonRole' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pe private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "PersonPermission", new PropertyMetaInfo("PersonPermission", "PersonPermission", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -243,6 +247,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -285,6 +290,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/PointMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PointMetaInfo.cs index 3d338af51..269c1ed86 100644 --- a/CDP4Common/AutoGenMetaInfo/PointMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PointMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs index 8ea41fb31..31d9a13f1 100644 --- a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class PossibleFiniteStateListMetaInfo : IPossibleFiniteStateListM private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", possibleFiniteStateList => possibleFiniteStateList.Alias }, + { "Attachment", possibleFiniteStateList => possibleFiniteStateList.Attachment }, { "Definition", possibleFiniteStateList => possibleFiniteStateList.Definition }, { "HyperLink", possibleFiniteStateList => possibleFiniteStateList.HyperLink }, { "PossibleState", possibleFiniteStateList => possibleFiniteStateList.PossibleState.ToIdList() }, @@ -71,6 +73,7 @@ public partial class PossibleFiniteStateListMetaInfo : IPossibleFiniteStateListM private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'PossibleFiniteStateList' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'PossibleFiniteStateList' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'PossibleFiniteStateList' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'PossibleFiniteStateList' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'PossibleFiniteStateList' is mandatory and cannot be null.") }, @@ -216,6 +219,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing po private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "PossibleState", new PropertyMetaInfo("PossibleState", "PossibleFiniteState", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 1, "*", true) }, @@ -247,6 +251,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "DefaultState", thing => thing.DefaultState }, @@ -293,6 +298,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs index 5ce7f0257..622cdfaca 100644 --- a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class PossibleFiniteStateMetaInfo : IPossibleFiniteStateMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", possibleFiniteState => possibleFiniteState.Alias }, + { "Attachment", possibleFiniteState => possibleFiniteState.Attachment }, { "Definition", possibleFiniteState => possibleFiniteState.Definition }, { "HyperLink", possibleFiniteState => possibleFiniteState.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class PossibleFiniteStateMetaInfo : IPossibleFiniteStateMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'PossibleFiniteState' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'PossibleFiniteState' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'PossibleFiniteState' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'PossibleFiniteState' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'PossibleFiniteState' is mandatory and cannot be null.") }, @@ -210,6 +213,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing po private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -240,6 +244,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -280,6 +285,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs index b1846b3a0..09783fd25 100644 --- a/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class PrefixedUnitMetaInfo : IPrefixedUnitMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", prefixedUnit => prefixedUnit.Alias }, + { "Attachment", prefixedUnit => prefixedUnit.Attachment }, { "Definition", prefixedUnit => prefixedUnit.Definition }, { "HyperLink", prefixedUnit => prefixedUnit.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class PrefixedUnitMetaInfo : IPrefixedUnitMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'PrefixedUnit' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'PrefixedUnit' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'PrefixedUnit' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'PrefixedUnit' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'PrefixedUnit' is mandatory and cannot be null.") }, @@ -208,6 +211,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pr private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -238,6 +242,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -282,6 +287,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/PublicationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PublicationMetaInfo.cs index 41b485acb..b1637ce25 100644 --- a/CDP4Common/AutoGenMetaInfo/PublicationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PublicationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/QuantityKindFactorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/QuantityKindFactorMetaInfo.cs index 1b77452e7..5558ca345 100644 --- a/CDP4Common/AutoGenMetaInfo/QuantityKindFactorMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/QuantityKindFactorMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs index 838d30c9c..3491136e2 100644 --- a/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class QuantityKindMetaInfo : IQuantityKindMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", quantityKind => quantityKind.Alias }, + { "Attachment", quantityKind => quantityKind.Attachment }, { "Definition", quantityKind => quantityKind.Definition }, { "HyperLink", quantityKind => quantityKind.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class QuantityKindMetaInfo : IQuantityKindMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'QuantityKind' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'QuantityKind' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'QuantityKind' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'QuantityKind' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'QuantityKind' is mandatory and cannot be null.") }, @@ -213,6 +216,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing qu private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -243,6 +247,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "DefaultScale", thing => thing.DefaultScale }, @@ -298,6 +303,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs index 152d2d638..2dc1a433e 100644 --- a/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class RatioScaleMetaInfo : IRatioScaleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", ratioScale => ratioScale.Alias }, + { "Attachment", ratioScale => ratioScale.Attachment }, { "Definition", ratioScale => ratioScale.Definition }, { "HyperLink", ratioScale => ratioScale.HyperLink }, { "MappingToReferenceScale", ratioScale => ratioScale.MappingToReferenceScale }, @@ -69,6 +71,7 @@ public partial class RatioScaleMetaInfo : IRatioScaleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'RatioScale' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'RatioScale' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'RatioScale' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'RatioScale' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'RatioScale' is mandatory and cannot be null.") }, @@ -214,6 +217,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ra private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "MappingToReferenceScale", new PropertyMetaInfo("MappingToReferenceScale", "MappingToReferenceScale", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -246,6 +250,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -305,6 +310,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs index 0a1e9e840..99c582c4d 100644 --- a/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ReferenceDataLibraryMetaInfo : IReferenceDataLibraryMetaInf private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", referenceDataLibrary => referenceDataLibrary.Alias }, + { "Attachment", referenceDataLibrary => referenceDataLibrary.Attachment }, { "Constant", referenceDataLibrary => referenceDataLibrary.Constant }, { "DefinedCategory", referenceDataLibrary => referenceDataLibrary.DefinedCategory }, { "Definition", referenceDataLibrary => referenceDataLibrary.Definition }, @@ -77,6 +79,7 @@ public partial class ReferenceDataLibraryMetaInfo : IReferenceDataLibraryMetaInf private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ReferenceDataLibrary' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ReferenceDataLibrary' is mandatory and cannot be null.") }, { "BaseQuantityKind", new DtoValidationHelper(item => item.BaseQuantityKind != null, "The 'BaseQuantityKind' property of a 'ReferenceDataLibrary' is mandatory and cannot be null.") }, { "BaseUnit", new DtoValidationHelper(item => item.BaseUnit != null, "The 'BaseUnit' property of a 'ReferenceDataLibrary' is mandatory and cannot be null.") }, { "Constant", new DtoValidationHelper(item => item.Constant != null, "The 'Constant' property of a 'ReferenceDataLibrary' is mandatory and cannot be null.") }, @@ -232,6 +235,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Constant", new PropertyMetaInfo("Constant", "Constant", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DefinedCategory", new PropertyMetaInfo("DefinedCategory", "Category", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -272,6 +276,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "BaseQuantityKind", thing => thing.BaseQuantityKind }, { "BaseUnit", thing => thing.BaseUnit }, { "ClassKind", thing => thing.ClassKind }, @@ -327,6 +332,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "BaseQuantityKind", (value) => (Guid)value }, { "BaseUnit", (value) => (Guid)value }, { "Constant", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs index 817b7911f..a0c5c9e02 100644 --- a/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ReferenceSourceMetaInfo : IReferenceSourceMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", referenceSource => referenceSource.Alias }, + { "Attachment", referenceSource => referenceSource.Attachment }, { "Definition", referenceSource => referenceSource.Definition }, { "HyperLink", referenceSource => referenceSource.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ReferenceSourceMetaInfo : IReferenceSourceMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ReferenceSource' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ReferenceSource' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ReferenceSource' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ReferenceSource' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ReferenceSource' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Author", thing => thing.Author }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, @@ -298,6 +303,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs index c84ded602..f56ef9dea 100644 --- a/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ReferencerRuleMetaInfo : IReferencerRuleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", referencerRule => referencerRule.Alias }, + { "Attachment", referencerRule => referencerRule.Attachment }, { "Definition", referencerRule => referencerRule.Definition }, { "HyperLink", referencerRule => referencerRule.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ReferencerRuleMetaInfo : IReferencerRuleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ReferencerRule' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ReferencerRule' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ReferencerRule' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ReferencerRule' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'ReferencerRule' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -290,6 +295,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/RelationalExpressionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RelationalExpressionMetaInfo.cs index b16bee94a..b72146291 100644 --- a/CDP4Common/AutoGenMetaInfo/RelationalExpressionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RelationalExpressionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RelationshipMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RelationshipMetaInfo.cs index 68dd3cd65..ecc93cb03 100644 --- a/CDP4Common/AutoGenMetaInfo/RelationshipMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RelationshipMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RelationshipParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RelationshipParameterValueMetaInfo.cs index 972c580be..963ec6a11 100644 --- a/CDP4Common/AutoGenMetaInfo/RelationshipParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RelationshipParameterValueMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RequestForDeviationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequestForDeviationMetaInfo.cs index 75fb06faf..5e4a64d5a 100644 --- a/CDP4Common/AutoGenMetaInfo/RequestForDeviationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequestForDeviationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RequestForWaiverMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequestForWaiverMetaInfo.cs index 2bf32a2b1..8336614f8 100644 --- a/CDP4Common/AutoGenMetaInfo/RequestForWaiverMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequestForWaiverMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs index fc3634634..67fea4330 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class RequirementMetaInfo : IRequirementMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", requirement => requirement.Alias }, + { "Attachment", requirement => requirement.Attachment }, { "Definition", requirement => requirement.Definition }, { "HyperLink", requirement => requirement.HyperLink }, { "ParameterValue", requirement => requirement.ParameterValue }, @@ -72,6 +74,7 @@ public partial class RequirementMetaInfo : IRequirementMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Requirement' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Requirement' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'Requirement' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Requirement' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Requirement' is mandatory and cannot be null.") }, @@ -218,6 +221,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "ParameterValue", new PropertyMetaInfo("ParameterValue", "SimpleParameterValue", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -250,6 +254,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -299,6 +304,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs index 3c8027451..2d8de42ce 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class RequirementsContainerMetaInfo : IRequirementsContainerMetaI private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", requirementsContainer => requirementsContainer.Alias }, + { "Attachment", requirementsContainer => requirementsContainer.Attachment }, { "Definition", requirementsContainer => requirementsContainer.Definition }, { "Group", requirementsContainer => requirementsContainer.Group }, { "HyperLink", requirementsContainer => requirementsContainer.HyperLink }, @@ -69,6 +71,7 @@ public partial class RequirementsContainerMetaInfo : IRequirementsContainerMetaI private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'RequirementsContainer' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'RequirementsContainer' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'RequirementsContainer' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'RequirementsContainer' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'RequirementsContainer' is mandatory and cannot be null.") }, @@ -217,6 +220,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Group", new PropertyMetaInfo("Group", "RequirementsGroup", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -249,6 +253,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -294,6 +299,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/RequirementsContainerParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementsContainerParameterValueMetaInfo.cs index bbf9ded77..171fa7794 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementsContainerParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementsContainerParameterValueMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs index 5c702461b..24a0959d5 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class RequirementsGroupMetaInfo : IRequirementsGroupMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", requirementsGroup => requirementsGroup.Alias }, + { "Attachment", requirementsGroup => requirementsGroup.Attachment }, { "Definition", requirementsGroup => requirementsGroup.Definition }, { "Group", requirementsGroup => requirementsGroup.Group }, { "HyperLink", requirementsGroup => requirementsGroup.HyperLink }, @@ -69,6 +71,7 @@ public partial class RequirementsGroupMetaInfo : IRequirementsGroupMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'RequirementsGroup' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'RequirementsGroup' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'RequirementsGroup' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'RequirementsGroup' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'RequirementsGroup' is mandatory and cannot be null.") }, @@ -217,6 +220,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Group", new PropertyMetaInfo("Group", "RequirementsGroup", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -249,6 +253,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -294,6 +299,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs index e868a147b..e0c0009b6 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class RequirementsSpecificationMetaInfo : IRequirementsSpecificat private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", requirementsSpecification => requirementsSpecification.Alias }, + { "Attachment", requirementsSpecification => requirementsSpecification.Attachment }, { "Definition", requirementsSpecification => requirementsSpecification.Definition }, { "Group", requirementsSpecification => requirementsSpecification.Group }, { "HyperLink", requirementsSpecification => requirementsSpecification.HyperLink }, @@ -70,6 +72,7 @@ public partial class RequirementsSpecificationMetaInfo : IRequirementsSpecificat private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'RequirementsSpecification' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'RequirementsSpecification' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'RequirementsSpecification' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'RequirementsSpecification' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'RequirementsSpecification' is mandatory and cannot be null.") }, @@ -219,6 +222,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Group", new PropertyMetaInfo("Group", "RequirementsGroup", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -252,6 +256,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -300,6 +305,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ReviewItemDiscrepancyMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ReviewItemDiscrepancyMetaInfo.cs index ea92e0607..c0a917327 100644 --- a/CDP4Common/AutoGenMetaInfo/ReviewItemDiscrepancyMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ReviewItemDiscrepancyMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs index 163f32af2..db35cc162 100644 --- a/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class RuleMetaInfo : IRuleMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", rule => rule.Alias }, + { "Attachment", rule => rule.Attachment }, { "Definition", rule => rule.Definition }, { "HyperLink", rule => rule.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class RuleMetaInfo : IRuleMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Rule' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Rule' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Rule' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Rule' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'Rule' is mandatory and cannot be null.") }, @@ -210,6 +213,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ru private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -240,6 +244,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -281,6 +286,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs index 9427ae8a5..662c8e400 100644 --- a/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class RuleVerificationListMetaInfo : IRuleVerificationListMetaInf private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", ruleVerificationList => ruleVerificationList.Alias }, + { "Attachment", ruleVerificationList => ruleVerificationList.Attachment }, { "Definition", ruleVerificationList => ruleVerificationList.Definition }, { "HyperLink", ruleVerificationList => ruleVerificationList.HyperLink }, { "RuleVerification", ruleVerificationList => ruleVerificationList.RuleVerification.ToIdList() }, @@ -71,6 +73,7 @@ public partial class RuleVerificationListMetaInfo : IRuleVerificationListMetaInf private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'RuleVerificationList' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'RuleVerificationList' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'RuleVerificationList' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'RuleVerificationList' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'RuleVerificationList' is mandatory and cannot be null.") }, @@ -215,6 +218,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ru private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "RuleVerification", new PropertyMetaInfo("RuleVerification", "RuleVerification", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 0, "*", true) }, @@ -246,6 +250,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/RuleVerificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RuleVerificationMetaInfo.cs index 950a36904..4e230f1d1 100644 --- a/CDP4Common/AutoGenMetaInfo/RuleVerificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RuleVerificationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/RuleViolationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RuleViolationMetaInfo.cs index 70c5eb89e..7261b5055 100644 --- a/CDP4Common/AutoGenMetaInfo/RuleViolationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RuleViolationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs index 6ded03b73..c31ba23c9 100644 --- a/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class SampledFunctionParameterTypeMetaInfo : ISampledFunctionPara private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", sampledFunctionParameterType => sampledFunctionParameterType.Alias }, + { "Attachment", sampledFunctionParameterType => sampledFunctionParameterType.Attachment }, { "Definition", sampledFunctionParameterType => sampledFunctionParameterType.Definition }, { "DependentParameterType", sampledFunctionParameterType => sampledFunctionParameterType.DependentParameterType.ToIdList() }, { "HyperLink", sampledFunctionParameterType => sampledFunctionParameterType.HyperLink }, @@ -73,6 +75,7 @@ public partial class SampledFunctionParameterTypeMetaInfo : ISampledFunctionPara private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'SampledFunctionParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'SampledFunctionParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'SampledFunctionParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'SampledFunctionParameterType' is mandatory and cannot be null.") }, { "DependentParameterType", new DtoValidationHelper(item => item.DependentParameterType != null && item.DependentParameterType.Any(), "The 'DependentParameterType' property of a 'SampledFunctionParameterType' is mandatory and must have at least one entry.") }, @@ -221,6 +224,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sa private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DependentParameterType", new PropertyMetaInfo("DependentParameterType", "DependentParameterTypeAssignment", PropertyKind.OrderedList, AggregationKind.Composite, false, true, true, 1, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -253,6 +257,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -305,6 +310,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "DependentParameterType", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs index dc2e00f58..226ea0112 100644 --- a/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ScalarParameterTypeMetaInfo : IScalarParameterTypeMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", scalarParameterType => scalarParameterType.Alias }, + { "Attachment", scalarParameterType => scalarParameterType.Attachment }, { "Definition", scalarParameterType => scalarParameterType.Definition }, { "HyperLink", scalarParameterType => scalarParameterType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ScalarParameterTypeMetaInfo : IScalarParameterTypeMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ScalarParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ScalarParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ScalarParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ScalarParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ScalarParameterType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sc private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/ScaleReferenceQuantityValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ScaleReferenceQuantityValueMetaInfo.cs index 94587c898..7ce114545 100644 --- a/CDP4Common/AutoGenMetaInfo/ScaleReferenceQuantityValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ScaleReferenceQuantityValueMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs index eb1035740..0ebd9e26a 100644 --- a/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ScaleValueDefinitionMetaInfo : IScaleValueDefinitionMetaInf private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", scaleValueDefinition => scaleValueDefinition.Alias }, + { "Attachment", scaleValueDefinition => scaleValueDefinition.Attachment }, { "Definition", scaleValueDefinition => scaleValueDefinition.Definition }, { "HyperLink", scaleValueDefinition => scaleValueDefinition.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ScaleValueDefinitionMetaInfo : IScaleValueDefinitionMetaInf private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ScaleValueDefinition' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ScaleValueDefinition' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ScaleValueDefinition' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ScaleValueDefinition' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'ScaleValueDefinition' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sc private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -282,6 +287,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/SectionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SectionMetaInfo.cs index 645396f53..4c91ff702 100644 --- a/CDP4Common/AutoGenMetaInfo/SectionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SectionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SharedStyleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SharedStyleMetaInfo.cs index 262fc12fd..487097e75 100644 --- a/CDP4Common/AutoGenMetaInfo/SharedStyleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SharedStyleMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SimpleParameterValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SimpleParameterValueMetaInfo.cs index de03729b3..db40d11a7 100644 --- a/CDP4Common/AutoGenMetaInfo/SimpleParameterValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SimpleParameterValueMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs index 93f1b400a..3c4a07f85 100644 --- a/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class SimpleParameterizableThingMetaInfo : ISimpleParameterizable private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", simpleParameterizableThing => simpleParameterizableThing.Alias }, + { "Attachment", simpleParameterizableThing => simpleParameterizableThing.Attachment }, { "Definition", simpleParameterizableThing => simpleParameterizableThing.Definition }, { "HyperLink", simpleParameterizableThing => simpleParameterizableThing.HyperLink }, { "ParameterValue", simpleParameterizableThing => simpleParameterizableThing.ParameterValue }, @@ -68,6 +70,7 @@ public partial class SimpleParameterizableThingMetaInfo : ISimpleParameterizable private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'SimpleParameterizableThing' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'SimpleParameterizableThing' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'SimpleParameterizableThing' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'SimpleParameterizableThing' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'SimpleParameterizableThing' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "ParameterValue", new PropertyMetaInfo("ParameterValue", "SimpleParameterValue", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -243,6 +247,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -285,6 +290,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs index b9e66e6ca..bc07d6469 100644 --- a/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class SimpleQuantityKindMetaInfo : ISimpleQuantityKindMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", simpleQuantityKind => simpleQuantityKind.Alias }, + { "Attachment", simpleQuantityKind => simpleQuantityKind.Attachment }, { "Definition", simpleQuantityKind => simpleQuantityKind.Definition }, { "HyperLink", simpleQuantityKind => simpleQuantityKind.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class SimpleQuantityKindMetaInfo : ISimpleQuantityKindMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'SimpleQuantityKind' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'SimpleQuantityKind' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'SimpleQuantityKind' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'SimpleQuantityKind' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'SimpleQuantityKind' is mandatory and cannot be null.") }, @@ -213,6 +216,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -243,6 +247,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "DefaultScale", thing => thing.DefaultScale }, @@ -298,6 +303,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs index 892c4906b..00e7172f5 100644 --- a/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class SimpleUnitMetaInfo : ISimpleUnitMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", simpleUnit => simpleUnit.Alias }, + { "Attachment", simpleUnit => simpleUnit.Attachment }, { "Definition", simpleUnit => simpleUnit.Definition }, { "HyperLink", simpleUnit => simpleUnit.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class SimpleUnitMetaInfo : ISimpleUnitMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'SimpleUnit' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'SimpleUnit' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'SimpleUnit' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'SimpleUnit' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'SimpleUnit' is mandatory and cannot be null.") }, @@ -210,6 +213,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -240,6 +244,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -281,6 +286,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataAnnotationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataAnnotationMetaInfo.cs index 7b2e626db..d5eade49d 100644 --- a/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataAnnotationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataAnnotationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataDiscussionItemMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataDiscussionItemMetaInfo.cs index 8394146c0..d56c3b161 100644 --- a/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataDiscussionItemMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SiteDirectoryDataDiscussionItemMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SiteDirectoryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SiteDirectoryMetaInfo.cs index be01251b7..6e13a8406 100644 --- a/CDP4Common/AutoGenMetaInfo/SiteDirectoryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SiteDirectoryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SiteDirectoryThingReferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SiteDirectoryThingReferenceMetaInfo.cs index dade6f140..fd2702ff9 100644 --- a/CDP4Common/AutoGenMetaInfo/SiteDirectoryThingReferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SiteDirectoryThingReferenceMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SiteLogEntryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SiteLogEntryMetaInfo.cs index b02fe6794..88125c9db 100644 --- a/CDP4Common/AutoGenMetaInfo/SiteLogEntryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SiteLogEntryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs index 3fe664020..331f77f74 100644 --- a/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class SiteReferenceDataLibraryMetaInfo : ISiteReferenceDataLibrar private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", siteReferenceDataLibrary => siteReferenceDataLibrary.Alias }, + { "Attachment", siteReferenceDataLibrary => siteReferenceDataLibrary.Attachment }, { "Constant", siteReferenceDataLibrary => siteReferenceDataLibrary.Constant }, { "DefinedCategory", siteReferenceDataLibrary => siteReferenceDataLibrary.DefinedCategory }, { "Definition", siteReferenceDataLibrary => siteReferenceDataLibrary.Definition }, @@ -77,6 +79,7 @@ public partial class SiteReferenceDataLibraryMetaInfo : ISiteReferenceDataLibrar private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'SiteReferenceDataLibrary' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'SiteReferenceDataLibrary' is mandatory and cannot be null.") }, { "BaseQuantityKind", new DtoValidationHelper(item => item.BaseQuantityKind != null, "The 'BaseQuantityKind' property of a 'SiteReferenceDataLibrary' is mandatory and cannot be null.") }, { "BaseUnit", new DtoValidationHelper(item => item.BaseUnit != null, "The 'BaseUnit' property of a 'SiteReferenceDataLibrary' is mandatory and cannot be null.") }, { "Constant", new DtoValidationHelper(item => item.Constant != null, "The 'Constant' property of a 'SiteReferenceDataLibrary' is mandatory and cannot be null.") }, @@ -232,6 +235,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Constant", new PropertyMetaInfo("Constant", "Constant", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "DefinedCategory", new PropertyMetaInfo("DefinedCategory", "Category", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, @@ -272,6 +276,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "BaseQuantityKind", thing => thing.BaseQuantityKind }, { "BaseUnit", thing => thing.BaseUnit }, { "ClassKind", thing => thing.ClassKind }, @@ -329,6 +334,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "BaseQuantityKind", (value) => (Guid)value }, { "BaseUnit", (value) => (Guid)value }, { "Constant", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/SolutionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SolutionMetaInfo.cs index 11b1e2ac8..e581abda7 100644 --- a/CDP4Common/AutoGenMetaInfo/SolutionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SolutionMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs index bc3fc542d..437bb8c50 100644 --- a/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class SpecializedQuantityKindMetaInfo : ISpecializedQuantityKindM private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", specializedQuantityKind => specializedQuantityKind.Alias }, + { "Attachment", specializedQuantityKind => specializedQuantityKind.Attachment }, { "Definition", specializedQuantityKind => specializedQuantityKind.Definition }, { "HyperLink", specializedQuantityKind => specializedQuantityKind.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class SpecializedQuantityKindMetaInfo : ISpecializedQuantityKindM private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'SpecializedQuantityKind' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'SpecializedQuantityKind' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'SpecializedQuantityKind' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'SpecializedQuantityKind' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'SpecializedQuantityKind' is mandatory and cannot be null.") }, @@ -213,6 +216,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sp private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -243,6 +247,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "DefaultScale", thing => thing.DefaultScale }, @@ -300,6 +305,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs index abeb97bbd..87940deb7 100644 --- a/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class StakeHolderValueMapMetaInfo : IStakeHolderValueMapMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", stakeHolderValueMap => stakeHolderValueMap.Alias }, + { "Attachment", stakeHolderValueMap => stakeHolderValueMap.Attachment }, { "Definition", stakeHolderValueMap => stakeHolderValueMap.Definition }, { "HyperLink", stakeHolderValueMap => stakeHolderValueMap.HyperLink }, { "Settings", stakeHolderValueMap => stakeHolderValueMap.Settings }, @@ -68,6 +70,7 @@ public partial class StakeHolderValueMapMetaInfo : IStakeHolderValueMapMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'StakeHolderValueMap' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'StakeHolderValueMap' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'StakeHolderValueMap' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'StakeHolderValueMap' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'StakeHolderValueMap' is mandatory and cannot be null.") }, @@ -217,6 +220,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing st private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Settings", new PropertyMetaInfo("Settings", "StakeHolderValueMapSettings", PropertyKind.List, AggregationKind.Composite, false, false, true, 1, "1", true) }, @@ -248,6 +252,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -298,6 +303,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapSettingsMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapSettingsMetaInfo.cs index 383feeda2..514ce5117 100644 --- a/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapSettingsMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapSettingsMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs index 4c7db6b9a..6892e7261 100644 --- a/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class StakeholderMetaInfo : IStakeholderMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", stakeholder => stakeholder.Alias }, + { "Attachment", stakeholder => stakeholder.Attachment }, { "Definition", stakeholder => stakeholder.Definition }, { "HyperLink", stakeholder => stakeholder.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class StakeholderMetaInfo : IStakeholderMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Stakeholder' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Stakeholder' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'Stakeholder' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Stakeholder' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Stakeholder' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing st private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -285,6 +290,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs index 3d64eb639..831f7fa45 100644 --- a/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class StakeholderValueMetaInfo : IStakeholderValueMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", stakeholderValue => stakeholderValue.Alias }, + { "Attachment", stakeholderValue => stakeholderValue.Attachment }, { "Definition", stakeholderValue => stakeholderValue.Definition }, { "HyperLink", stakeholderValue => stakeholderValue.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class StakeholderValueMetaInfo : IStakeholderValueMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'StakeholderValue' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'StakeholderValue' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'StakeholderValue' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'StakeholderValue' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'StakeholderValue' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing st private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -282,6 +287,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/TelephoneNumberMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TelephoneNumberMetaInfo.cs index d4cbb9091..5dc0a2045 100644 --- a/CDP4Common/AutoGenMetaInfo/TelephoneNumberMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TelephoneNumberMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs index c9576a6c9..08ba5f142 100644 --- a/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class TermMetaInfo : ITermMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", term => term.Alias }, + { "Attachment", term => term.Attachment }, { "Definition", term => term.Definition }, { "HyperLink", term => term.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class TermMetaInfo : ITermMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'Term' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'Term' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'Term' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'Term' is mandatory and cannot be null.") }, { "ExcludedPerson", new DtoValidationHelper(item => item.ExcludedPerson != null, "The 'ExcludedPerson' property of a 'Term' is mandatory and cannot be null.") }, @@ -210,6 +213,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing te private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -240,6 +244,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, { "ExcludedDomain", thing => thing.ExcludedDomain }, @@ -281,6 +286,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs index 4f368372c..37b7dc44e 100644 --- a/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class TextParameterTypeMetaInfo : ITextParameterTypeMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", textParameterType => textParameterType.Alias }, + { "Attachment", textParameterType => textParameterType.Attachment }, { "Definition", textParameterType => textParameterType.Definition }, { "HyperLink", textParameterType => textParameterType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class TextParameterTypeMetaInfo : ITextParameterTypeMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'TextParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'TextParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'TextParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'TextParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'TextParameterType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing te private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/TextualNoteMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TextualNoteMetaInfo.cs index 0f56cb3e2..313121ddc 100644 --- a/CDP4Common/AutoGenMetaInfo/TextualNoteMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TextualNoteMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ThingMetaInfo.cs index 9e1906cf2..ecd7edbc5 100644 --- a/CDP4Common/AutoGenMetaInfo/ThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ThingMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ThingReferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ThingReferenceMetaInfo.cs index a0e3f6a0b..e1fdb8302 100644 --- a/CDP4Common/AutoGenMetaInfo/ThingReferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ThingReferenceMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs index 6a8dda978..ad04cbd6c 100644 --- a/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class TimeOfDayParameterTypeMetaInfo : ITimeOfDayParameterTypeMet private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", timeOfDayParameterType => timeOfDayParameterType.Alias }, + { "Attachment", timeOfDayParameterType => timeOfDayParameterType.Attachment }, { "Definition", timeOfDayParameterType => timeOfDayParameterType.Definition }, { "HyperLink", timeOfDayParameterType => timeOfDayParameterType.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class TimeOfDayParameterTypeMetaInfo : ITimeOfDayParameterTypeMet private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'TimeOfDayParameterType' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'TimeOfDayParameterType' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'TimeOfDayParameterType' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'TimeOfDayParameterType' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'TimeOfDayParameterType' is mandatory and cannot be null.") }, @@ -212,6 +215,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ti private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -242,6 +246,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -288,6 +293,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/TopContainerMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TopContainerMetaInfo.cs index fccd8d585..c98eed63b 100644 --- a/CDP4Common/AutoGenMetaInfo/TopContainerMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TopContainerMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/UnitFactorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/UnitFactorMetaInfo.cs index 41008834f..299ab252a 100644 --- a/CDP4Common/AutoGenMetaInfo/UnitFactorMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/UnitFactorMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs index 34aa8b8ea..dfe4013b5 100644 --- a/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class UnitPrefixMetaInfo : IUnitPrefixMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", unitPrefix => unitPrefix.Alias }, + { "Attachment", unitPrefix => unitPrefix.Attachment }, { "Definition", unitPrefix => unitPrefix.Definition }, { "HyperLink", unitPrefix => unitPrefix.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class UnitPrefixMetaInfo : IUnitPrefixMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'UnitPrefix' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'UnitPrefix' is mandatory and cannot be null.") }, { "ConversionFactor", new DtoValidationHelper(item => !string.IsNullOrWhiteSpace(item.ConversionFactor), "The 'ConversionFactor' property of a 'UnitPrefix' is mandatory and cannot be empty or null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'UnitPrefix' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'UnitPrefix' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing un private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "ClassKind", thing => thing.ClassKind }, { "ConversionFactor", thing => thing.ConversionFactor }, { "Definition", thing => thing.Definition }, @@ -284,6 +289,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, { "ExcludedPerson", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/UserPreferenceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/UserPreferenceMetaInfo.cs index e3be1563a..283be900c 100644 --- a/CDP4Common/AutoGenMetaInfo/UserPreferenceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/UserPreferenceMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/UserRuleVerificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/UserRuleVerificationMetaInfo.cs index 2d92ba9ac..f9eb562ff 100644 --- a/CDP4Common/AutoGenMetaInfo/UserRuleVerificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/UserRuleVerificationMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs index 0088ba1b6..531c6b5d2 100644 --- a/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,6 +53,7 @@ public partial class ValueGroupMetaInfo : IValueGroupMetaInfo private readonly Dictionary>> containmentPropertyValueMap = new Dictionary>> { { "Alias", valueGroup => valueGroup.Alias }, + { "Attachment", valueGroup => valueGroup.Attachment }, { "Definition", valueGroup => valueGroup.Definition }, { "HyperLink", valueGroup => valueGroup.HyperLink }, }; @@ -67,6 +69,7 @@ public partial class ValueGroupMetaInfo : IValueGroupMetaInfo private readonly Dictionary> validationRules = new Dictionary> { { "Alias", new DtoValidationHelper(item => item.Alias != null, "The 'Alias' property of a 'ValueGroup' is mandatory and cannot be null.") }, + { "Attachment", new DtoValidationHelper(item => item.Attachment != null, "The 'Attachment' property of a 'ValueGroup' is mandatory and cannot be null.") }, { "Category", new DtoValidationHelper(item => item.Category != null, "The 'Category' property of a 'ValueGroup' is mandatory and cannot be null.") }, { "Definition", new DtoValidationHelper(item => item.Definition != null, "The 'Definition' property of a 'ValueGroup' is mandatory and cannot be null.") }, { "ExcludedDomain", new DtoValidationHelper(item => item.ExcludedDomain != null, "The 'ExcludedDomain' property of a 'ValueGroup' is mandatory and cannot be null.") }, @@ -211,6 +214,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing va private readonly Dictionary containmentTypeMap = new Dictionary { { "Alias", new PropertyMetaInfo("Alias", "Alias", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, + { "Attachment", new PropertyMetaInfo("Attachment", "Attachment", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "Definition", new PropertyMetaInfo("Definition", "Definition", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, { "HyperLink", new PropertyMetaInfo("HyperLink", "HyperLink", PropertyKind.List, AggregationKind.Composite, false, false, true, 0, "*", true) }, }; @@ -241,6 +245,7 @@ public IEnumerable Properties { { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, + { "Attachment", thing => thing.Attachment }, { "Category", thing => thing.Category }, { "ClassKind", thing => thing.ClassKind }, { "Definition", thing => thing.Definition }, @@ -282,6 +287,7 @@ public IEnumerable Properties private readonly Dictionary> collectionPropertyValueDeserializationMap = new Dictionary> { { "Alias", (value) => (Guid)value }, + { "Attachment", (value) => (Guid)value }, { "Category", (value) => (Guid)value }, { "Definition", (value) => (Guid)value }, { "ExcludedDomain", (value) => (Guid)value }, diff --git a/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs b/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs new file mode 100644 index 000000000..8db5729cf --- /dev/null +++ b/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs @@ -0,0 +1,261 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// Represents a complete Architecture Diagram that contains visual elements for ElementDefinitions, ElementUsages, Requirements and Relationships. + /// + [CDPVersion("1.4.0")] + [Container(typeof(Iteration), "DiagramCanvas")] + public partial class ArchitectureDiagram : DiagramCanvas, IOwnedThing + { + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const PersonAccessRightKind DefaultPersonAccess = PersonAccessRightKind.NOT_APPLICABLE; + + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const ParticipantAccessRightKind DefaultParticipantAccess = ParticipantAccessRightKind.NONE; + + /// + /// Initializes a new instance of the class. + /// + public ArchitectureDiagram() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The where the current thing is stored. + /// The is the key used to store this thing. + /// The key is a combination of this thing's identifier and the identifier of its container if applicable or null. + /// + /// + /// The of this thing + /// + public ArchitectureDiagram(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) + { + } + + /// + /// Gets or sets the Owner. + /// + /// + /// reference to a DomainOfExpertise that is the owner of this OwnedThing + /// Note: Ownership in this data model implies the responsibility for the presence and content of this OwnedThing. The owner is always a DomainOfExpertise. The Participant or Participants representing an owner DomainOfExpertise are thus responsible for (i.e. take ownership of) a coherent set of concerns in a concurrent engineering activity. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public DomainOfExpertise Owner { get; set; } + + /// + /// Gets or sets the TopArchitectureElement. + /// + /// + /// The top ArchitectureElement that serves as the top Element of the architecture. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public ArchitectureElement TopArchitectureElement { 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; + } + + if (this.Owner != null) + { + yield return this.Owner; + } + + if (this.TopArchitectureElement != null) + { + yield return this.TopArchitectureElement; + } + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + protected override Thing GenericClone(bool cloneContainedThings) + { + var clone = (ArchitectureDiagram)this.MemberwiseClone(); + clone.Bounds = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Bounds, clone); + clone.DiagramElement = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.DiagramElement, clone); + clone.ExcludedDomain = new List(this.ExcludedDomain); + clone.ExcludedPerson = new List(this.ExcludedPerson); + + if (cloneContainedThings) + { + clone.Bounds.AddRange(this.Bounds.Select(x => x.Clone(true))); + clone.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Clone(true))); + } + + clone.Original = this; + clone.ResetCacheId(); + return clone; + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + public new ArchitectureDiagram Clone(bool cloneContainedThings) + { + this.ChangeKind = ChangeKind.Update; + return (ArchitectureDiagram)this.GenericClone(cloneContainedThings); + } + + /// + /// Validates the cardinalities of the properties of this . + /// + /// + /// A list of potential errors. + /// + protected override IEnumerable ValidatePocoCardinality() + { + var errorList = new List(base.ValidatePocoCardinality()); + + if (this.Owner == null || this.Owner.Iid == Guid.Empty) + { + errorList.Add("The property Owner is null."); + this.Owner = SentinelThingProvider.GetSentinel(); + this.sentinelResetMap["Owner"] = () => this.Owner = null; + } + + return errorList; + } + + /// + /// Resolve the properties of the current from its counter-part + /// + /// The source + internal override void ResolveProperties(DTO.Thing dtoThing) + { + if (dtoThing == null) + { + throw new ArgumentNullException("dtoThing"); + } + + var dto = dtoThing as DTO.ArchitectureDiagram; + if (dto == null) + { + throw new InvalidOperationException($"The DTO type {dtoThing.GetType()} does not match the type of the current ArchitectureDiagram POCO."); + } + + this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; + this.Bounds.ResolveList(dto.Bounds, dto.IterationContainerId, this.Cache); + this.CreatedOn = dto.CreatedOn; + this.Description = dto.Description; + this.DiagramElement.ResolveList(dto.DiagramElement, dto.IterationContainerId, this.Cache); + this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); + this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.ModifiedOn = dto.ModifiedOn; + this.Name = dto.Name; + this.Owner = this.Cache.Get(dto.Owner, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); + this.PublicationState = dto.PublicationState; + this.RevisionNumber = dto.RevisionNumber; + this.ThingPreference = dto.ThingPreference; + this.TopArchitectureElement = (dto.TopArchitectureElement.HasValue) ? this.Cache.Get(dto.TopArchitectureElement.Value, dto.IterationContainerId) : null; + + this.ResolveExtraProperties(); + } + + /// + /// Generates a from the current + /// + public override DTO.Thing ToDto() + { + var dto = new DTO.ArchitectureDiagram(this.Iid, this.RevisionNumber); + + dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; + dto.Bounds.AddRange(this.Bounds.Select(x => x.Iid)); + dto.CreatedOn = this.CreatedOn; + dto.Description = this.Description; + dto.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Iid)); + dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); + dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.ModifiedOn = this.ModifiedOn; + dto.Name = this.Name; + dto.Owner = this.Owner != null ? this.Owner.Iid : Guid.Empty; + dto.PublicationState = this.PublicationState; + dto.RevisionNumber = this.RevisionNumber; + dto.ThingPreference = this.ThingPreference; + dto.TopArchitectureElement = this.TopArchitectureElement != null ? (Guid?)this.TopArchitectureElement.Iid : null; + + dto.IterationContainerId = this.CacheKey.Iteration; + dto.RegisterSourceThing(this); + this.BuildDtoPartialRoutes(dto); + return dto; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/ArchitectureElement.cs b/CDP4Common/AutoGenPoco/ArchitectureElement.cs new file mode 100644 index 000000000..2ddd01cc6 --- /dev/null +++ b/CDP4Common/AutoGenPoco/ArchitectureElement.cs @@ -0,0 +1,209 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// ArchitectureElement is a graphical representation of an ElementDefinition, or ElementUsage in the context of an ArchitecturalDiagram. + /// + [CDPVersion("1.4.0")] + [Container(typeof(DiagramElementContainer), "DiagramElement")] + public partial class ArchitectureElement : DiagramObject + { + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const PersonAccessRightKind DefaultPersonAccess = PersonAccessRightKind.NOT_APPLICABLE; + + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const ParticipantAccessRightKind DefaultParticipantAccess = ParticipantAccessRightKind.SAME_AS_SUPERCLASS; + + /// + /// Initializes a new instance of the class. + /// + public ArchitectureElement() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The where the current thing is stored. + /// The is the key used to store this thing. + /// The key is a combination of this thing's identifier and the identifier of its container if applicable or null. + /// + /// + /// The of this thing + /// + public ArchitectureElement(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) + { + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + protected override Thing GenericClone(bool cloneContainedThings) + { + var clone = (ArchitectureElement)this.MemberwiseClone(); + clone.Bounds = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Bounds, clone); + clone.DiagramElement = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.DiagramElement, clone); + clone.ExcludedDomain = new List(this.ExcludedDomain); + clone.ExcludedPerson = new List(this.ExcludedPerson); + clone.LocalStyle = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.LocalStyle, clone); + + if (cloneContainedThings) + { + clone.Bounds.AddRange(this.Bounds.Select(x => x.Clone(true))); + clone.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Clone(true))); + clone.LocalStyle.AddRange(this.LocalStyle.Select(x => x.Clone(true))); + } + + clone.Original = this; + clone.ResetCacheId(); + return clone; + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + public new ArchitectureElement Clone(bool cloneContainedThings) + { + this.ChangeKind = ChangeKind.Update; + return (ArchitectureElement)this.GenericClone(cloneContainedThings); + } + + /// + /// Validates the cardinalities of the properties of this . + /// + /// + /// A list of potential errors. + /// + protected override IEnumerable ValidatePocoCardinality() + { + var errorList = new List(base.ValidatePocoCardinality()); + + return errorList; + } + + /// + /// Resolve the properties of the current from its counter-part + /// + /// The source + internal override void ResolveProperties(DTO.Thing dtoThing) + { + if (dtoThing == null) + { + throw new ArgumentNullException("dtoThing"); + } + + var dto = dtoThing as DTO.ArchitectureElement; + if (dto == null) + { + throw new InvalidOperationException($"The DTO type {dtoThing.GetType()} does not match the type of the current ArchitectureElement POCO."); + } + + this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; + this.Bounds.ResolveList(dto.Bounds, dto.IterationContainerId, this.Cache); + this.DepictedThing = (dto.DepictedThing.HasValue) ? this.Cache.Get(dto.DepictedThing.Value, dto.IterationContainerId) : null; + this.DiagramElement.ResolveList(dto.DiagramElement, dto.IterationContainerId, this.Cache); + this.Documentation = dto.Documentation; + this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); + this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.LocalStyle.ResolveList(dto.LocalStyle, dto.IterationContainerId, this.Cache); + this.ModifiedOn = dto.ModifiedOn; + this.Name = dto.Name; + this.Resolution = dto.Resolution; + this.RevisionNumber = dto.RevisionNumber; + this.SharedStyle = (dto.SharedStyle.HasValue) ? this.Cache.Get(dto.SharedStyle.Value, dto.IterationContainerId) : null; + this.ThingPreference = dto.ThingPreference; + + this.ResolveExtraProperties(); + } + + /// + /// Generates a from the current + /// + public override DTO.Thing ToDto() + { + var dto = new DTO.ArchitectureElement(this.Iid, this.RevisionNumber); + + dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; + dto.Bounds.AddRange(this.Bounds.Select(x => x.Iid)); + dto.DepictedThing = this.DepictedThing != null ? (Guid?)this.DepictedThing.Iid : null; + dto.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Iid)); + dto.Documentation = this.Documentation; + dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); + dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.LocalStyle.AddRange(this.LocalStyle.Select(x => x.Iid)); + dto.ModifiedOn = this.ModifiedOn; + dto.Name = this.Name; + dto.Resolution = this.Resolution; + dto.RevisionNumber = this.RevisionNumber; + dto.SharedStyle = this.SharedStyle != null ? (Guid?)this.SharedStyle.Iid : null; + dto.ThingPreference = this.ThingPreference; + + dto.IterationContainerId = this.CacheKey.Iteration; + dto.RegisterSourceThing(this); + this.BuildDtoPartialRoutes(dto); + return dto; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/ArrayParameterType.cs b/CDP4Common/AutoGenPoco/ArrayParameterType.cs index 7baea7a6e..3adb3f33e 100644 --- a/CDP4Common/AutoGenPoco/ArrayParameterType.cs +++ b/CDP4Common/AutoGenPoco/ArrayParameterType.cs @@ -159,6 +159,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ArrayParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Component = cloneContainedThings ? null : new OrderedItemList(this.Component, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); @@ -170,6 +171,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Component = this.Component.Clone(clone); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); @@ -225,6 +227,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Component.ResolveList(dto.Component, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -254,6 +257,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Component.AddRange(this.Component.ToDtoOrderedItemList()); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Attachment.cs b/CDP4Common/AutoGenPoco/Attachment.cs new file mode 100644 index 000000000..d0b0971e1 --- /dev/null +++ b/CDP4Common/AutoGenPoco/Attachment.cs @@ -0,0 +1,263 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// An Attachment is used to link a file that is stored on a server to another class. + /// + [CDPVersion("1.4.0")] + [Container(typeof(DefinedThing), "Attachment")] + public partial class Attachment : Thing + { + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const PersonAccessRightKind DefaultPersonAccess = PersonAccessRightKind.SAME_AS_CONTAINER; + + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const ParticipantAccessRightKind DefaultParticipantAccess = ParticipantAccessRightKind.SAME_AS_CONTAINER; + + /// + /// Initializes a new instance of the class. + /// + public Attachment() + { + this.FileType = new List(); + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The where the current thing is stored. + /// The is the key used to store this thing. + /// The key is a combination of this thing's identifier and the identifier of its container if applicable or null. + /// + /// + /// The of this thing + /// + public Attachment(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) + { + this.FileType = new List(); + } + + /// + /// Gets or sets the ContentHash. + /// + /// + /// SHA-1 hash code of the content (byte stream) of this Attachment as described in http://en.wikipedia.org/wiki/SHA-1. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public string ContentHash { get; set; } + + /// + /// Gets or sets the FileName. + /// + /// + /// The Attachment's file name. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public string FileName { get; set; } + + /// + /// Gets or sets a list of FileType. + /// + /// + /// Reference to one or more FileTypes that define the type and format of this FileRevision. + /// Note: An attachment can have more than one FileType in order to support possible encryption and compression formats. The order in which the FileTypes are defined is the same as the order the formats were applied from the inside, i.e. the first FileType is the normal format of the content, e.g. text or Microsoft Excel, and the subsequent formats are the encryption and/or compression formats, e.g. public-key cryptography standard http://en.wikipedia.org/wiki/PKCS and zip. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public List FileType { 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.FileType) + { + yield return thing; + } + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + protected override Thing GenericClone(bool cloneContainedThings) + { + var clone = (Attachment)this.MemberwiseClone(); + clone.ExcludedDomain = new List(this.ExcludedDomain); + clone.ExcludedPerson = new List(this.ExcludedPerson); + clone.FileType = new List(this.FileType); + + if (cloneContainedThings) + { + } + + clone.Original = this; + clone.ResetCacheId(); + return clone; + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + public new Attachment Clone(bool cloneContainedThings) + { + this.ChangeKind = ChangeKind.Update; + return (Attachment)this.GenericClone(cloneContainedThings); + } + + /// + /// Validates the cardinalities of the properties of this . + /// + /// + /// A list of potential errors. + /// + protected override IEnumerable ValidatePocoCardinality() + { + var errorList = new List(base.ValidatePocoCardinality()); + + if (string.IsNullOrWhiteSpace(this.ContentHash)) + { + errorList.Add("The property ContentHash is null or empty."); + } + + if (string.IsNullOrWhiteSpace(this.FileName)) + { + errorList.Add("The property FileName is null or empty."); + } + + var fileTypeCount = this.FileType.Count(); + if (fileTypeCount < 1) + { + errorList.Add("The number of elements in the property FileType is wrong. It should be at least 1."); + } + + return errorList; + } + + /// + /// Resolve the properties of the current from its counter-part + /// + /// The source + internal override void ResolveProperties(DTO.Thing dtoThing) + { + if (dtoThing == null) + { + throw new ArgumentNullException("dtoThing"); + } + + var dto = dtoThing as DTO.Attachment; + if (dto == null) + { + throw new InvalidOperationException($"The DTO type {dtoThing.GetType()} does not match the type of the current Attachment POCO."); + } + + this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; + this.ContentHash = dto.ContentHash; + this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); + this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.FileName = dto.FileName; + this.FileType.ResolveList(dto.FileType, dto.IterationContainerId, this.Cache); + this.ModifiedOn = dto.ModifiedOn; + this.RevisionNumber = dto.RevisionNumber; + this.ThingPreference = dto.ThingPreference; + + this.ResolveExtraProperties(); + } + + /// + /// Generates a from the current + /// + public override DTO.Thing ToDto() + { + var dto = new DTO.Attachment(this.Iid, this.RevisionNumber); + + dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; + dto.ContentHash = this.ContentHash; + dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); + dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.FileName = this.FileName; + dto.FileType.AddRange(this.FileType.Select(x => x.Iid)); + dto.ModifiedOn = this.ModifiedOn; + dto.RevisionNumber = this.RevisionNumber; + dto.ThingPreference = this.ThingPreference; + + dto.IterationContainerId = this.CacheKey.Iteration; + dto.RegisterSourceThing(this); + this.BuildDtoPartialRoutes(dto); + return dto; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/Behavior.cs b/CDP4Common/AutoGenPoco/Behavior.cs new file mode 100644 index 000000000..6020aa7c5 --- /dev/null +++ b/CDP4Common/AutoGenPoco/Behavior.cs @@ -0,0 +1,257 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A Behavior is a textual {script} description or a binary file link containing an external function that takes inputs and produces outputs. + /// + [CDPVersion("1.4.0")] + [Container(typeof(ElementDefinition), "Behavior")] + public partial class Behavior : DefinedThing + { + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const PersonAccessRightKind DefaultPersonAccess = PersonAccessRightKind.NOT_APPLICABLE; + + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const ParticipantAccessRightKind DefaultParticipantAccess = ParticipantAccessRightKind.SAME_AS_CONTAINER; + + /// + /// Initializes a new instance of the class. + /// + public Behavior() + { + this.BehavioralParameter = new ContainerList(this); + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The where the current thing is stored. + /// The is the key used to store this thing. + /// The key is a combination of this thing's identifier and the identifier of its container if applicable or null. + /// + /// + /// The of this thing + /// + public Behavior(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) + { + this.BehavioralParameter = new ContainerList(this); + } + + /// + /// Gets or sets the BehavioralModelKind. + /// + /// + /// The kind of behavioral model being represented by script or File. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public BehavioralModelKind BehavioralModelKind { get; set; } + + /// + /// Gets or sets a list of contained BehavioralParameter. + /// + /// + /// A collection of BehavioralParameters. + /// + [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public ContainerList BehavioralParameter { get; protected set; } + + /// + /// Gets or sets the Script. + /// + /// + /// The string representation of the script defining the behavior. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public string Script { get; set; } + + /// + /// Gets an that references the composite properties of the current . + /// + public override IEnumerable ContainerLists + { + get + { + var containers = new List(base.ContainerLists); + containers.Add(this.BehavioralParameter); + return containers; + } + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + protected override Thing GenericClone(bool cloneContainedThings) + { + var clone = (Behavior)this.MemberwiseClone(); + clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); + clone.BehavioralParameter = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.BehavioralParameter, clone); + clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); + clone.ExcludedDomain = new List(this.ExcludedDomain); + clone.ExcludedPerson = new List(this.ExcludedPerson); + clone.HyperLink = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.HyperLink, clone); + + if (cloneContainedThings) + { + clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); + clone.BehavioralParameter.AddRange(this.BehavioralParameter.Select(x => x.Clone(true))); + clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); + clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); + } + + clone.Original = this; + clone.ResetCacheId(); + return clone; + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + public new Behavior Clone(bool cloneContainedThings) + { + this.ChangeKind = ChangeKind.Update; + return (Behavior)this.GenericClone(cloneContainedThings); + } + + /// + /// Validates the cardinalities of the properties of this . + /// + /// + /// A list of potential errors. + /// + protected override IEnumerable ValidatePocoCardinality() + { + var errorList = new List(base.ValidatePocoCardinality()); + + return errorList; + } + + /// + /// Resolve the properties of the current from its counter-part + /// + /// The source + internal override void ResolveProperties(DTO.Thing dtoThing) + { + if (dtoThing == null) + { + throw new ArgumentNullException("dtoThing"); + } + + var dto = dtoThing as DTO.Behavior; + if (dto == null) + { + throw new InvalidOperationException($"The DTO type {dtoThing.GetType()} does not match the type of the current Behavior POCO."); + } + + this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; + this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); + this.BehavioralModelKind = dto.BehavioralModelKind; + this.BehavioralParameter.ResolveList(dto.BehavioralParameter, dto.IterationContainerId, this.Cache); + this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); + this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); + this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.HyperLink.ResolveList(dto.HyperLink, dto.IterationContainerId, this.Cache); + this.ModifiedOn = dto.ModifiedOn; + this.Name = dto.Name; + this.RevisionNumber = dto.RevisionNumber; + this.Script = dto.Script; + this.ShortName = dto.ShortName; + this.ThingPreference = dto.ThingPreference; + + this.ResolveExtraProperties(); + } + + /// + /// Generates a from the current + /// + public override DTO.Thing ToDto() + { + var dto = new DTO.Behavior(this.Iid, this.RevisionNumber); + + dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; + dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); + dto.BehavioralModelKind = this.BehavioralModelKind; + dto.BehavioralParameter.AddRange(this.BehavioralParameter.Select(x => x.Iid)); + dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); + dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); + dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.HyperLink.AddRange(this.HyperLink.Select(x => x.Iid)); + dto.ModifiedOn = this.ModifiedOn; + dto.Name = this.Name; + dto.RevisionNumber = this.RevisionNumber; + dto.Script = this.Script; + dto.ShortName = this.ShortName; + dto.ThingPreference = this.ThingPreference; + + dto.IterationContainerId = this.CacheKey.Iteration; + dto.RegisterSourceThing(this); + this.BuildDtoPartialRoutes(dto); + return dto; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/BehavioralModelKind.cs b/CDP4Common/AutoGenPoco/BehavioralModelKind.cs new file mode 100644 index 000000000..1379802c0 --- /dev/null +++ b/CDP4Common/AutoGenPoco/BehavioralModelKind.cs @@ -0,0 +1,66 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + /// + /// + /// + public enum BehavioralModelKind + { + /// + /// Specifies that a Behavior contains C# code. + /// + CSharp, + + /// + /// Specifies that a Behavior contains Python code. + /// + Python, + + /// + /// Specifies that a Behavior contains Lua code. + /// + Lua, + + /// + /// Specifies that a Behavior is a file contained in the DomainFileStore. + /// + File, + + /// + /// Specifies that the Behavior is defined in some other textual and non-executable format. + /// + Other, + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/BehavioralParameter.cs b/CDP4Common/AutoGenPoco/BehavioralParameter.cs new file mode 100644 index 000000000..a997371ae --- /dev/null +++ b/CDP4Common/AutoGenPoco/BehavioralParameter.cs @@ -0,0 +1,255 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// A description of a link between a Parameter or ParameterOverride and a input or an output of a Behavior. + /// + [CDPVersion("1.4.0")] + [Container(typeof(Behavior), "BehavioralParameter")] + public partial class BehavioralParameter : Thing + { + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const PersonAccessRightKind DefaultPersonAccess = PersonAccessRightKind.NOT_APPLICABLE; + + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const ParticipantAccessRightKind DefaultParticipantAccess = ParticipantAccessRightKind.SAME_AS_CONTAINER; + + /// + /// Initializes a new instance of the class. + /// + public BehavioralParameter() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The where the current thing is stored. + /// The is the key used to store this thing. + /// The key is a combination of this thing's identifier and the identifier of its container if applicable or null. + /// + /// + /// The of this thing + /// + public BehavioralParameter(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) + { + } + + /// + /// Gets or sets the BehavioralParameterKind. + /// + /// + /// The type of BehavioralParameter. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public BehavioralParameterKind BehavioralParameterKind { get; set; } + + /// + /// Gets or sets the Parameter. + /// + /// + /// A ParameterOrOverrideBase that this BehavioralParameter maps to. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public Parameter Parameter { get; set; } + + /// + /// Gets or sets the VariableName. + /// + /// + /// The name of the variable used in the Behavior script or file. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public string VariableName { 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; + } + + if (this.Parameter != null) + { + yield return this.Parameter; + } + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + protected override Thing GenericClone(bool cloneContainedThings) + { + var clone = (BehavioralParameter)this.MemberwiseClone(); + clone.ExcludedDomain = new List(this.ExcludedDomain); + clone.ExcludedPerson = new List(this.ExcludedPerson); + + if (cloneContainedThings) + { + } + + clone.Original = this; + clone.ResetCacheId(); + return clone; + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + public new BehavioralParameter Clone(bool cloneContainedThings) + { + this.ChangeKind = ChangeKind.Update; + return (BehavioralParameter)this.GenericClone(cloneContainedThings); + } + + /// + /// Validates the cardinalities of the properties of this . + /// + /// + /// A list of potential errors. + /// + protected override IEnumerable ValidatePocoCardinality() + { + var errorList = new List(base.ValidatePocoCardinality()); + + if (this.Parameter == null || this.Parameter.Iid == Guid.Empty) + { + errorList.Add("The property Parameter is null."); + this.Parameter = SentinelThingProvider.GetSentinel(); + this.sentinelResetMap["Parameter"] = () => this.Parameter = null; + } + + if (string.IsNullOrWhiteSpace(this.VariableName)) + { + errorList.Add("The property VariableName is null or empty."); + } + + return errorList; + } + + /// + /// Resolve the properties of the current from its counter-part + /// + /// The source + internal override void ResolveProperties(DTO.Thing dtoThing) + { + if (dtoThing == null) + { + throw new ArgumentNullException("dtoThing"); + } + + var dto = dtoThing as DTO.BehavioralParameter; + if (dto == null) + { + throw new InvalidOperationException($"The DTO type {dtoThing.GetType()} does not match the type of the current BehavioralParameter POCO."); + } + + this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; + this.BehavioralParameterKind = dto.BehavioralParameterKind; + this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); + this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.ModifiedOn = dto.ModifiedOn; + this.Parameter = this.Cache.Get(dto.Parameter, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); + this.RevisionNumber = dto.RevisionNumber; + this.ThingPreference = dto.ThingPreference; + this.VariableName = dto.VariableName; + + this.ResolveExtraProperties(); + } + + /// + /// Generates a from the current + /// + public override DTO.Thing ToDto() + { + var dto = new DTO.BehavioralParameter(this.Iid, this.RevisionNumber); + + dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; + dto.BehavioralParameterKind = this.BehavioralParameterKind; + dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); + dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.ModifiedOn = this.ModifiedOn; + dto.Parameter = this.Parameter != null ? this.Parameter.Iid : Guid.Empty; + dto.RevisionNumber = this.RevisionNumber; + dto.ThingPreference = this.ThingPreference; + dto.VariableName = this.VariableName; + + dto.IterationContainerId = this.CacheKey.Iteration; + dto.RegisterSourceThing(this); + this.BuildDtoPartialRoutes(dto); + return dto; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/BehavioralParameterKind.cs b/CDP4Common/AutoGenPoco/BehavioralParameterKind.cs new file mode 100644 index 000000000..4cb4eb900 --- /dev/null +++ b/CDP4Common/AutoGenPoco/BehavioralParameterKind.cs @@ -0,0 +1,51 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + /// + /// Specifies the type of BehavioralParameter. + /// + public enum BehavioralParameterKind + { + /// + /// Specifies that the BehavioralParameter is to be used as an Input. + /// + Input, + + /// + /// Specifies that the BehavioralParameter is to be used as an Output. + /// + Output, + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs b/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs index 00133c2b7..29f0b958d 100644 --- a/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs +++ b/CDP4Common/AutoGenPoco/BinaryRelationshipRule.cs @@ -177,6 +177,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (BinaryRelationshipRule)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -185,6 +186,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -270,6 +272,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -298,6 +301,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/BooleanParameterType.cs b/CDP4Common/AutoGenPoco/BooleanParameterType.cs index 2fb794305..aff082c18 100644 --- a/CDP4Common/AutoGenPoco/BooleanParameterType.cs +++ b/CDP4Common/AutoGenPoco/BooleanParameterType.cs @@ -96,6 +96,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (BooleanParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -105,6 +106,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -159,6 +161,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -184,6 +187,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Category.cs b/CDP4Common/AutoGenPoco/Category.cs index 7441fbef1..90cd5ac30 100644 --- a/CDP4Common/AutoGenPoco/Category.cs +++ b/CDP4Common/AutoGenPoco/Category.cs @@ -174,6 +174,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Category)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -184,6 +185,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -244,6 +246,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -270,6 +273,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ClassKind.cs b/CDP4Common/AutoGenPoco/ClassKind.cs index c1ba1627e..7a17ef866 100644 --- a/CDP4Common/AutoGenPoco/ClassKind.cs +++ b/CDP4Common/AutoGenPoco/ClassKind.cs @@ -67,11 +67,36 @@ public enum ClassKind /// Approval, + /// + /// Assertion that the Class is an instance of ArchitectureDiagram + /// + ArchitectureDiagram, + + /// + /// Assertion that the Class is an instance of ArchitectureElement + /// + ArchitectureElement, + /// /// Assertion that the Class is an instance of ArrayParameterType /// ArrayParameterType, + /// + /// Assertion that the Class is an instance of Attachment + /// + Attachment, + + /// + /// Assertion that the Class is an instance of Behavior + /// + Behavior, + + /// + /// Assertion that the Class is an instance of BehavioralParameter + /// + BehavioralParameter, + /// /// Assertion that the Class is an instance of BinaryNote /// @@ -232,6 +257,11 @@ public enum ClassKind /// DiagramElementThing, + /// + /// Assertion that the Class is an instance of DiagramFrame + /// + DiagramFrame, + /// /// Assertion that the Class is an instance of DiagrammingStyle /// @@ -242,6 +272,11 @@ public enum ClassKind /// DiagramObject, + /// + /// Assertion that the Class is an instance of DiagramPort + /// + DiagramPort, + /// /// Assertion that the Class is an instance of DiagramShape /// diff --git a/CDP4Common/AutoGenPoco/CompoundParameterType.cs b/CDP4Common/AutoGenPoco/CompoundParameterType.cs index fbb45a59a..98ef84b4a 100644 --- a/CDP4Common/AutoGenPoco/CompoundParameterType.cs +++ b/CDP4Common/AutoGenPoco/CompoundParameterType.cs @@ -133,6 +133,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (CompoundParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Component = cloneContainedThings ? null : new OrderedItemList(this.Component, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); @@ -143,6 +144,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Component = this.Component.Clone(clone); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); @@ -204,6 +206,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Component.ResolveList(dto.Component, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -231,6 +234,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Component.AddRange(this.Component.ToDtoOrderedItemList()); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Constant.cs b/CDP4Common/AutoGenPoco/Constant.cs index 72aa0ea8a..984631ad8 100644 --- a/CDP4Common/AutoGenPoco/Constant.cs +++ b/CDP4Common/AutoGenPoco/Constant.cs @@ -178,6 +178,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Constant)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -188,6 +189,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -255,6 +257,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -282,6 +285,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/CyclicRatioScale.cs b/CDP4Common/AutoGenPoco/CyclicRatioScale.cs index cb80d747b..9007edac3 100644 --- a/CDP4Common/AutoGenPoco/CyclicRatioScale.cs +++ b/CDP4Common/AutoGenPoco/CyclicRatioScale.cs @@ -108,6 +108,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (CyclicRatioScale)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -118,6 +119,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.MappingToReferenceScale.AddRange(this.MappingToReferenceScale.Select(x => x.Clone(true))); @@ -179,6 +181,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -213,6 +216,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/DateParameterType.cs b/CDP4Common/AutoGenPoco/DateParameterType.cs index 627595cb1..4736b641e 100644 --- a/CDP4Common/AutoGenPoco/DateParameterType.cs +++ b/CDP4Common/AutoGenPoco/DateParameterType.cs @@ -96,6 +96,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (DateParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -105,6 +106,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -159,6 +161,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -184,6 +187,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/DateTimeParameterType.cs b/CDP4Common/AutoGenPoco/DateTimeParameterType.cs index d09c5f860..ea45b541f 100644 --- a/CDP4Common/AutoGenPoco/DateTimeParameterType.cs +++ b/CDP4Common/AutoGenPoco/DateTimeParameterType.cs @@ -96,6 +96,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (DateTimeParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -105,6 +106,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -159,6 +161,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -184,6 +187,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/DecompositionRule.cs b/CDP4Common/AutoGenPoco/DecompositionRule.cs index 5f99bd5ca..bd1d793fb 100644 --- a/CDP4Common/AutoGenPoco/DecompositionRule.cs +++ b/CDP4Common/AutoGenPoco/DecompositionRule.cs @@ -166,6 +166,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (DecompositionRule)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.ContainedCategory = new List(this.ContainedCategory); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -175,6 +176,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -242,6 +244,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.ContainedCategory.ResolveList(dto.ContainedCategory, dto.IterationContainerId, this.Cache); this.ContainingCategory = this.Cache.Get(dto.ContainingCategory, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -269,6 +272,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.ContainedCategory.AddRange(this.ContainedCategory.Select(x => x.Iid)); dto.ContainingCategory = this.ContainingCategory != null ? this.ContainingCategory.Iid : Guid.Empty; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/DefinedThing.cs b/CDP4Common/AutoGenPoco/DefinedThing.cs index 40035ce19..f98993366 100644 --- a/CDP4Common/AutoGenPoco/DefinedThing.cs +++ b/CDP4Common/AutoGenPoco/DefinedThing.cs @@ -64,6 +64,7 @@ public abstract partial class DefinedThing : Thing, INamedThing, IShortNamedThin protected DefinedThing() { this.Alias = new ContainerList(this); + this.Attachment = new ContainerList(this); this.Definition = new ContainerList(this); this.HyperLink = new ContainerList(this); } @@ -85,6 +86,7 @@ protected DefinedThing() protected DefinedThing(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) { this.Alias = new ContainerList(this); + this.Attachment = new ContainerList(this); this.Definition = new ContainerList(this); this.HyperLink = new ContainerList(this); } @@ -99,6 +101,15 @@ protected DefinedThing(Guid iid, ConcurrentDictionary Alias { get; protected set; } + /// + /// Gets or sets a list of contained Attachment. + /// + /// + /// Reference to one or more Attachments that are linked to this DefinedThing + /// + [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public virtual ContainerList Attachment { get; protected set; } + /// /// Gets or sets a list of contained Definition. /// @@ -149,6 +160,7 @@ public override IEnumerable ContainerLists { var containers = new List(base.ContainerLists); containers.Add(this.Alias); + containers.Add(this.Attachment); containers.Add(this.Definition); containers.Add(this.HyperLink); return containers; diff --git a/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs b/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs index a7037f50b..a96155163 100644 --- a/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs +++ b/CDP4Common/AutoGenPoco/DerivedQuantityKind.cs @@ -122,6 +122,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (DerivedQuantityKind)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -133,6 +134,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.QuantityKindFactor = this.QuantityKindFactor.Clone(clone); @@ -194,6 +196,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.DefaultScale = this.Cache.Get(dto.DefaultScale, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -223,6 +226,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.DefaultScale = this.DefaultScale != null ? this.DefaultScale.Iid : Guid.Empty; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/DerivedUnit.cs b/CDP4Common/AutoGenPoco/DerivedUnit.cs index 35db64c60..41d5cd6eb 100644 --- a/CDP4Common/AutoGenPoco/DerivedUnit.cs +++ b/CDP4Common/AutoGenPoco/DerivedUnit.cs @@ -127,6 +127,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (DerivedUnit)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -136,6 +137,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.UnitFactor = this.UnitFactor.Clone(clone); @@ -197,6 +199,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -221,6 +224,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/DiagramCanvas.cs b/CDP4Common/AutoGenPoco/DiagramCanvas.cs index 48e4e5fe9..6fe4ea316 100644 --- a/CDP4Common/AutoGenPoco/DiagramCanvas.cs +++ b/CDP4Common/AutoGenPoco/DiagramCanvas.cs @@ -93,7 +93,24 @@ public DiagramCanvas(Guid iid, ConcurrentDictionary [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] - public DateTime CreatedOn { get; set; } + public virtual DateTime CreatedOn { get; set; } + + /// + /// Gets or sets the Description. + /// + /// + /// Textual description of a DiagramCanvas. + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public virtual string Description { get; set; } + + /// + /// Gets or sets the PublicationState. + /// + /// + /// + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public virtual PublicationState PublicationState { get; set; } /// /// Creates and returns a copy of this for edit purpose. @@ -144,6 +161,11 @@ protected override IEnumerable ValidatePocoCardinality() { var errorList = new List(base.ValidatePocoCardinality()); + if (string.IsNullOrWhiteSpace(this.Description)) + { + errorList.Add("The property Description is null or empty."); + } + return errorList; } @@ -167,11 +189,13 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Bounds.ResolveList(dto.Bounds, dto.IterationContainerId, this.Cache); this.CreatedOn = dto.CreatedOn; + this.Description = dto.Description; this.DiagramElement.ResolveList(dto.DiagramElement, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); this.ModifiedOn = dto.ModifiedOn; this.Name = dto.Name; + this.PublicationState = dto.PublicationState; this.RevisionNumber = dto.RevisionNumber; this.ThingPreference = dto.ThingPreference; @@ -188,11 +212,13 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Bounds.AddRange(this.Bounds.Select(x => x.Iid)); dto.CreatedOn = this.CreatedOn; + dto.Description = this.Description; dto.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); dto.ModifiedOn = this.ModifiedOn; dto.Name = this.Name; + dto.PublicationState = this.PublicationState; dto.RevisionNumber = this.RevisionNumber; dto.ThingPreference = this.ThingPreference; diff --git a/CDP4Common/AutoGenPoco/DiagramFrame.cs b/CDP4Common/AutoGenPoco/DiagramFrame.cs new file mode 100644 index 000000000..d25045d19 --- /dev/null +++ b/CDP4Common/AutoGenPoco/DiagramFrame.cs @@ -0,0 +1,205 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// Represents a drawing frame that can be used to visually group a number of other diagram shapes. + /// + [CDPVersion("1.4.0")] + [Container(typeof(DiagramElementContainer), "DiagramElement")] + public partial class DiagramFrame : DiagramShape + { + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const PersonAccessRightKind DefaultPersonAccess = PersonAccessRightKind.NOT_APPLICABLE; + + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const ParticipantAccessRightKind DefaultParticipantAccess = ParticipantAccessRightKind.SAME_AS_SUPERCLASS; + + /// + /// Initializes a new instance of the class. + /// + public DiagramFrame() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The where the current thing is stored. + /// The is the key used to store this thing. + /// The key is a combination of this thing's identifier and the identifier of its container if applicable or null. + /// + /// + /// The of this thing + /// + public DiagramFrame(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) + { + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + protected override Thing GenericClone(bool cloneContainedThings) + { + var clone = (DiagramFrame)this.MemberwiseClone(); + clone.Bounds = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Bounds, clone); + clone.DiagramElement = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.DiagramElement, clone); + clone.ExcludedDomain = new List(this.ExcludedDomain); + clone.ExcludedPerson = new List(this.ExcludedPerson); + clone.LocalStyle = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.LocalStyle, clone); + + if (cloneContainedThings) + { + clone.Bounds.AddRange(this.Bounds.Select(x => x.Clone(true))); + clone.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Clone(true))); + clone.LocalStyle.AddRange(this.LocalStyle.Select(x => x.Clone(true))); + } + + clone.Original = this; + clone.ResetCacheId(); + return clone; + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + public new DiagramFrame Clone(bool cloneContainedThings) + { + this.ChangeKind = ChangeKind.Update; + return (DiagramFrame)this.GenericClone(cloneContainedThings); + } + + /// + /// Validates the cardinalities of the properties of this . + /// + /// + /// A list of potential errors. + /// + protected override IEnumerable ValidatePocoCardinality() + { + var errorList = new List(base.ValidatePocoCardinality()); + + return errorList; + } + + /// + /// Resolve the properties of the current from its counter-part + /// + /// The source + internal override void ResolveProperties(DTO.Thing dtoThing) + { + if (dtoThing == null) + { + throw new ArgumentNullException("dtoThing"); + } + + var dto = dtoThing as DTO.DiagramFrame; + if (dto == null) + { + throw new InvalidOperationException($"The DTO type {dtoThing.GetType()} does not match the type of the current DiagramFrame POCO."); + } + + this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; + this.Bounds.ResolveList(dto.Bounds, dto.IterationContainerId, this.Cache); + this.DepictedThing = (dto.DepictedThing.HasValue) ? this.Cache.Get(dto.DepictedThing.Value, dto.IterationContainerId) : null; + this.DiagramElement.ResolveList(dto.DiagramElement, dto.IterationContainerId, this.Cache); + this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); + this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.LocalStyle.ResolveList(dto.LocalStyle, dto.IterationContainerId, this.Cache); + this.ModifiedOn = dto.ModifiedOn; + this.Name = dto.Name; + this.RevisionNumber = dto.RevisionNumber; + this.SharedStyle = (dto.SharedStyle.HasValue) ? this.Cache.Get(dto.SharedStyle.Value, dto.IterationContainerId) : null; + this.ThingPreference = dto.ThingPreference; + + this.ResolveExtraProperties(); + } + + /// + /// Generates a from the current + /// + public override DTO.Thing ToDto() + { + var dto = new DTO.DiagramFrame(this.Iid, this.RevisionNumber); + + dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; + dto.Bounds.AddRange(this.Bounds.Select(x => x.Iid)); + dto.DepictedThing = this.DepictedThing != null ? (Guid?)this.DepictedThing.Iid : null; + dto.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Iid)); + dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); + dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.LocalStyle.AddRange(this.LocalStyle.Select(x => x.Iid)); + dto.ModifiedOn = this.ModifiedOn; + dto.Name = this.Name; + dto.RevisionNumber = this.RevisionNumber; + dto.SharedStyle = this.SharedStyle != null ? (Guid?)this.SharedStyle.Iid : null; + dto.ThingPreference = this.ThingPreference; + + dto.IterationContainerId = this.CacheKey.Iteration; + dto.RegisterSourceThing(this); + this.BuildDtoPartialRoutes(dto); + return dto; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/DiagramObject.cs b/CDP4Common/AutoGenPoco/DiagramObject.cs index 80eb438db..12eeaa8cc 100644 --- a/CDP4Common/AutoGenPoco/DiagramObject.cs +++ b/CDP4Common/AutoGenPoco/DiagramObject.cs @@ -93,7 +93,7 @@ public DiagramObject(Guid iid, ConcurrentDictionary [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] - public string Documentation { get; set; } + public virtual string Documentation { get; set; } /// /// Gets or sets the Resolution. @@ -102,7 +102,7 @@ public DiagramObject(Guid iid, ConcurrentDictionary [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] - public float Resolution { get; set; } + public virtual float Resolution { get; set; } /// /// Creates and returns a copy of this for edit purpose. diff --git a/CDP4Common/AutoGenPoco/DiagramPort.cs b/CDP4Common/AutoGenPoco/DiagramPort.cs new file mode 100644 index 000000000..794465543 --- /dev/null +++ b/CDP4Common/AutoGenPoco/DiagramPort.cs @@ -0,0 +1,205 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.Helpers; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + using CDP4Common.Types; + + /// + /// DiagramPort is the representation of a connector's start- or endpoint on an ArchitectureElement. + /// + [CDPVersion("1.4.0")] + [Container(typeof(DiagramElementContainer), "DiagramElement")] + public partial class DiagramPort : DiagramShape + { + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const PersonAccessRightKind DefaultPersonAccess = PersonAccessRightKind.NOT_APPLICABLE; + + /// + /// Representation of the default value for the accessRight property of a PersonPermission for the affected class + /// + public new const ParticipantAccessRightKind DefaultParticipantAccess = ParticipantAccessRightKind.SAME_AS_SUPERCLASS; + + /// + /// Initializes a new instance of the class. + /// + public DiagramPort() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// The unique identifier. + /// + /// + /// The where the current thing is stored. + /// The is the key used to store this thing. + /// The key is a combination of this thing's identifier and the identifier of its container if applicable or null. + /// + /// + /// The of this thing + /// + public DiagramPort(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) + { + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + protected override Thing GenericClone(bool cloneContainedThings) + { + var clone = (DiagramPort)this.MemberwiseClone(); + clone.Bounds = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Bounds, clone); + clone.DiagramElement = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.DiagramElement, clone); + clone.ExcludedDomain = new List(this.ExcludedDomain); + clone.ExcludedPerson = new List(this.ExcludedPerson); + clone.LocalStyle = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.LocalStyle, clone); + + if (cloneContainedThings) + { + clone.Bounds.AddRange(this.Bounds.Select(x => x.Clone(true))); + clone.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Clone(true))); + clone.LocalStyle.AddRange(this.LocalStyle.Select(x => x.Clone(true))); + } + + clone.Original = this; + clone.ResetCacheId(); + return clone; + } + + /// + /// Creates and returns a copy of this for edit purpose. + /// + /// A value that indicates whether the contained s should be cloned or not. + /// + /// A cloned instance of . + /// + public new DiagramPort Clone(bool cloneContainedThings) + { + this.ChangeKind = ChangeKind.Update; + return (DiagramPort)this.GenericClone(cloneContainedThings); + } + + /// + /// Validates the cardinalities of the properties of this . + /// + /// + /// A list of potential errors. + /// + protected override IEnumerable ValidatePocoCardinality() + { + var errorList = new List(base.ValidatePocoCardinality()); + + return errorList; + } + + /// + /// Resolve the properties of the current from its counter-part + /// + /// The source + internal override void ResolveProperties(DTO.Thing dtoThing) + { + if (dtoThing == null) + { + throw new ArgumentNullException("dtoThing"); + } + + var dto = dtoThing as DTO.DiagramPort; + if (dto == null) + { + throw new InvalidOperationException($"The DTO type {dtoThing.GetType()} does not match the type of the current DiagramPort POCO."); + } + + this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; + this.Bounds.ResolveList(dto.Bounds, dto.IterationContainerId, this.Cache); + this.DepictedThing = (dto.DepictedThing.HasValue) ? this.Cache.Get(dto.DepictedThing.Value, dto.IterationContainerId) : null; + this.DiagramElement.ResolveList(dto.DiagramElement, dto.IterationContainerId, this.Cache); + this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); + this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.LocalStyle.ResolveList(dto.LocalStyle, dto.IterationContainerId, this.Cache); + this.ModifiedOn = dto.ModifiedOn; + this.Name = dto.Name; + this.RevisionNumber = dto.RevisionNumber; + this.SharedStyle = (dto.SharedStyle.HasValue) ? this.Cache.Get(dto.SharedStyle.Value, dto.IterationContainerId) : null; + this.ThingPreference = dto.ThingPreference; + + this.ResolveExtraProperties(); + } + + /// + /// Generates a from the current + /// + public override DTO.Thing ToDto() + { + var dto = new DTO.DiagramPort(this.Iid, this.RevisionNumber); + + dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; + dto.Bounds.AddRange(this.Bounds.Select(x => x.Iid)); + dto.DepictedThing = this.DepictedThing != null ? (Guid?)this.DepictedThing.Iid : null; + dto.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Iid)); + dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); + dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.LocalStyle.AddRange(this.LocalStyle.Select(x => x.Iid)); + dto.ModifiedOn = this.ModifiedOn; + dto.Name = this.Name; + dto.RevisionNumber = this.RevisionNumber; + dto.SharedStyle = this.SharedStyle != null ? (Guid?)this.SharedStyle.Iid : null; + dto.ThingPreference = this.ThingPreference; + + dto.IterationContainerId = this.CacheKey.Iteration; + dto.RegisterSourceThing(this); + this.BuildDtoPartialRoutes(dto); + return dto; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/DomainOfExpertise.cs b/CDP4Common/AutoGenPoco/DomainOfExpertise.cs index 149cc1fb2..f26cedcd8 100644 --- a/CDP4Common/AutoGenPoco/DomainOfExpertise.cs +++ b/CDP4Common/AutoGenPoco/DomainOfExpertise.cs @@ -140,6 +140,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (DomainOfExpertise)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -149,6 +150,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -203,6 +205,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -227,6 +230,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs b/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs index e9dca020f..d4061ace7 100644 --- a/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs +++ b/CDP4Common/AutoGenPoco/DomainOfExpertiseGroup.cs @@ -139,6 +139,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (DomainOfExpertiseGroup)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.Domain = new List(this.Domain); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -148,6 +149,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -202,6 +204,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.Domain.ResolveList(dto.Domain, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -226,6 +229,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.Domain.AddRange(this.Domain.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ElementDefinition.cs b/CDP4Common/AutoGenPoco/ElementDefinition.cs index 570f6621d..9bbbf5251 100644 --- a/CDP4Common/AutoGenPoco/ElementDefinition.cs +++ b/CDP4Common/AutoGenPoco/ElementDefinition.cs @@ -69,6 +69,7 @@ public partial class ElementDefinition : ElementBase /// public ElementDefinition() { + this.Behavior = new ContainerList(this); this.ContainedElement = new ContainerList(this); this.OrganizationalParticipant = new List(); this.Parameter = new ContainerList(this); @@ -92,6 +93,7 @@ public ElementDefinition() /// public ElementDefinition(Guid iid, ConcurrentDictionary> cache, Uri iDalUri) : base(iid, cache, iDalUri) { + this.Behavior = new ContainerList(this); this.ContainedElement = new ContainerList(this); this.OrganizationalParticipant = new List(); this.Parameter = new ContainerList(this); @@ -99,6 +101,15 @@ public ElementDefinition(Guid iid, ConcurrentDictionary(); } + /// + /// Gets or sets a list of contained Behavior. + /// + /// + /// + [CDPVersion("1.4.0")] + [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public ContainerList Behavior { get; protected set; } + /// /// Gets or sets a list of contained ElementUsage. /// @@ -163,6 +174,7 @@ public override IEnumerable ContainerLists get { var containers = new List(base.ContainerLists); + containers.Add(this.Behavior); containers.Add(this.ContainedElement); containers.Add(this.Parameter); containers.Add(this.ParameterGroup); @@ -209,6 +221,8 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ElementDefinition)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); + clone.Behavior = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Behavior, clone); clone.Category = new List(this.Category); clone.ContainedElement = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.ContainedElement, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); @@ -223,6 +237,8 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); + clone.Behavior.AddRange(this.Behavior.Select(x => x.Clone(true))); clone.ContainedElement.AddRange(this.ContainedElement.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); @@ -280,6 +296,8 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); + this.Behavior.ResolveList(dto.Behavior, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.ContainedElement.ResolveList(dto.ContainedElement, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -309,6 +327,8 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); + dto.Behavior.AddRange(this.Behavior.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.ContainedElement.AddRange(this.ContainedElement.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ElementUsage.cs b/CDP4Common/AutoGenPoco/ElementUsage.cs index f5f4ea849..03abc0d63 100644 --- a/CDP4Common/AutoGenPoco/ElementUsage.cs +++ b/CDP4Common/AutoGenPoco/ElementUsage.cs @@ -191,6 +191,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ElementUsage)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -202,6 +203,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.ParameterOverride.AddRange(this.ParameterOverride.Select(x => x.Clone(true))); @@ -264,6 +266,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ElementDefinition = this.Cache.Get(dto.ElementDefinition, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); @@ -292,6 +295,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ElementDefinition = this.ElementDefinition != null ? this.ElementDefinition.Iid : Guid.Empty; diff --git a/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs b/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs index 697c04a4f..272db9e46 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs @@ -260,6 +260,7 @@ protected override Thing GenericClone(bool cloneContainedThings) var clone = (EngineeringModelSetup)this.MemberwiseClone(); clone.ActiveDomain = new List(this.ActiveDomain); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -272,6 +273,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.IterationSetup.AddRange(this.IterationSetup.Select(x => x.Clone(true))); @@ -355,6 +357,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.ActiveDomain.ResolveList(dto.ActiveDomain, dto.IterationContainerId, this.Cache); this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.DefaultOrganizationalParticipant = (dto.DefaultOrganizationalParticipant.HasValue) ? this.Cache.Get(dto.DefaultOrganizationalParticipant.Value, dto.IterationContainerId) : null; this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.EngineeringModelIid = dto.EngineeringModelIid; @@ -387,6 +390,7 @@ public override DTO.Thing ToDto() dto.ActiveDomain.AddRange(this.ActiveDomain.Select(x => x.Iid)); dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.DefaultOrganizationalParticipant = this.DefaultOrganizationalParticipant != null ? (Guid?)this.DefaultOrganizationalParticipant.Iid : null; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.EngineeringModelIid = this.EngineeringModelIid; diff --git a/CDP4Common/AutoGenPoco/EnumerationParameterType.cs b/CDP4Common/AutoGenPoco/EnumerationParameterType.cs index 6b1e299a5..8b66ec970 100644 --- a/CDP4Common/AutoGenPoco/EnumerationParameterType.cs +++ b/CDP4Common/AutoGenPoco/EnumerationParameterType.cs @@ -129,6 +129,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (EnumerationParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -139,6 +140,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.ValueDefinition = this.ValueDefinition.Clone(clone); @@ -201,6 +203,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); this.AllowMultiSelect = dto.AllowMultiSelect; + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -228,6 +231,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); dto.AllowMultiSelect = this.AllowMultiSelect; + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs b/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs index 00dd7b043..32587a35d 100644 --- a/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs +++ b/CDP4Common/AutoGenPoco/EnumerationValueDefinition.cs @@ -97,6 +97,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (EnumerationValueDefinition)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -105,6 +106,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -159,6 +161,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -181,6 +184,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/FileType.cs b/CDP4Common/AutoGenPoco/FileType.cs index f5eef6622..3f55460a7 100644 --- a/CDP4Common/AutoGenPoco/FileType.cs +++ b/CDP4Common/AutoGenPoco/FileType.cs @@ -152,6 +152,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (FileType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -161,6 +162,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -220,6 +222,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -245,6 +248,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Glossary.cs b/CDP4Common/AutoGenPoco/Glossary.cs index 66b67d07c..88f3db114 100644 --- a/CDP4Common/AutoGenPoco/Glossary.cs +++ b/CDP4Common/AutoGenPoco/Glossary.cs @@ -162,6 +162,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Glossary)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -172,6 +173,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.Term.AddRange(this.Term.Select(x => x.Clone(true))); @@ -227,6 +229,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -252,6 +255,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Goal.cs b/CDP4Common/AutoGenPoco/Goal.cs index d95dfa79d..d0ff532f6 100644 --- a/CDP4Common/AutoGenPoco/Goal.cs +++ b/CDP4Common/AutoGenPoco/Goal.cs @@ -130,6 +130,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Goal)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -139,6 +140,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -193,6 +195,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -216,6 +219,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/IntervalScale.cs b/CDP4Common/AutoGenPoco/IntervalScale.cs index 01dacb493..36d61af6f 100644 --- a/CDP4Common/AutoGenPoco/IntervalScale.cs +++ b/CDP4Common/AutoGenPoco/IntervalScale.cs @@ -120,6 +120,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (IntervalScale)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -130,6 +131,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.MappingToReferenceScale.AddRange(this.MappingToReferenceScale.Select(x => x.Clone(true))); @@ -186,6 +188,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -219,6 +222,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/LinearConversionUnit.cs b/CDP4Common/AutoGenPoco/LinearConversionUnit.cs index 3774fa5f9..f7c6c4e13 100644 --- a/CDP4Common/AutoGenPoco/LinearConversionUnit.cs +++ b/CDP4Common/AutoGenPoco/LinearConversionUnit.cs @@ -98,6 +98,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (LinearConversionUnit)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -106,6 +107,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -160,6 +162,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.ConversionFactor = dto.ConversionFactor; this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -185,6 +188,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.ConversionFactor = this.ConversionFactor; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/LogarithmicScale.cs b/CDP4Common/AutoGenPoco/LogarithmicScale.cs index 2fe90cf54..55d9a8257 100644 --- a/CDP4Common/AutoGenPoco/LogarithmicScale.cs +++ b/CDP4Common/AutoGenPoco/LogarithmicScale.cs @@ -183,6 +183,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (LogarithmicScale)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -194,6 +195,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.MappingToReferenceScale.AddRange(this.MappingToReferenceScale.Select(x => x.Clone(true))); @@ -268,6 +270,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -306,6 +309,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs b/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs index 7304781a6..9fed5ae37 100644 --- a/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs +++ b/CDP4Common/AutoGenPoco/ModelReferenceDataLibrary.cs @@ -95,6 +95,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ModelReferenceDataLibrary)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.BaseQuantityKind = new OrderedItemList(this.BaseQuantityKind, this); clone.BaseUnit = new List(this.BaseUnit); clone.Constant = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Constant, clone); @@ -115,6 +116,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Constant.AddRange(this.Constant.Select(x => x.Clone(true))); clone.DefinedCategory.AddRange(this.DefinedCategory.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); @@ -179,6 +181,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.BaseQuantityKind.ResolveList(dto.BaseQuantityKind, dto.IterationContainerId, this.Cache); this.BaseUnit.ResolveList(dto.BaseUnit, dto.IterationContainerId, this.Cache); this.Constant.ResolveList(dto.Constant, dto.IterationContainerId, this.Cache); @@ -214,6 +217,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.BaseQuantityKind.AddRange(this.BaseQuantityKind.ToDtoOrderedItemList()); dto.BaseUnit.AddRange(this.BaseUnit.Select(x => x.Iid)); dto.Constant.AddRange(this.Constant.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs b/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs index 29ab1a50c..16681e113 100644 --- a/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs +++ b/CDP4Common/AutoGenPoco/MultiRelationshipRule.cs @@ -164,6 +164,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (MultiRelationshipRule)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -173,6 +174,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -240,6 +242,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -267,6 +270,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Option.cs b/CDP4Common/AutoGenPoco/Option.cs index 2168d2180..73498717c 100644 --- a/CDP4Common/AutoGenPoco/Option.cs +++ b/CDP4Common/AutoGenPoco/Option.cs @@ -155,6 +155,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Option)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -165,6 +166,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.NestedElement.AddRange(this.NestedElement.Select(x => x.Clone(true))); @@ -220,6 +222,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -244,6 +247,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/OrdinalScale.cs b/CDP4Common/AutoGenPoco/OrdinalScale.cs index e86e1afe7..578339e23 100644 --- a/CDP4Common/AutoGenPoco/OrdinalScale.cs +++ b/CDP4Common/AutoGenPoco/OrdinalScale.cs @@ -130,6 +130,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (OrdinalScale)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -140,6 +141,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.MappingToReferenceScale.AddRange(this.MappingToReferenceScale.Select(x => x.Clone(true))); @@ -196,6 +198,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -230,6 +233,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs b/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs index c35e23a8d..a4a18a5f6 100644 --- a/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs +++ b/CDP4Common/AutoGenPoco/ParameterizedCategoryRule.cs @@ -143,6 +143,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ParameterizedCategoryRule)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -152,6 +153,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -219,6 +221,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category = this.Cache.Get(dto.Category, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -244,6 +247,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category = this.Category != null ? this.Category.Iid : Guid.Empty; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ParticipantRole.cs b/CDP4Common/AutoGenPoco/ParticipantRole.cs index 0f1b5a76d..e55fec63b 100644 --- a/CDP4Common/AutoGenPoco/ParticipantRole.cs +++ b/CDP4Common/AutoGenPoco/ParticipantRole.cs @@ -131,6 +131,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ParticipantRole)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -140,6 +141,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.ParticipantPermission.AddRange(this.ParticipantPermission.Select(x => x.Clone(true))); @@ -195,6 +197,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -219,6 +222,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/PersonRole.cs b/CDP4Common/AutoGenPoco/PersonRole.cs index ed6b81494..b5b840011 100644 --- a/CDP4Common/AutoGenPoco/PersonRole.cs +++ b/CDP4Common/AutoGenPoco/PersonRole.cs @@ -131,6 +131,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (PersonRole)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -140,6 +141,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.PersonPermission.AddRange(this.PersonPermission.Select(x => x.Clone(true))); @@ -195,6 +197,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -219,6 +222,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/PossibleFiniteState.cs b/CDP4Common/AutoGenPoco/PossibleFiniteState.cs index 5496398a6..b0817932a 100644 --- a/CDP4Common/AutoGenPoco/PossibleFiniteState.cs +++ b/CDP4Common/AutoGenPoco/PossibleFiniteState.cs @@ -113,6 +113,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (PossibleFiniteState)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -121,6 +122,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -175,6 +177,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -197,6 +200,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs b/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs index f5ded258f..555e9ecd9 100644 --- a/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs +++ b/CDP4Common/AutoGenPoco/PossibleFiniteStateList.cs @@ -191,6 +191,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (PossibleFiniteStateList)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -201,6 +202,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.PossibleState = this.PossibleState.Clone(clone); @@ -269,6 +271,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.DefaultState = (dto.DefaultState.HasValue) ? this.Cache.Get(dto.DefaultState.Value, dto.IterationContainerId) : null; this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -295,6 +298,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.DefaultState = this.DefaultState != null ? (Guid?)this.DefaultState.Iid : null; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/PrefixedUnit.cs b/CDP4Common/AutoGenPoco/PrefixedUnit.cs index 97aa12a34..7b934cdb4 100644 --- a/CDP4Common/AutoGenPoco/PrefixedUnit.cs +++ b/CDP4Common/AutoGenPoco/PrefixedUnit.cs @@ -180,6 +180,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (PrefixedUnit)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -188,6 +189,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -249,6 +251,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -272,6 +275,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/PublicationState.cs b/CDP4Common/AutoGenPoco/PublicationState.cs new file mode 100644 index 000000000..bc9c4189e --- /dev/null +++ b/CDP4Common/AutoGenPoco/PublicationState.cs @@ -0,0 +1,56 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + /// + /// Specifies the state of Publication. + /// + public enum PublicationState + { + /// + /// State that defines that an object is Hidden to others. + /// + Hidden, + + /// + /// State that defines that an object is ready for publication. + /// + ReadyForPublish, + + /// + /// State that defines that an object has been published. + /// + Published, + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenPoco/RatioScale.cs b/CDP4Common/AutoGenPoco/RatioScale.cs index 129cd4fca..63326b83c 100644 --- a/CDP4Common/AutoGenPoco/RatioScale.cs +++ b/CDP4Common/AutoGenPoco/RatioScale.cs @@ -114,6 +114,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (RatioScale)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -124,6 +125,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.MappingToReferenceScale.AddRange(this.MappingToReferenceScale.Select(x => x.Clone(true))); @@ -180,6 +182,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -213,6 +216,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ReferenceSource.cs b/CDP4Common/AutoGenPoco/ReferenceSource.cs index 266b0a74f..634bd55d3 100644 --- a/CDP4Common/AutoGenPoco/ReferenceSource.cs +++ b/CDP4Common/AutoGenPoco/ReferenceSource.cs @@ -214,6 +214,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ReferenceSource)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -223,6 +224,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -277,6 +279,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Author = dto.Author; this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -308,6 +311,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Author = this.Author; dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ReferencerRule.cs b/CDP4Common/AutoGenPoco/ReferencerRule.cs index f7a49ba2b..81881332b 100644 --- a/CDP4Common/AutoGenPoco/ReferencerRule.cs +++ b/CDP4Common/AutoGenPoco/ReferencerRule.cs @@ -164,6 +164,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ReferencerRule)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -173,6 +174,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -240,6 +242,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -267,6 +270,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Requirement.cs b/CDP4Common/AutoGenPoco/Requirement.cs index 047f3eb1d..d209dd71c 100644 --- a/CDP4Common/AutoGenPoco/Requirement.cs +++ b/CDP4Common/AutoGenPoco/Requirement.cs @@ -179,6 +179,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Requirement)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -190,6 +191,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.ParameterValue.AddRange(this.ParameterValue.Select(x => x.Clone(true))); @@ -246,6 +248,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -274,6 +277,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/RequirementsGroup.cs b/CDP4Common/AutoGenPoco/RequirementsGroup.cs index 03d957478..4b47fca7e 100644 --- a/CDP4Common/AutoGenPoco/RequirementsGroup.cs +++ b/CDP4Common/AutoGenPoco/RequirementsGroup.cs @@ -95,6 +95,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (RequirementsGroup)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -106,6 +107,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.Group.AddRange(this.Group.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); @@ -162,6 +164,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -188,6 +191,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/RequirementsSpecification.cs b/CDP4Common/AutoGenPoco/RequirementsSpecification.cs index 704fe07c8..060b1eab2 100644 --- a/CDP4Common/AutoGenPoco/RequirementsSpecification.cs +++ b/CDP4Common/AutoGenPoco/RequirementsSpecification.cs @@ -130,6 +130,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (RequirementsSpecification)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -142,6 +143,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.Group.AddRange(this.Group.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); @@ -199,6 +201,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -227,6 +230,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/RuleVerificationList.cs b/CDP4Common/AutoGenPoco/RuleVerificationList.cs index 0838ba0b4..4e201d634 100644 --- a/CDP4Common/AutoGenPoco/RuleVerificationList.cs +++ b/CDP4Common/AutoGenPoco/RuleVerificationList.cs @@ -153,6 +153,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (RuleVerificationList)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -162,6 +163,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.RuleVerification = this.RuleVerification.Clone(clone); @@ -224,6 +226,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -248,6 +251,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/SampledFunctionParameterType.cs b/CDP4Common/AutoGenPoco/SampledFunctionParameterType.cs index 9636ea992..7ee08de42 100644 --- a/CDP4Common/AutoGenPoco/SampledFunctionParameterType.cs +++ b/CDP4Common/AutoGenPoco/SampledFunctionParameterType.cs @@ -160,6 +160,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (SampledFunctionParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.DependentParameterType = cloneContainedThings ? null : new OrderedItemList(this.DependentParameterType, clone); @@ -172,6 +173,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.DependentParameterType = this.DependentParameterType.Clone(clone); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); @@ -246,6 +248,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.DegreeOfInterpolation = dto.DegreeOfInterpolation; @@ -275,6 +278,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.DegreeOfInterpolation = this.DegreeOfInterpolation; diff --git a/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs b/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs index b4df68d6b..cfb0151c5 100644 --- a/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs +++ b/CDP4Common/AutoGenPoco/ScaleValueDefinition.cs @@ -105,6 +105,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ScaleValueDefinition)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -113,6 +114,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -172,6 +174,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -195,6 +198,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs b/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs index 03f9fa3e7..a388c8291 100644 --- a/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs +++ b/CDP4Common/AutoGenPoco/SimpleQuantityKind.cs @@ -97,6 +97,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (SimpleQuantityKind)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -107,6 +108,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -161,6 +163,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.DefaultScale = this.Cache.Get(dto.DefaultScale, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -189,6 +192,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.DefaultScale = this.DefaultScale != null ? this.DefaultScale.Iid : Guid.Empty; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/SimpleUnit.cs b/CDP4Common/AutoGenPoco/SimpleUnit.cs index 165ab4e84..48e1244e3 100644 --- a/CDP4Common/AutoGenPoco/SimpleUnit.cs +++ b/CDP4Common/AutoGenPoco/SimpleUnit.cs @@ -100,6 +100,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (SimpleUnit)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -108,6 +109,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -162,6 +164,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -185,6 +188,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs b/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs index 49fef15e6..a3eff1457 100644 --- a/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs +++ b/CDP4Common/AutoGenPoco/SiteReferenceDataLibrary.cs @@ -106,6 +106,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (SiteReferenceDataLibrary)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.BaseQuantityKind = new OrderedItemList(this.BaseQuantityKind, this); clone.BaseUnit = new List(this.BaseUnit); clone.Constant = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Constant, clone); @@ -126,6 +127,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Constant.AddRange(this.Constant.Select(x => x.Clone(true))); clone.DefinedCategory.AddRange(this.DefinedCategory.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); @@ -190,6 +192,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.BaseQuantityKind.ResolveList(dto.BaseQuantityKind, dto.IterationContainerId, this.Cache); this.BaseUnit.ResolveList(dto.BaseUnit, dto.IterationContainerId, this.Cache); this.Constant.ResolveList(dto.Constant, dto.IterationContainerId, this.Cache); @@ -226,6 +229,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.BaseQuantityKind.AddRange(this.BaseQuantityKind.ToDtoOrderedItemList()); dto.BaseUnit.AddRange(this.BaseUnit.Select(x => x.Iid)); dto.Constant.AddRange(this.Constant.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs b/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs index 091e7198e..ff6b4d5fc 100644 --- a/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs +++ b/CDP4Common/AutoGenPoco/SpecializedQuantityKind.cs @@ -131,6 +131,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (SpecializedQuantityKind)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -141,6 +142,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -202,6 +204,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.DefaultScale = this.Cache.Get(dto.DefaultScale, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); @@ -231,6 +234,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.DefaultScale = this.DefaultScale != null ? this.DefaultScale.Iid : Guid.Empty; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs b/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs index bb9663ecd..ee9e4fa3d 100644 --- a/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs +++ b/CDP4Common/AutoGenPoco/StakeHolderValueMap.cs @@ -213,6 +213,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (StakeHolderValueMap)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -227,6 +228,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); clone.Settings.AddRange(this.Settings.Select(x => x.Clone(true))); @@ -288,6 +290,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -316,6 +319,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Stakeholder.cs b/CDP4Common/AutoGenPoco/Stakeholder.cs index 9c2287abc..6e812e554 100644 --- a/CDP4Common/AutoGenPoco/Stakeholder.cs +++ b/CDP4Common/AutoGenPoco/Stakeholder.cs @@ -145,6 +145,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Stakeholder)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -155,6 +156,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -209,6 +211,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -233,6 +236,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/StakeholderValue.cs b/CDP4Common/AutoGenPoco/StakeholderValue.cs index 27897a5e5..52ac893b6 100644 --- a/CDP4Common/AutoGenPoco/StakeholderValue.cs +++ b/CDP4Common/AutoGenPoco/StakeholderValue.cs @@ -130,6 +130,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (StakeholderValue)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -139,6 +140,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -193,6 +195,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -216,6 +219,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/Term.cs b/CDP4Common/AutoGenPoco/Term.cs index ed6806371..7ab708bd6 100644 --- a/CDP4Common/AutoGenPoco/Term.cs +++ b/CDP4Common/AutoGenPoco/Term.cs @@ -104,6 +104,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (Term)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -112,6 +113,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -166,6 +168,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); @@ -189,6 +192,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/TextParameterType.cs b/CDP4Common/AutoGenPoco/TextParameterType.cs index 6d8defc08..11a8127b2 100644 --- a/CDP4Common/AutoGenPoco/TextParameterType.cs +++ b/CDP4Common/AutoGenPoco/TextParameterType.cs @@ -95,6 +95,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (TextParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -104,6 +105,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -158,6 +160,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -183,6 +186,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs b/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs index cddee1de1..d131f5fa6 100644 --- a/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs +++ b/CDP4Common/AutoGenPoco/TimeOfDayParameterType.cs @@ -96,6 +96,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (TimeOfDayParameterType)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -105,6 +106,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -159,6 +161,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -184,6 +187,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/UnitPrefix.cs b/CDP4Common/AutoGenPoco/UnitPrefix.cs index 405b9ef7e..fdf3f32e7 100644 --- a/CDP4Common/AutoGenPoco/UnitPrefix.cs +++ b/CDP4Common/AutoGenPoco/UnitPrefix.cs @@ -114,6 +114,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (UnitPrefix)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); clone.ExcludedPerson = new List(this.ExcludedPerson); @@ -122,6 +123,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -181,6 +183,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.ConversionFactor = dto.ConversionFactor; this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -205,6 +208,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.ConversionFactor = this.ConversionFactor; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenPoco/ValueGroup.cs b/CDP4Common/AutoGenPoco/ValueGroup.cs index ff787208e..925575270 100644 --- a/CDP4Common/AutoGenPoco/ValueGroup.cs +++ b/CDP4Common/AutoGenPoco/ValueGroup.cs @@ -130,6 +130,7 @@ protected override Thing GenericClone(bool cloneContainedThings) { var clone = (ValueGroup)this.MemberwiseClone(); clone.Alias = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Alias, clone); + clone.Attachment = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Attachment, clone); clone.Category = new List(this.Category); clone.Definition = cloneContainedThings ? new ContainerList(clone) : new ContainerList(this.Definition, clone); clone.ExcludedDomain = new List(this.ExcludedDomain); @@ -139,6 +140,7 @@ protected override Thing GenericClone(bool cloneContainedThings) if (cloneContainedThings) { clone.Alias.AddRange(this.Alias.Select(x => x.Clone(true))); + clone.Attachment.AddRange(this.Attachment.Select(x => x.Clone(true))); clone.Definition.AddRange(this.Definition.Select(x => x.Clone(true))); clone.HyperLink.AddRange(this.HyperLink.Select(x => x.Clone(true))); } @@ -193,6 +195,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); + this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); this.Category.ResolveList(dto.Category, dto.IterationContainerId, this.Cache); this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); @@ -216,6 +219,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); + dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); dto.Category.AddRange(this.Category.Select(x => x.Iid)); dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); diff --git a/CDP4Common/AutoGenSentinel/SentinelThingProvider.cs b/CDP4Common/AutoGenSentinel/SentinelThingProvider.cs index 4c058b743..9c53c723f 100644 --- a/CDP4Common/AutoGenSentinel/SentinelThingProvider.cs +++ b/CDP4Common/AutoGenSentinel/SentinelThingProvider.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -56,7 +57,7 @@ static SentinelThingProvider() sentinelProvider.Add("Category", new Category(Guid.Empty, null, null)); sentinelProvider.Add("ChangeProposal", new ChangeProposal(Guid.Empty, null, null)); sentinelProvider.Add("ChangeRequest", new ChangeRequest(Guid.Empty, null, null)); - sentinelProvider.Add("DiagramElementThing", new DiagramEdge(Guid.Empty, null, null)); + sentinelProvider.Add("DiagramElementThing", new ArchitectureElement(Guid.Empty, null, null)); sentinelProvider.Add("DomainOfExpertise", new DomainOfExpertise(Guid.Empty, null, null)); sentinelProvider.Add("ElementDefinition", new ElementDefinition(Guid.Empty, null, null)); sentinelProvider.Add("EngineeringModelSetup", new EngineeringModelSetup(Guid.Empty, null, null)); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ActionItemPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ActionItemPropertyAccessor.cs index 67ced0619..708e8d116 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ActionItemPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ActionItemPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStateListPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStateListPropertyAccessor.cs index b85446200..ae382ff1f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStateListPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStateListPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStatePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStatePropertyAccessor.cs index 1e80c8679..6a68ef10b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStatePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ActualFiniteStatePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/AliasPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/AliasPropertyAccessor.cs index 4f26638f2..d49104b7b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/AliasPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/AliasPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/AndExpressionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/AndExpressionPropertyAccessor.cs index 0fc2521ed..3a4cb48ec 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/AndExpressionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/AndExpressionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ApprovalPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ApprovalPropertyAccessor.cs index dbaad5e94..89ecf0112 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ApprovalPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ApprovalPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs new file mode 100644 index 000000000..1fa2fb11d --- /dev/null +++ b/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs @@ -0,0 +1,226 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.PropertyAccesor; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + /// + /// Generated methods that support the QueryValue logic + /// + public partial class ArchitectureDiagram + { + /// + /// Queries the value(s) of the specified property + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// an object that represents the value. + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + public override object QueryValue(string path) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + return base.QueryThingValues(pd.Input); + case "revisionnumber": + return base.QueryThingValues(pd.Input); + case "classkind": + return base.QueryThingValues(pd.Input); + case "excludeddomain": + return base.QueryThingValues(pd.Input); + case "excludedperson": + return base.QueryThingValues(pd.Input); + case "modifiedon": + return base.QueryThingValues(pd.Input); + case "thingpreference": + return base.QueryThingValues(pd.Input); + case "actor": + return base.QueryThingValues(pd.Input); + case "bounds": + return base.QueryValue(pd.Input); + case "createdon": + return base.QueryValue(pd.Input); + case "description": + return base.QueryValue(pd.Input); + case "diagramelement": + return base.QueryValue(pd.Input); + case "name": + return base.QueryValue(pd.Input); + case "owner": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next == null) + { + return this.Owner; + } + + if (this.Owner != null) + { + return this.Owner.QueryValue(pd.Next.Input); + } + + var sentinelowner = new DomainOfExpertise(Guid.Empty, null, null); + return sentinelowner.QuerySentinelValue(pd.Next.Input, false); + case "publicationstate": + return base.QueryValue(pd.Input); + case "toparchitectureelement": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next == null) + { + return this.TopArchitectureElement; + } + + if (this.TopArchitectureElement != null) + { + return this.TopArchitectureElement.QueryValue(pd.Next.Input); + } + + var sentineltoparchitectureelement = new ArchitectureElement(Guid.Empty, null, null); + return sentineltoparchitectureelement.QuerySentinelValue(pd.Next.Input, false); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + + /// + /// Queries the value of a Sentinel object + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// A value indicating whether the result is a single value or an enumeration + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + internal object QuerySentinelValue(string path, bool isCallerEmunerable) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "revisionnumber": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "classkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "excludeddomain": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "excludedperson": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "modifiedon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "thingpreference": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "actor": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); + case "bounds": + return pd.Next == null ? (object) new List() : new Bounds(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "createdon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "description": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "diagramelement": + return pd.Next == null ? (object) new List() : new DiagramEdge(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "name": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "owner": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(DomainOfExpertise); + case "publicationstate": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "toparchitectureelement": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new ArchitectureElement(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(ArchitectureElement); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureElementPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureElementPropertyAccessor.cs new file mode 100644 index 000000000..1866b9b3c --- /dev/null +++ b/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureElementPropertyAccessor.cs @@ -0,0 +1,199 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.PropertyAccesor; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + /// + /// Generated methods that support the QueryValue logic + /// + public partial class ArchitectureElement + { + /// + /// Queries the value(s) of the specified property + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// an object that represents the value. + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + public override object QueryValue(string path) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + return base.QueryThingValues(pd.Input); + case "revisionnumber": + return base.QueryThingValues(pd.Input); + case "classkind": + return base.QueryThingValues(pd.Input); + case "excludeddomain": + return base.QueryThingValues(pd.Input); + case "excludedperson": + return base.QueryThingValues(pd.Input); + case "modifiedon": + return base.QueryThingValues(pd.Input); + case "thingpreference": + return base.QueryThingValues(pd.Input); + case "actor": + return base.QueryThingValues(pd.Input); + case "bounds": + return base.QueryValue(pd.Input); + case "depictedthing": + return base.QueryValue(pd.Input); + case "diagramelement": + return base.QueryValue(pd.Input); + case "documentation": + return base.QueryValue(pd.Input); + case "localstyle": + return base.QueryValue(pd.Input); + case "name": + return base.QueryValue(pd.Input); + case "resolution": + return base.QueryValue(pd.Input); + case "sharedstyle": + return base.QueryValue(pd.Input); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + + /// + /// Queries the value of a Sentinel object + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// A value indicating whether the result is a single value or an enumeration + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + internal object QuerySentinelValue(string path, bool isCallerEmunerable) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "revisionnumber": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "classkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "excludeddomain": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "excludedperson": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "modifiedon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "thingpreference": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "actor": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); + case "bounds": + return pd.Next == null ? (object) new List() : new Bounds(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "depictedthing": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new ActualFiniteState(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Thing); + case "diagramelement": + return pd.Next == null ? (object) new List() : new DiagramEdge(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "documentation": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "localstyle": + return pd.Next == null ? (object) new List() : new OwnedStyle(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "name": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "resolution": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "sharedstyle": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new SharedStyle(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(SharedStyle); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ArrayParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ArrayParameterTypePropertyAccessor.cs index 30d40cbd2..b1b91b515 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ArrayParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ArrayParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "component": @@ -210,6 +212,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "component": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/AttachmentPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/AttachmentPropertyAccessor.cs new file mode 100644 index 000000000..d8fea8d8d --- /dev/null +++ b/CDP4Common/AutoGenThingPropertyAccessor/AttachmentPropertyAccessor.cs @@ -0,0 +1,244 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.PropertyAccesor; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + /// + /// Generated methods that support the QueryValue logic + /// + public partial class Attachment + { + /// + /// Queries the value(s) of the specified property + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// an object that represents the value. + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + public override object QueryValue(string path) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + return base.QueryThingValues(pd.Input); + case "revisionnumber": + return base.QueryThingValues(pd.Input); + case "classkind": + return base.QueryThingValues(pd.Input); + case "excludeddomain": + return base.QueryThingValues(pd.Input); + case "excludedperson": + return base.QueryThingValues(pd.Input); + case "modifiedon": + return base.QueryThingValues(pd.Input); + case "thingpreference": + return base.QueryThingValues(pd.Input); + case "actor": + return base.QueryThingValues(pd.Input); + case "contenthash": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.ContentHash; + case "filename": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.FileName; + case "filetype": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + + var fileTypeUpperBound = pd.Upper.Value; + + if (pd.Lower.Value == 0 && fileTypeUpperBound == int.MaxValue && !this.FileType.Any()) + { + if (pd.Next == null) + { + return new List(); + } + + var sentinelFileType = new FileType(Guid.Empty, null, null); + + return sentinelFileType.QuerySentinelValue(pd.NextPath, true); + } + + if (pd.Upper.Value == int.MaxValue) + { + fileTypeUpperBound = this.FileType.Count - 1; + } + + if (this.FileType.Count - 1 < pd.Lower.Value) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for FileType property, the lower bound {pd.Lower.Value} is higher than the max index of this list."); + } + + if (this.FileType.Count - 1 < fileTypeUpperBound) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for the FileType property, the upper bound {pd.Upper.Value} is higher than the max index of this list."); + } + + if (pd.Lower.Value == pd.Upper.Value) + { + if (pd.Next == null) + { + return this.FileType[pd.Lower.Value]; + } + + return this.FileType[pd.Lower.Value].QueryValue(pd.NextPath); + } + + if (pd.Next == null) + { + var fileTypeObjects = new List(); + + for (var i = pd.Lower.Value; i < fileTypeUpperBound + 1; i++) + { + fileTypeObjects.Add(this.FileType[i]); + } + + return fileTypeObjects; + } + + var fileTypeNextObjects = new List(); + + for (var i = pd.Lower.Value; i < fileTypeUpperBound + 1; i++) + { + var queryResult = this.FileType[i].QueryValue(pd.Next.Input); + + if (queryResult is IEnumerable queriedValues) + { + foreach (var queriedValue in queriedValues) + { + if (queriedValue != null) + { + fileTypeNextObjects.Add(queriedValue); + } + } + } + else + { + if (queryResult != null) + { + fileTypeNextObjects.Add(queryResult); + } + } + } + + return fileTypeNextObjects; + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + + /// + /// Queries the value of a Sentinel object + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// A value indicating whether the result is a single value or an enumeration + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + internal object QuerySentinelValue(string path, bool isCallerEmunerable) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "revisionnumber": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "classkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "excludeddomain": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "excludedperson": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "modifiedon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "thingpreference": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "actor": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); + case "contenthash": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "filename": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "filetype": + return pd.Next == null ? (object) new List() : new FileType(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BehaviorPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BehaviorPropertyAccessor.cs new file mode 100644 index 000000000..4a49705c2 --- /dev/null +++ b/CDP4Common/AutoGenThingPropertyAccessor/BehaviorPropertyAccessor.cs @@ -0,0 +1,270 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.PropertyAccesor; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + /// + /// Generated methods that support the QueryValue logic + /// + public partial class Behavior + { + /// + /// Queries the value(s) of the specified property + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// an object that represents the value. + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + public override object QueryValue(string path) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + return base.QueryThingValues(pd.Input); + case "revisionnumber": + return base.QueryThingValues(pd.Input); + case "classkind": + return base.QueryThingValues(pd.Input); + case "excludeddomain": + return base.QueryThingValues(pd.Input); + case "excludedperson": + return base.QueryThingValues(pd.Input); + case "modifiedon": + return base.QueryThingValues(pd.Input); + case "thingpreference": + return base.QueryThingValues(pd.Input); + case "actor": + return base.QueryThingValues(pd.Input); + case "alias": + return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); + case "behavioralmodelkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.BehavioralModelKind; + case "behavioralparameter": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + + var behavioralParameterUpperBound = pd.Upper.Value; + + if (pd.Lower.Value == 0 && behavioralParameterUpperBound == int.MaxValue && !this.BehavioralParameter.Any()) + { + if (pd.Next == null) + { + return new List(); + } + + var sentinelBehavioralParameter = new BehavioralParameter(Guid.Empty, null, null); + + return sentinelBehavioralParameter.QuerySentinelValue(pd.NextPath, true); + } + + if (pd.Upper.Value == int.MaxValue) + { + behavioralParameterUpperBound = this.BehavioralParameter.Count - 1; + } + + if (this.BehavioralParameter.Count - 1 < pd.Lower.Value) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for BehavioralParameter property, the lower bound {pd.Lower.Value} is higher than the max index of this list."); + } + + if (this.BehavioralParameter.Count - 1 < behavioralParameterUpperBound) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for the BehavioralParameter property, the upper bound {pd.Upper.Value} is higher than the max index of this list."); + } + + if (pd.Lower.Value == pd.Upper.Value) + { + if (pd.Next == null) + { + return this.BehavioralParameter[pd.Lower.Value]; + } + + return this.BehavioralParameter[pd.Lower.Value].QueryValue(pd.NextPath); + } + + if (pd.Next == null) + { + var behavioralParameterObjects = new List(); + + for (var i = pd.Lower.Value; i < behavioralParameterUpperBound + 1; i++) + { + behavioralParameterObjects.Add(this.BehavioralParameter[i]); + } + + return behavioralParameterObjects; + } + + var behavioralParameterNextObjects = new List(); + + for (var i = pd.Lower.Value; i < behavioralParameterUpperBound + 1; i++) + { + var queryResult = this.BehavioralParameter[i].QueryValue(pd.Next.Input); + + if (queryResult is IEnumerable queriedValues) + { + foreach (var queriedValue in queriedValues) + { + if (queriedValue != null) + { + behavioralParameterNextObjects.Add(queriedValue); + } + } + } + else + { + if (queryResult != null) + { + behavioralParameterNextObjects.Add(queryResult); + } + } + } + + return behavioralParameterNextObjects; + case "definition": + return base.QueryValue(pd.Input); + case "hyperlink": + return base.QueryValue(pd.Input); + case "name": + return base.QueryValue(pd.Input); + case "script": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.Script; + case "shortname": + return base.QueryValue(pd.Input); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + + /// + /// Queries the value of a Sentinel object + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// A value indicating whether the result is a single value or an enumeration + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + internal object QuerySentinelValue(string path, bool isCallerEmunerable) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "revisionnumber": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "classkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "excludeddomain": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "excludedperson": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "modifiedon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "thingpreference": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "actor": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); + case "alias": + return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "behavioralmodelkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "behavioralparameter": + return pd.Next == null ? (object) new List() : new BehavioralParameter(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "definition": + return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "hyperlink": + return pd.Next == null ? (object) new List() : new HyperLink(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "name": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "script": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "shortname": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BehavioralParameterPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BehavioralParameterPropertyAccessor.cs new file mode 100644 index 000000000..7782b718f --- /dev/null +++ b/CDP4Common/AutoGenThingPropertyAccessor/BehavioralParameterPropertyAccessor.cs @@ -0,0 +1,186 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.EngineeringModelData +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.PropertyAccesor; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + /// + /// Generated methods that support the QueryValue logic + /// + public partial class BehavioralParameter + { + /// + /// Queries the value(s) of the specified property + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// an object that represents the value. + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + public override object QueryValue(string path) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + return base.QueryThingValues(pd.Input); + case "revisionnumber": + return base.QueryThingValues(pd.Input); + case "classkind": + return base.QueryThingValues(pd.Input); + case "excludeddomain": + return base.QueryThingValues(pd.Input); + case "excludedperson": + return base.QueryThingValues(pd.Input); + case "modifiedon": + return base.QueryThingValues(pd.Input); + case "thingpreference": + return base.QueryThingValues(pd.Input); + case "actor": + return base.QueryThingValues(pd.Input); + case "behavioralparameterkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.BehavioralParameterKind; + case "parameter": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next == null) + { + return this.Parameter; + } + + if (this.Parameter != null) + { + return this.Parameter.QueryValue(pd.Next.Input); + } + + var sentinelparameter = new Parameter(Guid.Empty, null, null); + return sentinelparameter.QuerySentinelValue(pd.Next.Input, false); + case "variablename": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.VariableName; + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + + /// + /// Queries the value of a Sentinel object + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// A value indicating whether the result is a single value or an enumeration + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + internal object QuerySentinelValue(string path, bool isCallerEmunerable) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "revisionnumber": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "classkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "excludeddomain": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "excludedperson": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "modifiedon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "thingpreference": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "actor": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); + case "behavioralparameterkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "parameter": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Parameter(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Parameter); + case "variablename": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BinaryNotePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BinaryNotePropertyAccessor.cs index d222cb69c..8e2f4369f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BinaryNotePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BinaryNotePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipPropertyAccessor.cs index 15502a0ea..baa4ea72c 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipRulePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipRulePropertyAccessor.cs index 6f0d58c7f..156e02e10 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipRulePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BinaryRelationshipRulePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "forwardrelationshipname": @@ -203,6 +205,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "forwardrelationshipname": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BookPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BookPropertyAccessor.cs index dd6fba6a3..6ad4e4219 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BookPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BookPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BooleanExpressionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BooleanExpressionPropertyAccessor.cs index dc3a42435..4f1297a4e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BooleanExpressionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BooleanExpressionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BooleanParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BooleanParameterTypePropertyAccessor.cs index 8a3f94a38..ec458e34a 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BooleanParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BooleanParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -158,6 +160,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BoundsPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BoundsPropertyAccessor.cs index ccbc31a9e..9129e08dd 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BoundsPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BoundsPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/BuiltInRuleVerificationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/BuiltInRuleVerificationPropertyAccessor.cs index 6210ab426..9b3193847 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/BuiltInRuleVerificationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/BuiltInRuleVerificationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/CategoryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/CategoryPropertyAccessor.cs index 630342604..1727245bf 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/CategoryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/CategoryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -287,6 +289,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ChangeProposalPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ChangeProposalPropertyAccessor.cs index d04a81fba..209accd86 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ChangeProposalPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ChangeProposalPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ChangeRequestPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ChangeRequestPropertyAccessor.cs index 614cd6fe4..59f5d0c30 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ChangeRequestPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ChangeRequestPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/CitationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/CitationPropertyAccessor.cs index b30cdb2e2..7ab299c8a 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/CitationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/CitationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ColorPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ColorPropertyAccessor.cs index 3d477a02f..4e5587056 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ColorPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ColorPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/CommonFileStorePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/CommonFileStorePropertyAccessor.cs index 0ee36edb3..5e70fdad3 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/CommonFileStorePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/CommonFileStorePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/CompoundParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/CompoundParameterTypePropertyAccessor.cs index c8f175933..b1162d8d4 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/CompoundParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/CompoundParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "component": @@ -241,6 +243,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "component": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ConstantPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ConstantPropertyAccessor.cs index 30a9b8de1..bc9c1eb1f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ConstantPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ConstantPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -312,6 +314,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ContractChangeNoticePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ContractChangeNoticePropertyAccessor.cs index 0d21c2c25..29ccf6dfe 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ContractChangeNoticePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ContractChangeNoticePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ContractDeviationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ContractDeviationPropertyAccessor.cs index ea7f77094..7ed4e96df 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ContractDeviationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ContractDeviationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ConversionBasedUnitPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ConversionBasedUnitPropertyAccessor.cs index 958e5f4ce..1fb616dc2 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ConversionBasedUnitPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ConversionBasedUnitPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "conversionfactor": pd.VerifyPropertyDescriptorForValueProperty(); return this.ConversionFactor; diff --git a/CDP4Common/AutoGenThingPropertyAccessor/CyclicRatioScalePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/CyclicRatioScalePropertyAccessor.cs index 46d4472b1..a0a213198 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/CyclicRatioScalePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/CyclicRatioScalePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -175,6 +177,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DateParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DateParameterTypePropertyAccessor.cs index 83928cf1a..ec69805e1 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DateParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DateParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -158,6 +160,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DateTimeParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DateTimeParameterTypePropertyAccessor.cs index c6d543b2f..2d49e9ac3 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DateTimeParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DateTimeParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -158,6 +160,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DecompositionRulePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DecompositionRulePropertyAccessor.cs index 02bdfeab1..fbe5a6c24 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DecompositionRulePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DecompositionRulePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "containedcategory": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -253,6 +255,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "containedcategory": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "containingcategory": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DefinedThingPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DefinedThingPropertyAccessor.cs index d10ab8ce6..2e4554e4e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DefinedThingPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DefinedThingPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -162,6 +162,86 @@ public override object QueryValue(string path) } return aliasNextObjects; + case "attachment": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + + var attachmentUpperBound = pd.Upper.Value; + + if (pd.Lower.Value == 0 && attachmentUpperBound == int.MaxValue && !this.Attachment.Any()) + { + if (pd.Next == null) + { + return new List(); + } + + var sentinelAttachment = new Attachment(Guid.Empty, null, null); + + return sentinelAttachment.QuerySentinelValue(pd.NextPath, true); + } + + if (pd.Upper.Value == int.MaxValue) + { + attachmentUpperBound = this.Attachment.Count - 1; + } + + if (this.Attachment.Count - 1 < pd.Lower.Value) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for Attachment property, the lower bound {pd.Lower.Value} is higher than the max index of this list."); + } + + if (this.Attachment.Count - 1 < attachmentUpperBound) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for the Attachment property, the upper bound {pd.Upper.Value} is higher than the max index of this list."); + } + + if (pd.Lower.Value == pd.Upper.Value) + { + if (pd.Next == null) + { + return this.Attachment[pd.Lower.Value]; + } + + return this.Attachment[pd.Lower.Value].QueryValue(pd.NextPath); + } + + if (pd.Next == null) + { + var attachmentObjects = new List(); + + for (var i = pd.Lower.Value; i < attachmentUpperBound + 1; i++) + { + attachmentObjects.Add(this.Attachment[i]); + } + + return attachmentObjects; + } + + var attachmentNextObjects = new List(); + + for (var i = pd.Lower.Value; i < attachmentUpperBound + 1; i++) + { + var queryResult = this.Attachment[i].QueryValue(pd.Next.Input); + + if (queryResult is IEnumerable queriedValues) + { + foreach (var queriedValue in queriedValues) + { + if (queriedValue != null) + { + attachmentNextObjects.Add(queriedValue); + } + } + } + else + { + if (queryResult != null) + { + attachmentNextObjects.Add(queryResult); + } + } + } + + return attachmentNextObjects; case "definition": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DefinitionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DefinitionPropertyAccessor.cs index 3a86e68f2..5c4e670fa 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DefinitionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DefinitionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DependentParameterTypeAssignmentPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DependentParameterTypeAssignmentPropertyAccessor.cs index 8b92364f0..5bed3effd 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DependentParameterTypeAssignmentPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DependentParameterTypeAssignmentPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DerivedQuantityKindPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DerivedQuantityKindPropertyAccessor.cs index bbd2db285..3cbe57e1e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DerivedQuantityKindPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DerivedQuantityKindPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -86,6 +86,8 @@ public override object QueryValue(string path) return base.QueryValue(pd.Input); case "allpossiblescale": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "defaultscale": @@ -252,6 +254,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "allpossiblescale": return pd.Next == null ? (object) new List() : new IntervalScale(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "defaultscale": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DerivedUnitPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DerivedUnitPropertyAccessor.cs index e66ae6f3a..1b946b813 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DerivedUnitPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DerivedUnitPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -232,6 +234,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs index 3c09d7b49..4d5b0d9d3 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -87,10 +87,16 @@ public override object QueryValue(string path) case "createdon": pd.VerifyPropertyDescriptorForValueProperty(); return this.CreatedOn; + case "description": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.Description; case "diagramelement": return base.QueryValue(pd.Input); case "name": return base.QueryValue(pd.Input); + case "publicationstate": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.PublicationState; default: throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); } @@ -152,11 +158,17 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) case "createdon": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; + case "description": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; case "diagramelement": return pd.Next == null ? (object) new List() : new DiagramEdge(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "name": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; + case "publicationstate": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; default: throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); } diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramEdgePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramEdgePropertyAccessor.cs index 1796a2c07..48307ed34 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramEdgePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramEdgePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementContainerPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementContainerPropertyAccessor.cs index 47fcf5e82..2b3751057 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementContainerPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementContainerPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementThingPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementThingPropertyAccessor.cs index 246567461..502e551c2 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementThingPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramElementThingPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramFramePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramFramePropertyAccessor.cs new file mode 100644 index 000000000..127a3c59e --- /dev/null +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramFramePropertyAccessor.cs @@ -0,0 +1,189 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.PropertyAccesor; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + /// + /// Generated methods that support the QueryValue logic + /// + public partial class DiagramFrame + { + /// + /// Queries the value(s) of the specified property + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// an object that represents the value. + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + public override object QueryValue(string path) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + return base.QueryThingValues(pd.Input); + case "revisionnumber": + return base.QueryThingValues(pd.Input); + case "classkind": + return base.QueryThingValues(pd.Input); + case "excludeddomain": + return base.QueryThingValues(pd.Input); + case "excludedperson": + return base.QueryThingValues(pd.Input); + case "modifiedon": + return base.QueryThingValues(pd.Input); + case "thingpreference": + return base.QueryThingValues(pd.Input); + case "actor": + return base.QueryThingValues(pd.Input); + case "bounds": + return base.QueryValue(pd.Input); + case "depictedthing": + return base.QueryValue(pd.Input); + case "diagramelement": + return base.QueryValue(pd.Input); + case "localstyle": + return base.QueryValue(pd.Input); + case "name": + return base.QueryValue(pd.Input); + case "sharedstyle": + return base.QueryValue(pd.Input); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + + /// + /// Queries the value of a Sentinel object + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// A value indicating whether the result is a single value or an enumeration + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + internal object QuerySentinelValue(string path, bool isCallerEmunerable) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "revisionnumber": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "classkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "excludeddomain": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "excludedperson": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "modifiedon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "thingpreference": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "actor": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); + case "bounds": + return pd.Next == null ? (object) new List() : new Bounds(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "depictedthing": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new ActualFiniteState(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Thing); + case "diagramelement": + return pd.Next == null ? (object) new List() : new DiagramEdge(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "localstyle": + return pd.Next == null ? (object) new List() : new OwnedStyle(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "name": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "sharedstyle": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new SharedStyle(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(SharedStyle); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramObjectPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramObjectPropertyAccessor.cs index c984e37ea..662e4e46d 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramObjectPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramObjectPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramPortPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramPortPropertyAccessor.cs new file mode 100644 index 000000000..3d23cf292 --- /dev/null +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramPortPropertyAccessor.cs @@ -0,0 +1,189 @@ +// ------------------------------------------------------------------------------------------------ +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// ------------------------------------------------------------------------------------------------ + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.PropertyAccesor; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + /// + /// Generated methods that support the QueryValue logic + /// + public partial class DiagramPort + { + /// + /// Queries the value(s) of the specified property + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// an object that represents the value. + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + public override object QueryValue(string path) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + return base.QueryThingValues(pd.Input); + case "revisionnumber": + return base.QueryThingValues(pd.Input); + case "classkind": + return base.QueryThingValues(pd.Input); + case "excludeddomain": + return base.QueryThingValues(pd.Input); + case "excludedperson": + return base.QueryThingValues(pd.Input); + case "modifiedon": + return base.QueryThingValues(pd.Input); + case "thingpreference": + return base.QueryThingValues(pd.Input); + case "actor": + return base.QueryThingValues(pd.Input); + case "bounds": + return base.QueryValue(pd.Input); + case "depictedthing": + return base.QueryValue(pd.Input); + case "diagramelement": + return base.QueryValue(pd.Input); + case "localstyle": + return base.QueryValue(pd.Input); + case "name": + return base.QueryValue(pd.Input); + case "sharedstyle": + return base.QueryValue(pd.Input); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + + /// + /// Queries the value of a Sentinel object + /// + /// + /// The path of the property for which the value is to be queried + /// + /// + /// A value indicating whether the result is a single value or an enumeration + /// + /// + /// An object, which is either an instance or List of + /// or an bool, int, string or List thereof + /// + internal object QuerySentinelValue(string path, bool isCallerEmunerable) + { + var pd = PropertyDescriptor.QueryPropertyDescriptor(path); + + var propertyName = pd.Name.ToLower(); + + switch (propertyName) + { + case "iid": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "revisionnumber": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "classkind": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "excludeddomain": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "excludedperson": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + return pd.Next == null ? (object) new List() : new DomainOfExpertise(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "modifiedon": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "thingpreference": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "actor": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); + case "bounds": + return pd.Next == null ? (object) new List() : new Bounds(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "depictedthing": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new ActualFiniteState(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Thing); + case "diagramelement": + return pd.Next == null ? (object) new List() : new DiagramEdge(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "localstyle": + return pd.Next == null ? (object) new List() : new OwnedStyle(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "name": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "sharedstyle": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new SharedStyle(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(SharedStyle); + default: + throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); + } + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramShapePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramShapePropertyAccessor.cs index 062780dfc..73b122bd4 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramShapePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramShapePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramThingBasePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramThingBasePropertyAccessor.cs index 337308243..855a6cce4 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramThingBasePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramThingBasePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagrammingStylePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagrammingStylePropertyAccessor.cs index 8a5ee2a74..be591bce1 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagrammingStylePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagrammingStylePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiscussionItemPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiscussionItemPropertyAccessor.cs index 79c723f6e..d835c77ae 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiscussionItemPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiscussionItemPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DomainFileStorePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DomainFileStorePropertyAccessor.cs index dcc3203ff..fad4630ca 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DomainFileStorePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DomainFileStorePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertiseGroupPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertiseGroupPropertyAccessor.cs index d2c481e34..50760de25 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertiseGroupPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertiseGroupPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "domain": @@ -233,6 +235,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "domain": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertisePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertisePropertyAccessor.cs index ae7c84bef..6dca189fa 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertisePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DomainOfExpertisePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -233,6 +235,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ElementBasePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ElementBasePropertyAccessor.cs index 9826bc8e6..b8ba0356f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ElementBasePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ElementBasePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ElementDefinitionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ElementDefinitionPropertyAccessor.cs index 2b9454813..0810ca8b6 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ElementDefinitionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ElementDefinitionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,88 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); + case "behavior": + pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); + + var behaviorUpperBound = pd.Upper.Value; + + if (pd.Lower.Value == 0 && behaviorUpperBound == int.MaxValue && !this.Behavior.Any()) + { + if (pd.Next == null) + { + return new List(); + } + + var sentinelBehavior = new Behavior(Guid.Empty, null, null); + + return sentinelBehavior.QuerySentinelValue(pd.NextPath, true); + } + + if (pd.Upper.Value == int.MaxValue) + { + behaviorUpperBound = this.Behavior.Count - 1; + } + + if (this.Behavior.Count - 1 < pd.Lower.Value) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for Behavior property, the lower bound {pd.Lower.Value} is higher than the max index of this list."); + } + + if (this.Behavior.Count - 1 < behaviorUpperBound) + { + throw new IndexOutOfRangeException($"Invalid Multiplicity for the Behavior property, the upper bound {pd.Upper.Value} is higher than the max index of this list."); + } + + if (pd.Lower.Value == pd.Upper.Value) + { + if (pd.Next == null) + { + return this.Behavior[pd.Lower.Value]; + } + + return this.Behavior[pd.Lower.Value].QueryValue(pd.NextPath); + } + + if (pd.Next == null) + { + var behaviorObjects = new List(); + + for (var i = pd.Lower.Value; i < behaviorUpperBound + 1; i++) + { + behaviorObjects.Add(this.Behavior[i]); + } + + return behaviorObjects; + } + + var behaviorNextObjects = new List(); + + for (var i = pd.Lower.Value; i < behaviorUpperBound + 1; i++) + { + var queryResult = this.Behavior[i].QueryValue(pd.Next.Input); + + if (queryResult is IEnumerable queriedValues) + { + foreach (var queriedValue in queriedValues) + { + if (queriedValue != null) + { + behaviorNextObjects.Add(queriedValue); + } + } + } + else + { + if (queryResult != null) + { + behaviorNextObjects.Add(queryResult); + } + } + } + + return behaviorNextObjects; case "category": return base.QueryValue(pd.Input); case "containedelement": @@ -554,6 +636,10 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "behavior": + return pd.Next == null ? (object) new List() : new Behavior(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "containedelement": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ElementUsagePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ElementUsagePropertyAccessor.cs index 39919ad76..480e86204 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ElementUsagePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ElementUsagePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -332,6 +334,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EmailAddressPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EmailAddressPropertyAccessor.cs index 38357c381..a5e1d6929 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EmailAddressPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EmailAddressPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataAnnotationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataAnnotationPropertyAccessor.cs index 5fbc7ceb7..01a82e1d9 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataAnnotationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataAnnotationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataDiscussionItemPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataDiscussionItemPropertyAccessor.cs index e43d5e4d6..5987f1f2f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataDiscussionItemPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataDiscussionItemPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataNotePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataNotePropertyAccessor.cs index 741176ecb..c0007ab5c 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataNotePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelDataNotePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelPropertyAccessor.cs index 61fbb1e11..d488b5c46 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs index 61bfe1716..e69338873 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -164,6 +164,8 @@ public override object QueryValue(string path) return activeDomainNextObjects; case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "defaultorganizationalparticipant": pd.VerifyPropertyDescriptorForReferenceProperty(); @@ -579,6 +581,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "defaultorganizationalparticipant": pd.VerifyPropertyDescriptorForReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EnumerationParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EnumerationParameterTypePropertyAccessor.cs index 7200a6a50..12390000b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EnumerationParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EnumerationParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -87,6 +87,8 @@ public override object QueryValue(string path) case "allowmultiselect": pd.VerifyPropertyDescriptorForValueProperty(); return this.AllowMultiSelect; + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -244,6 +246,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) case "allowmultiselect": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EnumerationValueDefinitionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EnumerationValueDefinitionPropertyAccessor.cs index c22899ff3..c0a7b4af2 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EnumerationValueDefinitionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EnumerationValueDefinitionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -150,6 +152,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ExclusiveOrExpressionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ExclusiveOrExpressionPropertyAccessor.cs index 8ecc24761..4c393ee52 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ExclusiveOrExpressionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ExclusiveOrExpressionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ExternalIdentifierMapPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ExternalIdentifierMapPropertyAccessor.cs index 7bd33e948..285993468 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ExternalIdentifierMapPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ExternalIdentifierMapPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/FilePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/FilePropertyAccessor.cs index 71a0d90b1..77618a0b9 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/FilePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/FilePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/FileRevisionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/FileRevisionPropertyAccessor.cs index c60c33eb3..99fa41621 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/FileRevisionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/FileRevisionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/FileStorePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/FileStorePropertyAccessor.cs index 6a21cbcc7..413e17a1b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/FileStorePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/FileStorePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/FileTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/FileTypePropertyAccessor.cs index 4d52525e8..7555b97c1 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/FileTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/FileTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -236,6 +238,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/FolderPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/FolderPropertyAccessor.cs index 40cf426b9..12265aafa 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/FolderPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/FolderPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/GenericAnnotationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/GenericAnnotationPropertyAccessor.cs index f334fe042..6497a9973 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/GenericAnnotationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/GenericAnnotationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/GlossaryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/GlossaryPropertyAccessor.cs index d96fd3f0b..a33f426e3 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/GlossaryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/GlossaryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -313,6 +315,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/GoalPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/GoalPropertyAccessor.cs index aca326cab..8251fd242 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/GoalPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/GoalPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -230,6 +232,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/HyperLinkPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/HyperLinkPropertyAccessor.cs index 24f90673f..04a462bd1 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/HyperLinkPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/HyperLinkPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/IdCorrespondencePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/IdCorrespondencePropertyAccessor.cs index 0a7f81278..2b9489e7f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/IdCorrespondencePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/IdCorrespondencePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/IndependentParameterTypeAssignmentPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/IndependentParameterTypeAssignmentPropertyAccessor.cs index 0372253e7..c20e8bf2e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/IndependentParameterTypeAssignmentPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/IndependentParameterTypeAssignmentPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/IntervalScalePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/IntervalScalePropertyAccessor.cs index 6cedca92f..3cf254a0f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/IntervalScalePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/IntervalScalePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -172,6 +174,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/IterationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/IterationPropertyAccessor.cs index cab6abf44..40ac757ed 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/IterationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/IterationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/IterationSetupPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/IterationSetupPropertyAccessor.cs index 34ca344c2..2a1a65c28 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/IterationSetupPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/IterationSetupPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/LinearConversionUnitPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/LinearConversionUnitPropertyAccessor.cs index 74e99eb99..e157abf69 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/LinearConversionUnitPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/LinearConversionUnitPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "conversionfactor": return base.QueryValue(pd.Input); case "definition": @@ -156,6 +158,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "conversionfactor": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; diff --git a/CDP4Common/AutoGenThingPropertyAccessor/LogEntryChangelogItemPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/LogEntryChangelogItemPropertyAccessor.cs index 893a947a6..d8e151591 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/LogEntryChangelogItemPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/LogEntryChangelogItemPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/LogarithmicScalePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/LogarithmicScalePropertyAccessor.cs index 42ea2ffc0..584c0eef4 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/LogarithmicScalePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/LogarithmicScalePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "exponent": @@ -276,6 +278,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "exponent": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/MappingToReferenceScalePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/MappingToReferenceScalePropertyAccessor.cs index 1ab371a04..7240bd78d 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/MappingToReferenceScalePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/MappingToReferenceScalePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/MeasurementScalePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/MeasurementScalePropertyAccessor.cs index f0bf42795..4c7a3211f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/MeasurementScalePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/MeasurementScalePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/MeasurementUnitPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/MeasurementUnitPropertyAccessor.cs index ac0f3add9..bc689699b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/MeasurementUnitPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/MeasurementUnitPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ModelLogEntryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ModelLogEntryPropertyAccessor.cs index 63d5ad509..b6d925bba 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ModelLogEntryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ModelLogEntryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ModelReferenceDataLibraryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ModelReferenceDataLibraryPropertyAccessor.cs index 6da97e735..0ee4ecfa5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ModelReferenceDataLibraryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ModelReferenceDataLibraryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "basequantitykind": return base.QueryValue(pd.Input); case "baseunit": @@ -176,6 +178,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "basequantitykind": return pd.Next == null ? (object) new List() : new DerivedQuantityKind(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "baseunit": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ModellingAnnotationItemPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ModellingAnnotationItemPropertyAccessor.cs index e9bea272f..88d0d6f88 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ModellingAnnotationItemPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ModellingAnnotationItemPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ModellingThingReferencePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ModellingThingReferencePropertyAccessor.cs index 1743c35a2..deb8620e5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ModellingThingReferencePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ModellingThingReferencePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipPropertyAccessor.cs index 236fefe43..155a056e5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipRulePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipRulePropertyAccessor.cs index 5b67bc23b..ffa5f41e8 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipRulePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/MultiRelationshipRulePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -253,6 +255,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/NaturalLanguagePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/NaturalLanguagePropertyAccessor.cs index 767fa8f19..43c224b08 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/NaturalLanguagePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/NaturalLanguagePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/NestedElementPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/NestedElementPropertyAccessor.cs index f0bb8937d..21b1cb617 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/NestedElementPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/NestedElementPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/NestedParameterPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/NestedParameterPropertyAccessor.cs index 634a4d7bd..e80587b12 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/NestedParameterPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/NestedParameterPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/NotExpressionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/NotExpressionPropertyAccessor.cs index 1ae050e14..017b477e5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/NotExpressionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/NotExpressionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/NotePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/NotePropertyAccessor.cs index 1dc2175c8..f6229ad5a 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/NotePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/NotePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/OptionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/OptionPropertyAccessor.cs index 7411c4f49..b822f4ef2 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/OptionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/OptionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -310,6 +312,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/OrExpressionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/OrExpressionPropertyAccessor.cs index 84fbfd87a..17dc8ddf7 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/OrExpressionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/OrExpressionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/OrdinalScalePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/OrdinalScalePropertyAccessor.cs index 2e6061f3a..87f52a95e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/OrdinalScalePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/OrdinalScalePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -175,6 +177,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/OrganizationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/OrganizationPropertyAccessor.cs index ca7495e83..44181f67f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/OrganizationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/OrganizationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/OrganizationalParticipantPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/OrganizationalParticipantPropertyAccessor.cs index 219cfd544..12b13d6b8 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/OrganizationalParticipantPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/OrganizationalParticipantPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/OwnedStylePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/OwnedStylePropertyAccessor.cs index f24736a8b..09a2f832e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/OwnedStylePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/OwnedStylePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PagePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PagePropertyAccessor.cs index f595e4104..fa9b3427a 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PagePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PagePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterBasePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterBasePropertyAccessor.cs index 6cf759931..dc577619c 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterBasePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterBasePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterGroupPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterGroupPropertyAccessor.cs index 7113939e8..0b98034f2 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterGroupPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterGroupPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterOrOverrideBasePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterOrOverrideBasePropertyAccessor.cs index 1b3c47c92..eaccc7d2d 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterOrOverrideBasePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterOrOverrideBasePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverridePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverridePropertyAccessor.cs index c3e41e740..8ee94200d 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverridePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverridePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverrideValueSetPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverrideValueSetPropertyAccessor.cs index 0ef71bbb0..d18411ef0 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverrideValueSetPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterOverrideValueSetPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterPropertyAccessor.cs index cbe7b83ce..2fe003d86 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionPropertyAccessor.cs index 534244c56..1088a6a91 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionValueSetPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionValueSetPropertyAccessor.cs index 7682f4ee0..4bb3244e0 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionValueSetPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterSubscriptionValueSetPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypeComponentPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypeComponentPropertyAccessor.cs index 60e6fef2e..9e7cc0ccd 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypeComponentPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypeComponentPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypePropertyAccessor.cs index 5fed82159..496aa639f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterValuePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterValuePropertyAccessor.cs index 12be09378..ac756f9b3 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterValuePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterValuePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetBasePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetBasePropertyAccessor.cs index f48aee071..ff8992dcc 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetBasePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetBasePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetPropertyAccessor.cs index 0f1fd1de3..3bc5002b4 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterValueSetPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParameterizedCategoryRulePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParameterizedCategoryRulePropertyAccessor.cs index 3f59a8569..1fdcdd00e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParameterizedCategoryRulePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParameterizedCategoryRulePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForReferenceProperty(); @@ -247,6 +249,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": pd.VerifyPropertyDescriptorForReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParametricConstraintPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParametricConstraintPropertyAccessor.cs index e06c7cdc1..9d2bb26b6 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParametricConstraintPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParametricConstraintPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPermissionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPermissionPropertyAccessor.cs index d2d0ee643..5b3945936 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPermissionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPermissionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPropertyAccessor.cs index 2aa0e7a36..a83d67c83 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParticipantPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ParticipantRolePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ParticipantRolePropertyAccessor.cs index 72d03760b..d5c8a254b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ParticipantRolePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ParticipantRolePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -233,6 +235,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PersonPermissionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PersonPermissionPropertyAccessor.cs index 53d0867d0..8c6eed596 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PersonPermissionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PersonPermissionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PersonPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PersonPropertyAccessor.cs index 96340d727..726bfa5a2 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PersonPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PersonPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PersonRolePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PersonRolePropertyAccessor.cs index e3c0f3e34..8339d7232 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PersonRolePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PersonRolePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -233,6 +235,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PointPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PointPropertyAccessor.cs index 8f0a0f250..1069fe495 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PointPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PointPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStateListPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStateListPropertyAccessor.cs index 90ead5763..2305b0757 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStateListPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStateListPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -340,6 +342,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "defaultstate": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStatePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStatePropertyAccessor.cs index a01bee617..ee8168602 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStatePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PossibleFiniteStatePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -165,6 +167,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PrefixedUnitPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PrefixedUnitPropertyAccessor.cs index 3eb7e2fd2..936c131ed 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PrefixedUnitPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PrefixedUnitPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "conversionfactor": pd.VerifyPropertyDescriptorForValueProperty(); return this.ConversionFactor; @@ -174,6 +176,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "conversionfactor": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; diff --git a/CDP4Common/AutoGenThingPropertyAccessor/PublicationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/PublicationPropertyAccessor.cs index f231a49fe..642302308 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/PublicationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/PublicationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindFactorPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindFactorPropertyAccessor.cs index 5b94619e5..fc83b2db6 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindFactorPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindFactorPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindPropertyAccessor.cs index 7405979b3..0786a5efb 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/QuantityKindPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -164,6 +164,8 @@ public override object QueryValue(string path) } return allPossibleScaleNextObjects; + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "defaultscale": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RatioScalePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RatioScalePropertyAccessor.cs index 91530da71..b7873ea33 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RatioScalePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RatioScalePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -172,6 +174,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ReferenceDataLibraryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ReferenceDataLibraryPropertyAccessor.cs index 263e63403..eb20576f5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ReferenceDataLibraryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ReferenceDataLibraryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "basequantitykind": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ReferenceSourcePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ReferenceSourcePropertyAccessor.cs index 6e087ac89..12e05f86b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ReferenceSourcePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ReferenceSourcePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "author": pd.VerifyPropertyDescriptorForValueProperty(); return this.Author; @@ -278,6 +280,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "author": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ReferencerRulePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ReferencerRulePropertyAccessor.cs index e392370e6..e5c08b078 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ReferencerRulePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ReferencerRulePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -253,6 +255,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RelationalExpressionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RelationalExpressionPropertyAccessor.cs index 738cd29c1..ce45f0156 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RelationalExpressionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RelationalExpressionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RelationshipParameterValuePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RelationshipParameterValuePropertyAccessor.cs index 7899ab369..f7d75b159 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RelationshipParameterValuePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RelationshipParameterValuePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RelationshipPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RelationshipPropertyAccessor.cs index 2a028c7d5..afe6eec8f 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RelationshipPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RelationshipPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RequestForDeviationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RequestForDeviationPropertyAccessor.cs index a98a2bf41..15b4a1163 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RequestForDeviationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RequestForDeviationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RequestForWaiverPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RequestForWaiverPropertyAccessor.cs index 524d1e2da..c94972ab9 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RequestForWaiverPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RequestForWaiverPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RequirementPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RequirementPropertyAccessor.cs index f65bff55c..c20ddf4a5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RequirementPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RequirementPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -332,6 +334,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerParameterValuePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerParameterValuePropertyAccessor.cs index 03c1fc9c6..11f0da1a0 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerParameterValuePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerParameterValuePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerPropertyAccessor.cs index 1e17d1c49..82f25859e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsContainerPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsGroupPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsGroupPropertyAccessor.cs index 0af0972f6..e0a0d463d 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsGroupPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsGroupPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -158,6 +160,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsSpecificationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsSpecificationPropertyAccessor.cs index 80c8bd5a0..8fcf75223 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RequirementsSpecificationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RequirementsSpecificationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -241,6 +243,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ReviewItemDiscrepancyPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ReviewItemDiscrepancyPropertyAccessor.cs index c15f1d6ff..a9bacfe2c 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ReviewItemDiscrepancyPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ReviewItemDiscrepancyPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RulePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RulePropertyAccessor.cs index 7a107305d..d9312796e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RulePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RulePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationListPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationListPropertyAccessor.cs index 2f28ef167..0c351db6e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationListPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationListPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -245,6 +247,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationPropertyAccessor.cs index ae02556cc..c0398eff7 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RuleVerificationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/RuleViolationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/RuleViolationPropertyAccessor.cs index fd134afb7..1f6714a80 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/RuleViolationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/RuleViolationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SampledFunctionParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SampledFunctionParameterTypePropertyAccessor.cs index fdcfbe619..fc4fecdc5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SampledFunctionParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SampledFunctionParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -370,6 +372,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ScalarParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ScalarParameterTypePropertyAccessor.cs index ad4e742bb..574a5afce 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ScalarParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ScalarParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ScaleReferenceQuantityValuePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ScaleReferenceQuantityValuePropertyAccessor.cs index aad0df19c..0c5caeebb 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ScaleReferenceQuantityValuePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ScaleReferenceQuantityValuePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ScaleValueDefinitionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ScaleValueDefinitionPropertyAccessor.cs index 0151e3acf..070182331 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ScaleValueDefinitionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ScaleValueDefinitionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -153,6 +155,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SectionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SectionPropertyAccessor.cs index 311a64e05..5d9dffedf 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SectionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SectionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SharedStylePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SharedStylePropertyAccessor.cs index 013a75ef2..79f920c14 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SharedStylePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SharedStylePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterValuePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterValuePropertyAccessor.cs index 3bab7e619..f10d597d9 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterValuePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterValuePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterizableThingPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterizableThingPropertyAccessor.cs index c639f7426..d3a8ba142 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterizableThingPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SimpleParameterizableThingPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SimpleQuantityKindPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SimpleQuantityKindPropertyAccessor.cs index 0bd91d8ab..b39a2e67b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SimpleQuantityKindPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SimpleQuantityKindPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -86,6 +86,8 @@ public override object QueryValue(string path) return base.QueryValue(pd.Input); case "allpossiblescale": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "defaultscale": @@ -172,6 +174,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "allpossiblescale": return pd.Next == null ? (object) new List() : new IntervalScale(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "defaultscale": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SimpleUnitPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SimpleUnitPropertyAccessor.cs index ecdf6d0fb..80a108018 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SimpleUnitPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SimpleUnitPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -152,6 +154,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataAnnotationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataAnnotationPropertyAccessor.cs index 2485ffad7..ec894fda7 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataAnnotationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataAnnotationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataDiscussionItemPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataDiscussionItemPropertyAccessor.cs index eb7c0b467..844363100 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataDiscussionItemPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryDataDiscussionItemPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryPropertyAccessor.cs index eafa37264..1bf6e02e6 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryThingReferencePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryThingReferencePropertyAccessor.cs index 3cf661a02..053eb1863 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryThingReferencePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SiteDirectoryThingReferencePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SiteLogEntryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SiteLogEntryPropertyAccessor.cs index 2a0dc3365..2729fbcc6 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SiteLogEntryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SiteLogEntryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SiteReferenceDataLibraryPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SiteReferenceDataLibraryPropertyAccessor.cs index e6436bd24..2fe2ce154 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SiteReferenceDataLibraryPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SiteReferenceDataLibraryPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "basequantitykind": return base.QueryValue(pd.Input); case "baseunit": @@ -179,6 +181,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "basequantitykind": return pd.Next == null ? (object) new List() : new DerivedQuantityKind(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "baseunit": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SolutionPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SolutionPropertyAccessor.cs index 7f33d1a5f..b71321e9e 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SolutionPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SolutionPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/SpecializedQuantityKindPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/SpecializedQuantityKindPropertyAccessor.cs index 515e0b872..9ba9d7b90 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/SpecializedQuantityKindPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/SpecializedQuantityKindPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -86,6 +86,8 @@ public override object QueryValue(string path) return base.QueryValue(pd.Input); case "allpossiblescale": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "defaultscale": @@ -187,6 +189,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "allpossiblescale": return pd.Next == null ? (object) new List() : new IntervalScale(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "defaultscale": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapPropertyAccessor.cs index a69bdb7b4..7e0f7abf4 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -630,6 +632,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapSettingsPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapSettingsPropertyAccessor.cs index 5b39442b0..63955cd30 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapSettingsPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/StakeHolderValueMapSettingsPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/StakeholderPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/StakeholderPropertyAccessor.cs index 682704937..3898e1141 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/StakeholderPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/StakeholderPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -310,6 +312,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/StakeholderValuePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/StakeholderValuePropertyAccessor.cs index 989cf49f0..239c539f6 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/StakeholderValuePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/StakeholderValuePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -230,6 +232,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/TelephoneNumberPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/TelephoneNumberPropertyAccessor.cs index fce173041..3f1ef6081 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/TelephoneNumberPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/TelephoneNumberPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/TermPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/TermPropertyAccessor.cs index cbc91b312..9a123fed5 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/TermPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/TermPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "definition": return base.QueryValue(pd.Input); case "hyperlink": @@ -153,6 +155,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": return pd.Next == null ? (object) new List() : new Definition(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "hyperlink": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/TextParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/TextParameterTypePropertyAccessor.cs index 379047212..044569b33 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/TextParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/TextParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -158,6 +160,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/TextualNotePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/TextualNotePropertyAccessor.cs index d3515b769..c23ae9445 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/TextualNotePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/TextualNotePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ThingReferencePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ThingReferencePropertyAccessor.cs index c2bfbac74..a3b3aeeff 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ThingReferencePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ThingReferencePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/TimeOfDayParameterTypePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/TimeOfDayParameterTypePropertyAccessor.cs index 812bdd14f..cd6befd46 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/TimeOfDayParameterTypePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/TimeOfDayParameterTypePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": return base.QueryValue(pd.Input); case "definition": @@ -158,6 +160,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4Common/AutoGenThingPropertyAccessor/TopContainerPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/TopContainerPropertyAccessor.cs index 379a98eb9..914e748b7 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/TopContainerPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/TopContainerPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/UnitFactorPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/UnitFactorPropertyAccessor.cs index 3b434a4bc..1cb886f4b 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/UnitFactorPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/UnitFactorPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/UnitPrefixPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/UnitPrefixPropertyAccessor.cs index 81ea60853..8c130acac 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/UnitPrefixPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/UnitPrefixPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "conversionfactor": pd.VerifyPropertyDescriptorForValueProperty(); return this.ConversionFactor; @@ -156,6 +158,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "conversionfactor": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; diff --git a/CDP4Common/AutoGenThingPropertyAccessor/UserPreferencePropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/UserPreferencePropertyAccessor.cs index 0049b3e73..904681a91 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/UserPreferencePropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/UserPreferencePropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/UserRuleVerificationPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/UserRuleVerificationPropertyAccessor.cs index b6225f73f..9cfd8bef0 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/UserRuleVerificationPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/UserRuleVerificationPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ValueGroupPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ValueGroupPropertyAccessor.cs index df8b8f008..c8d6ad9ea 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ValueGroupPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ValueGroupPropertyAccessor.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -84,6 +84,8 @@ public override object QueryValue(string path) return base.QueryThingValues(pd.Input); case "alias": return base.QueryValue(pd.Input); + case "attachment": + return base.QueryValue(pd.Input); case "category": pd.VerifyPropertyDescriptorForEnumerableReferenceProperty(); @@ -230,6 +232,8 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : default(Person); case "alias": return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "attachment": + return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "category": return pd.Next == null ? (object) new List() : new Category(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "definition": diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ActionItemResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ActionItemResolver.cs index 12f4beb26..109738df9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ActionItemResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ActionItemResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateListResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateListResolver.cs index ca3dbc24e..38878374e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateListResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateListResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateResolver.cs index 11f02c17f..a1aa8847d 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ActualFiniteStateResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/AliasResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/AliasResolver.cs index 601c35831..239fe8e8c 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/AliasResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/AliasResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/AndExpressionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/AndExpressionResolver.cs index ea01ef656..fa511bca4 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/AndExpressionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/AndExpressionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ApprovalResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ApprovalResolver.cs index 25487112d..9fc777345 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ApprovalResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ApprovalResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs new file mode 100644 index 000000000..ce202186f --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs @@ -0,0 +1,131 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections.Generic; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the is to deserialize a JSON object to a + /// + public static class ArchitectureDiagramResolver + { + /// + /// Instantiate and deserialize the properties of a + /// + /// The containing the data + /// The to instantiate + public static CDP4Common.DTO.ArchitectureDiagram FromJsonObject(JObject jObject) + { + var iid = jObject["iid"].ToObject(); + var revisionNumber = jObject["revisionNumber"].IsNullOrEmpty() ? 0 : jObject["revisionNumber"].ToObject(); + var architectureDiagram = new CDP4Common.DTO.ArchitectureDiagram(iid, revisionNumber); + + if (!jObject["actor"].IsNullOrEmpty()) + { + architectureDiagram.Actor = jObject["actor"].ToObject(); + } + + if (!jObject["bounds"].IsNullOrEmpty()) + { + architectureDiagram.Bounds.AddRange(jObject["bounds"].ToObject>()); + } + + if (!jObject["createdOn"].IsNullOrEmpty()) + { + architectureDiagram.CreatedOn = jObject["createdOn"].ToObject(); + } + + if (!jObject["description"].IsNullOrEmpty()) + { + architectureDiagram.Description = jObject["description"].ToObject(); + } + + if (!jObject["diagramElement"].IsNullOrEmpty()) + { + architectureDiagram.DiagramElement.AddRange(jObject["diagramElement"].ToObject>()); + } + + if (!jObject["excludedDomain"].IsNullOrEmpty()) + { + architectureDiagram.ExcludedDomain.AddRange(jObject["excludedDomain"].ToObject>()); + } + + if (!jObject["excludedPerson"].IsNullOrEmpty()) + { + architectureDiagram.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); + } + + if (!jObject["modifiedOn"].IsNullOrEmpty()) + { + architectureDiagram.ModifiedOn = jObject["modifiedOn"].ToObject(); + } + + if (!jObject["name"].IsNullOrEmpty()) + { + architectureDiagram.Name = jObject["name"].ToObject(); + } + + if (!jObject["owner"].IsNullOrEmpty()) + { + architectureDiagram.Owner = jObject["owner"].ToObject(); + } + + if (!jObject["publicationState"].IsNullOrEmpty()) + { + architectureDiagram.PublicationState = jObject["publicationState"].ToObject(); + } + + if (!jObject["thingPreference"].IsNullOrEmpty()) + { + architectureDiagram.ThingPreference = jObject["thingPreference"].ToObject(); + } + + if (!jObject["topArchitectureElement"].IsNullOrEmpty()) + { + architectureDiagram.TopArchitectureElement = jObject["topArchitectureElement"].ToObject(); + } + + return architectureDiagram; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureElementResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureElementResolver.cs new file mode 100644 index 000000000..14ffaa5ba --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureElementResolver.cs @@ -0,0 +1,131 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections.Generic; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the is to deserialize a JSON object to a + /// + public static class ArchitectureElementResolver + { + /// + /// Instantiate and deserialize the properties of a + /// + /// The containing the data + /// The to instantiate + public static CDP4Common.DTO.ArchitectureElement FromJsonObject(JObject jObject) + { + var iid = jObject["iid"].ToObject(); + var revisionNumber = jObject["revisionNumber"].IsNullOrEmpty() ? 0 : jObject["revisionNumber"].ToObject(); + var architectureElement = new CDP4Common.DTO.ArchitectureElement(iid, revisionNumber); + + if (!jObject["actor"].IsNullOrEmpty()) + { + architectureElement.Actor = jObject["actor"].ToObject(); + } + + if (!jObject["bounds"].IsNullOrEmpty()) + { + architectureElement.Bounds.AddRange(jObject["bounds"].ToObject>()); + } + + if (!jObject["depictedThing"].IsNullOrEmpty()) + { + architectureElement.DepictedThing = jObject["depictedThing"].ToObject(); + } + + if (!jObject["diagramElement"].IsNullOrEmpty()) + { + architectureElement.DiagramElement.AddRange(jObject["diagramElement"].ToObject>()); + } + + if (!jObject["documentation"].IsNullOrEmpty()) + { + architectureElement.Documentation = jObject["documentation"].ToObject(); + } + + if (!jObject["excludedDomain"].IsNullOrEmpty()) + { + architectureElement.ExcludedDomain.AddRange(jObject["excludedDomain"].ToObject>()); + } + + if (!jObject["excludedPerson"].IsNullOrEmpty()) + { + architectureElement.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); + } + + if (!jObject["localStyle"].IsNullOrEmpty()) + { + architectureElement.LocalStyle.AddRange(jObject["localStyle"].ToObject>()); + } + + if (!jObject["modifiedOn"].IsNullOrEmpty()) + { + architectureElement.ModifiedOn = jObject["modifiedOn"].ToObject(); + } + + if (!jObject["name"].IsNullOrEmpty()) + { + architectureElement.Name = jObject["name"].ToObject(); + } + + if (!jObject["resolution"].IsNullOrEmpty()) + { + architectureElement.Resolution = jObject["resolution"].ToObject(); + } + + if (!jObject["sharedStyle"].IsNullOrEmpty()) + { + architectureElement.SharedStyle = jObject["sharedStyle"].ToObject(); + } + + if (!jObject["thingPreference"].IsNullOrEmpty()) + { + architectureElement.ThingPreference = jObject["thingPreference"].ToObject(); + } + + return architectureElement; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArrayParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArrayParameterTypeResolver.cs index 80af4fa45..8b684fc1b 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArrayParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArrayParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ArrayParameterType FromJsonObject(JObject jObject) arrayParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + arrayParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { arrayParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/AttachmentResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/AttachmentResolver.cs new file mode 100644 index 000000000..22b28f4e4 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/AttachmentResolver.cs @@ -0,0 +1,106 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections.Generic; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the is to deserialize a JSON object to a + /// + public static class AttachmentResolver + { + /// + /// Instantiate and deserialize the properties of a + /// + /// The containing the data + /// The to instantiate + public static CDP4Common.DTO.Attachment FromJsonObject(JObject jObject) + { + var iid = jObject["iid"].ToObject(); + var revisionNumber = jObject["revisionNumber"].IsNullOrEmpty() ? 0 : jObject["revisionNumber"].ToObject(); + var attachment = new CDP4Common.DTO.Attachment(iid, revisionNumber); + + if (!jObject["actor"].IsNullOrEmpty()) + { + attachment.Actor = jObject["actor"].ToObject(); + } + + if (!jObject["contentHash"].IsNullOrEmpty()) + { + attachment.ContentHash = jObject["contentHash"].ToObject(); + } + + if (!jObject["excludedDomain"].IsNullOrEmpty()) + { + attachment.ExcludedDomain.AddRange(jObject["excludedDomain"].ToObject>()); + } + + if (!jObject["excludedPerson"].IsNullOrEmpty()) + { + attachment.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); + } + + if (!jObject["fileName"].IsNullOrEmpty()) + { + attachment.FileName = jObject["fileName"].ToObject(); + } + + if (!jObject["fileType"].IsNullOrEmpty()) + { + attachment.FileType.AddRange(jObject["fileType"].ToObject>()); + } + + if (!jObject["modifiedOn"].IsNullOrEmpty()) + { + attachment.ModifiedOn = jObject["modifiedOn"].ToObject(); + } + + if (!jObject["thingPreference"].IsNullOrEmpty()) + { + attachment.ThingPreference = jObject["thingPreference"].ToObject(); + } + + return attachment; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BehaviorResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BehaviorResolver.cs new file mode 100644 index 000000000..b4fe2b9f4 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BehaviorResolver.cs @@ -0,0 +1,136 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections.Generic; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the is to deserialize a JSON object to a + /// + public static class BehaviorResolver + { + /// + /// Instantiate and deserialize the properties of a + /// + /// The containing the data + /// The to instantiate + public static CDP4Common.DTO.Behavior FromJsonObject(JObject jObject) + { + var iid = jObject["iid"].ToObject(); + var revisionNumber = jObject["revisionNumber"].IsNullOrEmpty() ? 0 : jObject["revisionNumber"].ToObject(); + var behavior = new CDP4Common.DTO.Behavior(iid, revisionNumber); + + if (!jObject["actor"].IsNullOrEmpty()) + { + behavior.Actor = jObject["actor"].ToObject(); + } + + if (!jObject["alias"].IsNullOrEmpty()) + { + behavior.Alias.AddRange(jObject["alias"].ToObject>()); + } + + if (!jObject["attachment"].IsNullOrEmpty()) + { + behavior.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + + if (!jObject["behavioralModelKind"].IsNullOrEmpty()) + { + behavior.BehavioralModelKind = jObject["behavioralModelKind"].ToObject(); + } + + if (!jObject["behavioralParameter"].IsNullOrEmpty()) + { + behavior.BehavioralParameter.AddRange(jObject["behavioralParameter"].ToObject>()); + } + + if (!jObject["definition"].IsNullOrEmpty()) + { + behavior.Definition.AddRange(jObject["definition"].ToObject>()); + } + + if (!jObject["excludedDomain"].IsNullOrEmpty()) + { + behavior.ExcludedDomain.AddRange(jObject["excludedDomain"].ToObject>()); + } + + if (!jObject["excludedPerson"].IsNullOrEmpty()) + { + behavior.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); + } + + if (!jObject["hyperLink"].IsNullOrEmpty()) + { + behavior.HyperLink.AddRange(jObject["hyperLink"].ToObject>()); + } + + if (!jObject["modifiedOn"].IsNullOrEmpty()) + { + behavior.ModifiedOn = jObject["modifiedOn"].ToObject(); + } + + if (!jObject["name"].IsNullOrEmpty()) + { + behavior.Name = jObject["name"].ToObject(); + } + + if (!jObject["script"].IsNullOrEmpty()) + { + behavior.Script = jObject["script"].ToObject(); + } + + if (!jObject["shortName"].IsNullOrEmpty()) + { + behavior.ShortName = jObject["shortName"].ToObject(); + } + + if (!jObject["thingPreference"].IsNullOrEmpty()) + { + behavior.ThingPreference = jObject["thingPreference"].ToObject(); + } + + return behavior; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BehavioralParameterResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BehavioralParameterResolver.cs new file mode 100644 index 000000000..ea56e8a68 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BehavioralParameterResolver.cs @@ -0,0 +1,106 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections.Generic; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the is to deserialize a JSON object to a + /// + public static class BehavioralParameterResolver + { + /// + /// Instantiate and deserialize the properties of a + /// + /// The containing the data + /// The to instantiate + public static CDP4Common.DTO.BehavioralParameter FromJsonObject(JObject jObject) + { + var iid = jObject["iid"].ToObject(); + var revisionNumber = jObject["revisionNumber"].IsNullOrEmpty() ? 0 : jObject["revisionNumber"].ToObject(); + var behavioralParameter = new CDP4Common.DTO.BehavioralParameter(iid, revisionNumber); + + if (!jObject["actor"].IsNullOrEmpty()) + { + behavioralParameter.Actor = jObject["actor"].ToObject(); + } + + if (!jObject["behavioralParameterKind"].IsNullOrEmpty()) + { + behavioralParameter.BehavioralParameterKind = jObject["behavioralParameterKind"].ToObject(); + } + + if (!jObject["excludedDomain"].IsNullOrEmpty()) + { + behavioralParameter.ExcludedDomain.AddRange(jObject["excludedDomain"].ToObject>()); + } + + if (!jObject["excludedPerson"].IsNullOrEmpty()) + { + behavioralParameter.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); + } + + if (!jObject["modifiedOn"].IsNullOrEmpty()) + { + behavioralParameter.ModifiedOn = jObject["modifiedOn"].ToObject(); + } + + if (!jObject["parameter"].IsNullOrEmpty()) + { + behavioralParameter.Parameter = jObject["parameter"].ToObject(); + } + + if (!jObject["thingPreference"].IsNullOrEmpty()) + { + behavioralParameter.ThingPreference = jObject["thingPreference"].ToObject(); + } + + if (!jObject["variableName"].IsNullOrEmpty()) + { + behavioralParameter.VariableName = jObject["variableName"].ToObject(); + } + + return behavioralParameter; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryNoteResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryNoteResolver.cs index 12f8f7613..adddc02b7 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryNoteResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryNoteResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipResolver.cs index abbc98d50..1249cd818 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipRuleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipRuleResolver.cs index a98ccc863..c6b6d03fa 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipRuleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BinaryRelationshipRuleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.BinaryRelationshipRule FromJsonObject(JObject jObje binaryRelationshipRule.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + binaryRelationshipRule.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { binaryRelationshipRule.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BookResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BookResolver.cs index de63bcbbd..e927e281f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/BookResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BookResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BooleanParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BooleanParameterTypeResolver.cs index 369e4a6f4..c65b9855d 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/BooleanParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BooleanParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.BooleanParameterType FromJsonObject(JObject jObject booleanParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + booleanParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { booleanParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BoundsResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BoundsResolver.cs index ce8640827..4c13b2353 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/BoundsResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BoundsResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/BuiltInRuleVerificationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/BuiltInRuleVerificationResolver.cs index 474cbd6c6..8750d6fb4 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/BuiltInRuleVerificationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/BuiltInRuleVerificationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/CategoryResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/CategoryResolver.cs index 660ad2650..a623042b2 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/CategoryResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/CategoryResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Category FromJsonObject(JObject jObject) category.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + category.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { category.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeProposalResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeProposalResolver.cs index 3bb8d36cc..7df360109 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeProposalResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeProposalResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeRequestResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeRequestResolver.cs index 39d40aea3..d3172dc08 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeRequestResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ChangeRequestResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/CitationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/CitationResolver.cs index f26d8aa6f..f7946b316 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/CitationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/CitationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ColorResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ColorResolver.cs index 187ad15ca..729815528 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ColorResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ColorResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/CommonFileStoreResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/CommonFileStoreResolver.cs index c908c9a85..dd3eedb3f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/CommonFileStoreResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/CommonFileStoreResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/CompoundParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/CompoundParameterTypeResolver.cs index 6eb3f16bf..c5e719b8c 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/CompoundParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/CompoundParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.CompoundParameterType FromJsonObject(JObject jObjec compoundParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + compoundParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { compoundParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ConstantResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ConstantResolver.cs index 282c63007..5bd71e6ba 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ConstantResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ConstantResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Constant FromJsonObject(JObject jObject) constant.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + constant.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { constant.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ContractChangeNoticeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ContractChangeNoticeResolver.cs index dffd7f9fb..343636ad1 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ContractChangeNoticeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ContractChangeNoticeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/CyclicRatioScaleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/CyclicRatioScaleResolver.cs index b9a51d584..e98541b2e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/CyclicRatioScaleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/CyclicRatioScaleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.CyclicRatioScale FromJsonObject(JObject jObject) cyclicRatioScale.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + cyclicRatioScale.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { cyclicRatioScale.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DateParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DateParameterTypeResolver.cs index 964d4dc10..164ac4a04 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DateParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DateParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.DateParameterType FromJsonObject(JObject jObject) dateParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + dateParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { dateParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DateTimeParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DateTimeParameterTypeResolver.cs index 5e06047d3..26f52fcac 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DateTimeParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DateTimeParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.DateTimeParameterType FromJsonObject(JObject jObjec dateTimeParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + dateTimeParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { dateTimeParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DecompositionRuleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DecompositionRuleResolver.cs index 525a3d409..3d1a149a1 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DecompositionRuleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DecompositionRuleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.DecompositionRule FromJsonObject(JObject jObject) decompositionRule.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + decompositionRule.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["containedCategory"].IsNullOrEmpty()) { decompositionRule.ContainedCategory.AddRange(jObject["containedCategory"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DefinitionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DefinitionResolver.cs index 4fe20140d..99eca8f92 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DefinitionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DefinitionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DependentParameterTypeAssignmentResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DependentParameterTypeAssignmentResolver.cs index 26f651b42..792b2f944 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DependentParameterTypeAssignmentResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DependentParameterTypeAssignmentResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedQuantityKindResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedQuantityKindResolver.cs index 83c4c7fdd..f93081880 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedQuantityKindResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedQuantityKindResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.DerivedQuantityKind FromJsonObject(JObject jObject) derivedQuantityKind.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + derivedQuantityKind.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { derivedQuantityKind.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedUnitResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedUnitResolver.cs index 3a55dcad1..75fd5f292 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedUnitResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DerivedUnitResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.DerivedUnit FromJsonObject(JObject jObject) derivedUnit.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + derivedUnit.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { derivedUnit.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs index a42335a3a..a34c642d1 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -70,6 +71,11 @@ public static CDP4Common.DTO.DiagramCanvas FromJsonObject(JObject jObject) diagramCanvas.CreatedOn = jObject["createdOn"].ToObject(); } + if (!jObject["description"].IsNullOrEmpty()) + { + diagramCanvas.Description = jObject["description"].ToObject(); + } + if (!jObject["diagramElement"].IsNullOrEmpty()) { diagramCanvas.DiagramElement.AddRange(jObject["diagramElement"].ToObject>()); @@ -95,6 +101,11 @@ public static CDP4Common.DTO.DiagramCanvas FromJsonObject(JObject jObject) diagramCanvas.Name = jObject["name"].ToObject(); } + if (!jObject["publicationState"].IsNullOrEmpty()) + { + diagramCanvas.PublicationState = jObject["publicationState"].ToObject(); + } + if (!jObject["thingPreference"].IsNullOrEmpty()) { diagramCanvas.ThingPreference = jObject["thingPreference"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramEdgeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramEdgeResolver.cs index 1ade8376c..e9175a592 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramEdgeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramEdgeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramFrameResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramFrameResolver.cs new file mode 100644 index 000000000..cd0a43db3 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramFrameResolver.cs @@ -0,0 +1,121 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections.Generic; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the is to deserialize a JSON object to a + /// + public static class DiagramFrameResolver + { + /// + /// Instantiate and deserialize the properties of a + /// + /// The containing the data + /// The to instantiate + public static CDP4Common.DTO.DiagramFrame FromJsonObject(JObject jObject) + { + var iid = jObject["iid"].ToObject(); + var revisionNumber = jObject["revisionNumber"].IsNullOrEmpty() ? 0 : jObject["revisionNumber"].ToObject(); + var diagramFrame = new CDP4Common.DTO.DiagramFrame(iid, revisionNumber); + + if (!jObject["actor"].IsNullOrEmpty()) + { + diagramFrame.Actor = jObject["actor"].ToObject(); + } + + if (!jObject["bounds"].IsNullOrEmpty()) + { + diagramFrame.Bounds.AddRange(jObject["bounds"].ToObject>()); + } + + if (!jObject["depictedThing"].IsNullOrEmpty()) + { + diagramFrame.DepictedThing = jObject["depictedThing"].ToObject(); + } + + if (!jObject["diagramElement"].IsNullOrEmpty()) + { + diagramFrame.DiagramElement.AddRange(jObject["diagramElement"].ToObject>()); + } + + if (!jObject["excludedDomain"].IsNullOrEmpty()) + { + diagramFrame.ExcludedDomain.AddRange(jObject["excludedDomain"].ToObject>()); + } + + if (!jObject["excludedPerson"].IsNullOrEmpty()) + { + diagramFrame.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); + } + + if (!jObject["localStyle"].IsNullOrEmpty()) + { + diagramFrame.LocalStyle.AddRange(jObject["localStyle"].ToObject>()); + } + + if (!jObject["modifiedOn"].IsNullOrEmpty()) + { + diagramFrame.ModifiedOn = jObject["modifiedOn"].ToObject(); + } + + if (!jObject["name"].IsNullOrEmpty()) + { + diagramFrame.Name = jObject["name"].ToObject(); + } + + if (!jObject["sharedStyle"].IsNullOrEmpty()) + { + diagramFrame.SharedStyle = jObject["sharedStyle"].ToObject(); + } + + if (!jObject["thingPreference"].IsNullOrEmpty()) + { + diagramFrame.ThingPreference = jObject["thingPreference"].ToObject(); + } + + return diagramFrame; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramObjectResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramObjectResolver.cs index 7569ca9ba..e7ce01465 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramObjectResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramObjectResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramPortResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramPortResolver.cs new file mode 100644 index 000000000..1735053a0 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramPortResolver.cs @@ -0,0 +1,121 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections.Generic; + + using CDP4Common.CommonData; + using CDP4Common.DiagramData; + using CDP4Common.EngineeringModelData; + using CDP4Common.ReportingData; + using CDP4Common.SiteDirectoryData; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the is to deserialize a JSON object to a + /// + public static class DiagramPortResolver + { + /// + /// Instantiate and deserialize the properties of a + /// + /// The containing the data + /// The to instantiate + public static CDP4Common.DTO.DiagramPort FromJsonObject(JObject jObject) + { + var iid = jObject["iid"].ToObject(); + var revisionNumber = jObject["revisionNumber"].IsNullOrEmpty() ? 0 : jObject["revisionNumber"].ToObject(); + var diagramPort = new CDP4Common.DTO.DiagramPort(iid, revisionNumber); + + if (!jObject["actor"].IsNullOrEmpty()) + { + diagramPort.Actor = jObject["actor"].ToObject(); + } + + if (!jObject["bounds"].IsNullOrEmpty()) + { + diagramPort.Bounds.AddRange(jObject["bounds"].ToObject>()); + } + + if (!jObject["depictedThing"].IsNullOrEmpty()) + { + diagramPort.DepictedThing = jObject["depictedThing"].ToObject(); + } + + if (!jObject["diagramElement"].IsNullOrEmpty()) + { + diagramPort.DiagramElement.AddRange(jObject["diagramElement"].ToObject>()); + } + + if (!jObject["excludedDomain"].IsNullOrEmpty()) + { + diagramPort.ExcludedDomain.AddRange(jObject["excludedDomain"].ToObject>()); + } + + if (!jObject["excludedPerson"].IsNullOrEmpty()) + { + diagramPort.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); + } + + if (!jObject["localStyle"].IsNullOrEmpty()) + { + diagramPort.LocalStyle.AddRange(jObject["localStyle"].ToObject>()); + } + + if (!jObject["modifiedOn"].IsNullOrEmpty()) + { + diagramPort.ModifiedOn = jObject["modifiedOn"].ToObject(); + } + + if (!jObject["name"].IsNullOrEmpty()) + { + diagramPort.Name = jObject["name"].ToObject(); + } + + if (!jObject["sharedStyle"].IsNullOrEmpty()) + { + diagramPort.SharedStyle = jObject["sharedStyle"].ToObject(); + } + + if (!jObject["thingPreference"].IsNullOrEmpty()) + { + diagramPort.ThingPreference = jObject["thingPreference"].ToObject(); + } + + return diagramPort; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainFileStoreResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainFileStoreResolver.cs index 86f060cae..88fc3c3d1 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainFileStoreResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainFileStoreResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseGroupResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseGroupResolver.cs index e8e10c972..34ab36ead 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseGroupResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseGroupResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.DomainOfExpertiseGroup FromJsonObject(JObject jObje domainOfExpertiseGroup.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + domainOfExpertiseGroup.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { domainOfExpertiseGroup.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseResolver.cs index 4a967c2e1..4321e83bd 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DomainOfExpertiseResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.DomainOfExpertise FromJsonObject(JObject jObject) domainOfExpertise.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + domainOfExpertise.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { domainOfExpertise.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DtoFactory.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DtoFactory.cs index 9ff256d51..6ff0c24ef 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DtoFactory.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DtoFactory.cs @@ -2,17 +2,18 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -51,7 +52,12 @@ public static class DtoFactory { "Alias", AliasResolver.FromJsonObject }, { "AndExpression", AndExpressionResolver.FromJsonObject }, { "Approval", ApprovalResolver.FromJsonObject }, + { "ArchitectureDiagram", ArchitectureDiagramResolver.FromJsonObject }, + { "ArchitectureElement", ArchitectureElementResolver.FromJsonObject }, { "ArrayParameterType", ArrayParameterTypeResolver.FromJsonObject }, + { "Attachment", AttachmentResolver.FromJsonObject }, + { "Behavior", BehaviorResolver.FromJsonObject }, + { "BehavioralParameter", BehavioralParameterResolver.FromJsonObject }, { "BinaryNote", BinaryNoteResolver.FromJsonObject }, { "BinaryRelationship", BinaryRelationshipResolver.FromJsonObject }, { "BinaryRelationshipRule", BinaryRelationshipRuleResolver.FromJsonObject }, @@ -78,7 +84,9 @@ public static class DtoFactory { "DerivedUnit", DerivedUnitResolver.FromJsonObject }, { "DiagramCanvas", DiagramCanvasResolver.FromJsonObject }, { "DiagramEdge", DiagramEdgeResolver.FromJsonObject }, + { "DiagramFrame", DiagramFrameResolver.FromJsonObject }, { "DiagramObject", DiagramObjectResolver.FromJsonObject }, + { "DiagramPort", DiagramPortResolver.FromJsonObject }, { "DomainFileStore", DomainFileStoreResolver.FromJsonObject }, { "DomainOfExpertise", DomainOfExpertiseResolver.FromJsonObject }, { "DomainOfExpertiseGroup", DomainOfExpertiseGroupResolver.FromJsonObject }, diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementDefinitionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementDefinitionResolver.cs index 27df1b5d1..0ff1468ac 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementDefinitionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementDefinitionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,16 @@ public static CDP4Common.DTO.ElementDefinition FromJsonObject(JObject jObject) elementDefinition.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + elementDefinition.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + + if (!jObject["behavior"].IsNullOrEmpty()) + { + elementDefinition.Behavior.AddRange(jObject["behavior"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { elementDefinition.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementUsageResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementUsageResolver.cs index fcd002488..66989119a 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementUsageResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ElementUsageResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ElementUsage FromJsonObject(JObject jObject) elementUsage.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + elementUsage.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { elementUsage.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EmailAddressResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EmailAddressResolver.cs index f9ad1c2fe..e79b96de9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EmailAddressResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EmailAddressResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataDiscussionItemResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataDiscussionItemResolver.cs index 46728856a..d17a32b0f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataDiscussionItemResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataDiscussionItemResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataNoteResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataNoteResolver.cs index 409a21d17..d827b0bcb 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataNoteResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelDataNoteResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelResolver.cs index 10f480a5e..1807549b2 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs index 64efc44ba..2c2f8a62d 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -70,6 +71,11 @@ public static CDP4Common.DTO.EngineeringModelSetup FromJsonObject(JObject jObjec engineeringModelSetup.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + engineeringModelSetup.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["defaultOrganizationalParticipant"].IsNullOrEmpty()) { engineeringModelSetup.DefaultOrganizationalParticipant = jObject["defaultOrganizationalParticipant"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationParameterTypeResolver.cs index 54ddc8d5b..efd8350f4 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -70,6 +71,11 @@ public static CDP4Common.DTO.EnumerationParameterType FromJsonObject(JObject jOb enumerationParameterType.AllowMultiSelect = jObject["allowMultiSelect"].ToObject(); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + enumerationParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { enumerationParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationValueDefinitionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationValueDefinitionResolver.cs index 5b475059b..cfe858d2f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationValueDefinitionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EnumerationValueDefinitionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.EnumerationValueDefinition FromJsonObject(JObject j enumerationValueDefinition.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + enumerationValueDefinition.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { enumerationValueDefinition.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ExclusiveOrExpressionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ExclusiveOrExpressionResolver.cs index 9708214d8..dff3dd5d0 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ExclusiveOrExpressionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ExclusiveOrExpressionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ExternalIdentifierMapResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ExternalIdentifierMapResolver.cs index f168262a2..bd64853a6 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ExternalIdentifierMapResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ExternalIdentifierMapResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/FileResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/FileResolver.cs index f3256bef9..4f4030f59 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/FileResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/FileResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/FileRevisionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/FileRevisionResolver.cs index 972ac1e0a..70c42e1f3 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/FileRevisionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/FileRevisionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/FileTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/FileTypeResolver.cs index 323d805cf..0eeb5b9fb 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/FileTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/FileTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.FileType FromJsonObject(JObject jObject) fileType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + fileType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { fileType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/FolderResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/FolderResolver.cs index 4fbc9d09a..9a6199ab1 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/FolderResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/FolderResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/GlossaryResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/GlossaryResolver.cs index 2032ed59d..ac5997282 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/GlossaryResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/GlossaryResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Glossary FromJsonObject(JObject jObject) glossary.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + glossary.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { glossary.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/GoalResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/GoalResolver.cs index b1a0e8b94..4cdce5388 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/GoalResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/GoalResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Goal FromJsonObject(JObject jObject) goal.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + goal.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { goal.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/HyperLinkResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/HyperLinkResolver.cs index 05bb163bf..5a40c3693 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/HyperLinkResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/HyperLinkResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/IdCorrespondenceResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/IdCorrespondenceResolver.cs index 3cffd872f..b15d46bfa 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/IdCorrespondenceResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/IdCorrespondenceResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/IndependentParameterTypeAssignmentResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/IndependentParameterTypeAssignmentResolver.cs index 21471938e..49941bcc8 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/IndependentParameterTypeAssignmentResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/IndependentParameterTypeAssignmentResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/IntervalScaleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/IntervalScaleResolver.cs index 7b96dc691..d16d00536 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/IntervalScaleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/IntervalScaleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.IntervalScale FromJsonObject(JObject jObject) intervalScale.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + intervalScale.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { intervalScale.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationResolver.cs index 72117f3b8..69f0aac7b 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationSetupResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationSetupResolver.cs index 16ad67577..78af5e56a 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationSetupResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/IterationSetupResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/LinearConversionUnitResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/LinearConversionUnitResolver.cs index d2f22db3a..ff692f5a9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/LinearConversionUnitResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/LinearConversionUnitResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.LinearConversionUnit FromJsonObject(JObject jObject linearConversionUnit.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + linearConversionUnit.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["conversionFactor"].IsNullOrEmpty()) { linearConversionUnit.ConversionFactor = jObject["conversionFactor"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/LogEntryChangelogItemResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/LogEntryChangelogItemResolver.cs index 3f57890f2..bb19a66bd 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/LogEntryChangelogItemResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/LogEntryChangelogItemResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/LogarithmicScaleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/LogarithmicScaleResolver.cs index d4eeb426b..f3395c153 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/LogarithmicScaleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/LogarithmicScaleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.LogarithmicScale FromJsonObject(JObject jObject) logarithmicScale.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + logarithmicScale.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { logarithmicScale.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/MappingToReferenceScaleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/MappingToReferenceScaleResolver.cs index 6b91d30e1..fdb89966c 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/MappingToReferenceScaleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/MappingToReferenceScaleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelLogEntryResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelLogEntryResolver.cs index b50df3680..f99c9f951 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelLogEntryResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelLogEntryResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelReferenceDataLibraryResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelReferenceDataLibraryResolver.cs index 3b5e3f44c..6ad98f57b 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelReferenceDataLibraryResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ModelReferenceDataLibraryResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ModelReferenceDataLibrary FromJsonObject(JObject jO modelReferenceDataLibrary.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + modelReferenceDataLibrary.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["baseQuantityKind"].IsNullOrEmpty()) { modelReferenceDataLibrary.BaseQuantityKind.AddRange(jObject["baseQuantityKind"].ToOrderedItemCollection()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ModellingThingReferenceResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ModellingThingReferenceResolver.cs index 498265b12..d5b63f225 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ModellingThingReferenceResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ModellingThingReferenceResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipResolver.cs index 868696aa7..f8ab499cf 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipRuleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipRuleResolver.cs index 923a693e7..0d41ac53b 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipRuleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/MultiRelationshipRuleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.MultiRelationshipRule FromJsonObject(JObject jObjec multiRelationshipRule.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + multiRelationshipRule.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { multiRelationshipRule.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/NaturalLanguageResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/NaturalLanguageResolver.cs index 0d5981694..f4c0f5948 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/NaturalLanguageResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/NaturalLanguageResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedElementResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedElementResolver.cs index 271d8daf5..3a7918106 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedElementResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedElementResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedParameterResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedParameterResolver.cs index 985c18012..541dbd88a 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedParameterResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/NestedParameterResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/NotExpressionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/NotExpressionResolver.cs index 6dbdea5c8..4cbe307df 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/NotExpressionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/NotExpressionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/OptionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/OptionResolver.cs index e02366310..11d7839a7 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/OptionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/OptionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Option FromJsonObject(JObject jObject) option.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + option.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { option.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrExpressionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrExpressionResolver.cs index d91451ac6..f5fb5c932 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrExpressionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrExpressionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrdinalScaleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrdinalScaleResolver.cs index 7d568acd9..494ebb585 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrdinalScaleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrdinalScaleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.OrdinalScale FromJsonObject(JObject jObject) ordinalScale.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + ordinalScale.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { ordinalScale.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationResolver.cs index fc82ad34b..192f6ced4 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationalParticipantResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationalParticipantResolver.cs index 5fa3f94d0..8594f006b 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationalParticipantResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/OrganizationalParticipantResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/OwnedStyleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/OwnedStyleResolver.cs index fad8d6e57..c8c3e8404 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/OwnedStyleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/OwnedStyleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PageResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PageResolver.cs index 66ccfbaaa..9daa1ca48 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PageResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PageResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterGroupResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterGroupResolver.cs index 5d624fd21..ac043f16f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterGroupResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterGroupResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideResolver.cs index aabfdc220..5e34c9486 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideValueSetResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideValueSetResolver.cs index 99e36d494..bb5fc2fb8 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideValueSetResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterOverrideValueSetResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterResolver.cs index 124d4eaa6..6e6a3616e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionResolver.cs index eced250bd..a361bdc25 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionValueSetResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionValueSetResolver.cs index f7e18d00d..27d589d9c 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionValueSetResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterSubscriptionValueSetResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterTypeComponentResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterTypeComponentResolver.cs index 6dbd6614b..663530627 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterTypeComponentResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterTypeComponentResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterValueSetResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterValueSetResolver.cs index 9a7cc5016..f899d8ff6 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterValueSetResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterValueSetResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterizedCategoryRuleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterizedCategoryRuleResolver.cs index fdb38aa5b..ee5de3abe 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterizedCategoryRuleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParameterizedCategoryRuleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ParameterizedCategoryRule FromJsonObject(JObject jO parameterizedCategoryRule.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + parameterizedCategoryRule.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { parameterizedCategoryRule.Category = jObject["category"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParametricConstraintResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParametricConstraintResolver.cs index 46f4fea29..22ef5ca87 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParametricConstraintResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParametricConstraintResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantPermissionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantPermissionResolver.cs index 217214995..68fd3d0d2 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantPermissionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantPermissionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantResolver.cs index c679f694c..e35f75c64 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantRoleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantRoleResolver.cs index d0ee24c56..11bd39374 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantRoleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ParticipantRoleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ParticipantRole FromJsonObject(JObject jObject) participantRole.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + participantRole.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { participantRole.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonPermissionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonPermissionResolver.cs index 09be84327..58778996e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonPermissionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonPermissionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonResolver.cs index b2e10cf76..df543047e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonRoleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonRoleResolver.cs index ba1463cb2..6395e2229 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonRoleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PersonRoleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.PersonRole FromJsonObject(JObject jObject) personRole.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + personRole.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { personRole.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PointResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PointResolver.cs index 181107f48..08dede2a8 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PointResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PointResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateListResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateListResolver.cs index a98be4967..add83872f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateListResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateListResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.PossibleFiniteStateList FromJsonObject(JObject jObj possibleFiniteStateList.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + possibleFiniteStateList.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { possibleFiniteStateList.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateResolver.cs index e0a389897..9c4b04e7c 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PossibleFiniteStateResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.PossibleFiniteState FromJsonObject(JObject jObject) possibleFiniteState.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + possibleFiniteState.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { possibleFiniteState.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PrefixedUnitResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PrefixedUnitResolver.cs index 169c75fc7..b31bcdbee 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PrefixedUnitResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PrefixedUnitResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.PrefixedUnit FromJsonObject(JObject jObject) prefixedUnit.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + prefixedUnit.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { prefixedUnit.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/PublicationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/PublicationResolver.cs index e583d5355..16b9be2a4 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/PublicationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/PublicationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/QuantityKindFactorResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/QuantityKindFactorResolver.cs index 83a1d1442..032e5e4e0 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/QuantityKindFactorResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/QuantityKindFactorResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RatioScaleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RatioScaleResolver.cs index 4769b83b3..0aa7514f3 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RatioScaleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RatioScaleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.RatioScale FromJsonObject(JObject jObject) ratioScale.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + ratioScale.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { ratioScale.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferenceSourceResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferenceSourceResolver.cs index 5288cfaed..cf9596b93 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferenceSourceResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferenceSourceResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ReferenceSource FromJsonObject(JObject jObject) referenceSource.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + referenceSource.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["author"].IsNullOrEmpty()) { referenceSource.Author = jObject["author"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferencerRuleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferencerRuleResolver.cs index 457e04d20..2a5a8aff7 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferencerRuleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ReferencerRuleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ReferencerRule FromJsonObject(JObject jObject) referencerRule.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + referencerRule.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { referencerRule.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationalExpressionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationalExpressionResolver.cs index 3dbc0bd33..074e70b54 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationalExpressionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationalExpressionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationshipParameterValueResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationshipParameterValueResolver.cs index 37c46402e..ca0a0d014 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationshipParameterValueResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RelationshipParameterValueResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForDeviationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForDeviationResolver.cs index 634e54c22..376c5bd3c 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForDeviationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForDeviationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForWaiverResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForWaiverResolver.cs index 81baab755..834b438c9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForWaiverResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequestForWaiverResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementResolver.cs index 56507b5c4..62fc7d474 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Requirement FromJsonObject(JObject jObject) requirement.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + requirement.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { requirement.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsContainerParameterValueResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsContainerParameterValueResolver.cs index fc1aa8458..29656ee03 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsContainerParameterValueResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsContainerParameterValueResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsGroupResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsGroupResolver.cs index acbf824eb..6a6585f92 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsGroupResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsGroupResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.RequirementsGroup FromJsonObject(JObject jObject) requirementsGroup.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + requirementsGroup.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { requirementsGroup.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsSpecificationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsSpecificationResolver.cs index 5a5b62c77..bac2db5f7 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsSpecificationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RequirementsSpecificationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.RequirementsSpecification FromJsonObject(JObject jO requirementsSpecification.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + requirementsSpecification.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { requirementsSpecification.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ReviewItemDiscrepancyResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ReviewItemDiscrepancyResolver.cs index 27509f2b4..397120ca7 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ReviewItemDiscrepancyResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ReviewItemDiscrepancyResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleVerificationListResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleVerificationListResolver.cs index cf67bfc75..6d004b9dc 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleVerificationListResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleVerificationListResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.RuleVerificationList FromJsonObject(JObject jObject ruleVerificationList.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + ruleVerificationList.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { ruleVerificationList.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleViolationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleViolationResolver.cs index d2a0bf8dc..a40291a17 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleViolationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/RuleViolationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SampledFunctionParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SampledFunctionParameterTypeResolver.cs index a20356d1c..6019d3d21 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SampledFunctionParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SampledFunctionParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.SampledFunctionParameterType FromJsonObject(JObject sampledFunctionParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + sampledFunctionParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { sampledFunctionParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleReferenceQuantityValueResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleReferenceQuantityValueResolver.cs index 99820ab71..575c4ab6e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleReferenceQuantityValueResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleReferenceQuantityValueResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleValueDefinitionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleValueDefinitionResolver.cs index 1c92f405c..015a759e9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleValueDefinitionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ScaleValueDefinitionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ScaleValueDefinition FromJsonObject(JObject jObject scaleValueDefinition.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + scaleValueDefinition.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { scaleValueDefinition.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SectionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SectionResolver.cs index 5a1501b5b..68fb464db 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SectionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SectionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SharedStyleResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SharedStyleResolver.cs index e0a418fda..071fd9529 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SharedStyleResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SharedStyleResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleParameterValueResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleParameterValueResolver.cs index 5ecd96249..b3253bd3e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleParameterValueResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleParameterValueResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleQuantityKindResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleQuantityKindResolver.cs index c3fe38746..21030cf74 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleQuantityKindResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleQuantityKindResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.SimpleQuantityKind FromJsonObject(JObject jObject) simpleQuantityKind.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + simpleQuantityKind.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { simpleQuantityKind.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleUnitResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleUnitResolver.cs index fe59a79b0..361fad0de 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleUnitResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SimpleUnitResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.SimpleUnit FromJsonObject(JObject jObject) simpleUnit.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + simpleUnit.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { simpleUnit.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataAnnotationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataAnnotationResolver.cs index 1b05618ef..1c7577efd 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataAnnotationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataAnnotationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataDiscussionItemResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataDiscussionItemResolver.cs index 628d67c13..5b93f1eb6 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataDiscussionItemResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryDataDiscussionItemResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryResolver.cs index adb6a5d1f..41d23a8a1 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryThingReferenceResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryThingReferenceResolver.cs index ce8868802..aa9a90fc8 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryThingReferenceResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteDirectoryThingReferenceResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteLogEntryResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteLogEntryResolver.cs index 05fb25845..828fbb2bc 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteLogEntryResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteLogEntryResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteReferenceDataLibraryResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteReferenceDataLibraryResolver.cs index 1a16f8e9f..d00ce66bd 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteReferenceDataLibraryResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SiteReferenceDataLibraryResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.SiteReferenceDataLibrary FromJsonObject(JObject jOb siteReferenceDataLibrary.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + siteReferenceDataLibrary.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["baseQuantityKind"].IsNullOrEmpty()) { siteReferenceDataLibrary.BaseQuantityKind.AddRange(jObject["baseQuantityKind"].ToOrderedItemCollection()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SolutionResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SolutionResolver.cs index f0f54c898..9d690a45a 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SolutionResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SolutionResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/SpecializedQuantityKindResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/SpecializedQuantityKindResolver.cs index 128fae7d7..096164db8 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/SpecializedQuantityKindResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/SpecializedQuantityKindResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.SpecializedQuantityKind FromJsonObject(JObject jObj specializedQuantityKind.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + specializedQuantityKind.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { specializedQuantityKind.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapResolver.cs index ff54c2602..9eb997ce9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.StakeHolderValueMap FromJsonObject(JObject jObject) stakeHolderValueMap.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + stakeHolderValueMap.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { stakeHolderValueMap.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapSettingsResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapSettingsResolver.cs index efb0af6bd..0eaf91a80 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapSettingsResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeHolderValueMapSettingsResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderResolver.cs index df57145da..707b4063e 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Stakeholder FromJsonObject(JObject jObject) stakeholder.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + stakeholder.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { stakeholder.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderValueResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderValueResolver.cs index 36af14699..6e202105d 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderValueResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/StakeholderValueResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.StakeholderValue FromJsonObject(JObject jObject) stakeholderValue.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + stakeholderValue.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { stakeholderValue.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/TelephoneNumberResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/TelephoneNumberResolver.cs index 47dbc2b2d..c8613f9a3 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/TelephoneNumberResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/TelephoneNumberResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/TermResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/TermResolver.cs index 0b1567f9a..f9653905f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/TermResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/TermResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.Term FromJsonObject(JObject jObject) term.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + term.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["definition"].IsNullOrEmpty()) { term.Definition.AddRange(jObject["definition"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/TextParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/TextParameterTypeResolver.cs index 744222680..c8c1d78b4 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/TextParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/TextParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.TextParameterType FromJsonObject(JObject jObject) textParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + textParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { textParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/TextualNoteResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/TextualNoteResolver.cs index 4b6fbb167..5b7923543 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/TextualNoteResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/TextualNoteResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/TimeOfDayParameterTypeResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/TimeOfDayParameterTypeResolver.cs index dc2467aa2..433d0b00f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/TimeOfDayParameterTypeResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/TimeOfDayParameterTypeResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.TimeOfDayParameterType FromJsonObject(JObject jObje timeOfDayParameterType.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + timeOfDayParameterType.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { timeOfDayParameterType.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitFactorResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitFactorResolver.cs index 9deaa29e9..2e8d8a6b9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitFactorResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitFactorResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitPrefixResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitPrefixResolver.cs index f946c2757..74c4a5466 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitPrefixResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/UnitPrefixResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.UnitPrefix FromJsonObject(JObject jObject) unitPrefix.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + unitPrefix.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["conversionFactor"].IsNullOrEmpty()) { unitPrefix.ConversionFactor = jObject["conversionFactor"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/UserPreferenceResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/UserPreferenceResolver.cs index da543c27c..bdeeb9177 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/UserPreferenceResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/UserPreferenceResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/UserRuleVerificationResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/UserRuleVerificationResolver.cs index 577879294..2b64fd845 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/UserRuleVerificationResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/UserRuleVerificationResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ValueGroupResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ValueGroupResolver.cs index 6ae2c601c..6447fc93f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ValueGroupResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ValueGroupResolver.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2022 RHEA System S.A. +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -65,6 +66,11 @@ public static CDP4Common.DTO.ValueGroup FromJsonObject(JObject jObject) valueGroup.Alias.AddRange(jObject["alias"].ToObject>()); } + if (!jObject["attachment"].IsNullOrEmpty()) + { + valueGroup.Attachment.AddRange(jObject["attachment"].ToObject>()); + } + if (!jObject["category"].IsNullOrEmpty()) { valueGroup.Category.AddRange(jObject["category"].ToObject>()); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ActionItemSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ActionItemSerializer.cs index 52d716205..d3b4af51f 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ActionItemSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ActionItemSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateListSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateListSerializer.cs index 7235e1abc..3ddc19f5c 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateListSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateListSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateSerializer.cs index 69ada2f4a..df73891c2 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ActualFiniteStateSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/AliasSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/AliasSerializer.cs index 62d8384d8..05d85884c 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/AliasSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/AliasSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/AndExpressionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/AndExpressionSerializer.cs index 9d3fdf76d..d4a6ec955 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/AndExpressionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/AndExpressionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ApprovalSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ApprovalSerializer.cs index 6520bdeb1..d5bf495ae 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ApprovalSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ApprovalSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs new file mode 100644 index 000000000..90bc0f716 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs @@ -0,0 +1,129 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.DTO; + using CDP4Common.Types; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the class is to provide a specific serializer + /// + public class ArchitectureDiagramSerializer : BaseThingSerializer, IThingSerializer + { + /// + /// The map containing the serialization methods + /// + private readonly Dictionary> propertySerializerMap = new Dictionary> + { + { "actor", actor => new JValue(actor) }, + { "bounds", bounds => new JArray(bounds) }, + { "classKind", classKind => new JValue(classKind.ToString()) }, + { "createdOn", createdOn => new JValue(((DateTime)createdOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "description", description => new JValue(description) }, + { "diagramElement", diagramElement => new JArray(diagramElement) }, + { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, + { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, + { "iid", iid => new JValue(iid) }, + { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "name", name => new JValue(name) }, + { "owner", owner => new JValue(owner) }, + { "publicationState", publicationState => new JValue(publicationState.ToString()) }, + { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, + { "thingPreference", thingPreference => new JValue(thingPreference) }, + { "topArchitectureElement", topArchitectureElement => new JValue(topArchitectureElement) }, + }; + + /// + /// Serialize the + /// + /// The to serialize + /// The + private JObject Serialize(ArchitectureDiagram architectureDiagram) + { + var jsonObject = new JObject(); + jsonObject.Add("bounds", this.PropertySerializerMap["bounds"](architectureDiagram.Bounds)); + jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), architectureDiagram.ClassKind))); + jsonObject.Add("createdOn", this.PropertySerializerMap["createdOn"](architectureDiagram.CreatedOn)); + jsonObject.Add("description", this.PropertySerializerMap["description"](architectureDiagram.Description)); + jsonObject.Add("diagramElement", this.PropertySerializerMap["diagramElement"](architectureDiagram.DiagramElement.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](architectureDiagram.ExcludedDomain.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](architectureDiagram.ExcludedPerson.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("iid", this.PropertySerializerMap["iid"](architectureDiagram.Iid)); + jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](architectureDiagram.ModifiedOn)); + jsonObject.Add("name", this.PropertySerializerMap["name"](architectureDiagram.Name)); + jsonObject.Add("owner", this.PropertySerializerMap["owner"](architectureDiagram.Owner)); + jsonObject.Add("publicationState", this.PropertySerializerMap["publicationState"](Enum.GetName(typeof(CDP4Common.DiagramData.PublicationState), architectureDiagram.PublicationState))); + jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](architectureDiagram.RevisionNumber)); + jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](architectureDiagram.ThingPreference)); + jsonObject.Add("topArchitectureElement", this.PropertySerializerMap["topArchitectureElement"](architectureDiagram.TopArchitectureElement)); + return jsonObject; + } + + /// + /// Gets the map containing the serialization method for each property of the class. + /// + public IReadOnlyDictionary> PropertySerializerMap + { + get { return this.propertySerializerMap; } + } + + /// + /// Serialize the to JObject + /// + /// The to serialize + /// The + public JObject Serialize(Thing thing) + { + if (thing == null) + { + throw new ArgumentNullException($"The {nameof(thing)} may not be null.", nameof(thing)); + } + + var architectureDiagram = thing as ArchitectureDiagram; + if (architectureDiagram == null) + { + throw new InvalidOperationException("The thing is not a ArchitectureDiagram."); + } + + return this.Serialize(architectureDiagram); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureElementSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureElementSerializer.cs new file mode 100644 index 000000000..237caa8d7 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureElementSerializer.cs @@ -0,0 +1,129 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.DTO; + using CDP4Common.Types; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the class is to provide a specific serializer + /// + public class ArchitectureElementSerializer : BaseThingSerializer, IThingSerializer + { + /// + /// The map containing the serialization methods + /// + private readonly Dictionary> propertySerializerMap = new Dictionary> + { + { "actor", actor => new JValue(actor) }, + { "bounds", bounds => new JArray(bounds) }, + { "classKind", classKind => new JValue(classKind.ToString()) }, + { "depictedThing", depictedThing => new JValue(depictedThing) }, + { "diagramElement", diagramElement => new JArray(diagramElement) }, + { "documentation", documentation => new JValue(documentation) }, + { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, + { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, + { "iid", iid => new JValue(iid) }, + { "localStyle", localStyle => new JArray(localStyle) }, + { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "name", name => new JValue(name) }, + { "resolution", resolution => new JValue(resolution) }, + { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, + { "sharedStyle", sharedStyle => new JValue(sharedStyle) }, + { "thingPreference", thingPreference => new JValue(thingPreference) }, + }; + + /// + /// Serialize the + /// + /// The to serialize + /// The + private JObject Serialize(ArchitectureElement architectureElement) + { + var jsonObject = new JObject(); + jsonObject.Add("bounds", this.PropertySerializerMap["bounds"](architectureElement.Bounds)); + jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), architectureElement.ClassKind))); + jsonObject.Add("depictedThing", this.PropertySerializerMap["depictedThing"](architectureElement.DepictedThing)); + jsonObject.Add("diagramElement", this.PropertySerializerMap["diagramElement"](architectureElement.DiagramElement.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("documentation", this.PropertySerializerMap["documentation"](architectureElement.Documentation)); + jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](architectureElement.ExcludedDomain.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](architectureElement.ExcludedPerson.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("iid", this.PropertySerializerMap["iid"](architectureElement.Iid)); + jsonObject.Add("localStyle", this.PropertySerializerMap["localStyle"](architectureElement.LocalStyle)); + jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](architectureElement.ModifiedOn)); + jsonObject.Add("name", this.PropertySerializerMap["name"](architectureElement.Name)); + jsonObject.Add("resolution", this.PropertySerializerMap["resolution"](architectureElement.Resolution)); + jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](architectureElement.RevisionNumber)); + jsonObject.Add("sharedStyle", this.PropertySerializerMap["sharedStyle"](architectureElement.SharedStyle)); + jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](architectureElement.ThingPreference)); + return jsonObject; + } + + /// + /// Gets the map containing the serialization method for each property of the class. + /// + public IReadOnlyDictionary> PropertySerializerMap + { + get { return this.propertySerializerMap; } + } + + /// + /// Serialize the to JObject + /// + /// The to serialize + /// The + public JObject Serialize(Thing thing) + { + if (thing == null) + { + throw new ArgumentNullException($"The {nameof(thing)} may not be null.", nameof(thing)); + } + + var architectureElement = thing as ArchitectureElement; + if (architectureElement == null) + { + throw new InvalidOperationException("The thing is not a ArchitectureElement."); + } + + return this.Serialize(architectureElement); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ArrayParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ArrayParameterTypeSerializer.cs index 6d2c6992d..417b53adb 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ArrayParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ArrayParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ArrayParameterTypeSerializer : BaseThingSerializer, IThingSerialize { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "component", component => new JArray(((IEnumerable)component).Cast().Select(x => x.ToJsonObject())) }, @@ -79,6 +81,7 @@ private JObject Serialize(ArrayParameterType arrayParameterType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](arrayParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](arrayParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](arrayParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), arrayParameterType.ClassKind))); jsonObject.Add("component", this.PropertySerializerMap["component"](arrayParameterType.Component.OrderBy(x => x, this.orderedItemComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/AttachmentSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/AttachmentSerializer.cs new file mode 100644 index 000000000..1e96b7f1f --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/AttachmentSerializer.cs @@ -0,0 +1,119 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.DTO; + using CDP4Common.Types; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the class is to provide a specific serializer + /// + public class AttachmentSerializer : BaseThingSerializer, IThingSerializer + { + /// + /// The map containing the serialization methods + /// + private readonly Dictionary> propertySerializerMap = new Dictionary> + { + { "actor", actor => new JValue(actor) }, + { "classKind", classKind => new JValue(classKind.ToString()) }, + { "contentHash", contentHash => new JValue(contentHash) }, + { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, + { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, + { "fileName", fileName => new JValue(fileName) }, + { "fileType", fileType => new JArray(fileType) }, + { "iid", iid => new JValue(iid) }, + { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, + { "thingPreference", thingPreference => new JValue(thingPreference) }, + }; + + /// + /// Serialize the + /// + /// The to serialize + /// The + private JObject Serialize(Attachment attachment) + { + var jsonObject = new JObject(); + jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), attachment.ClassKind))); + jsonObject.Add("contentHash", this.PropertySerializerMap["contentHash"](attachment.ContentHash)); + jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](attachment.ExcludedDomain.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](attachment.ExcludedPerson.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("fileName", this.PropertySerializerMap["fileName"](attachment.FileName)); + jsonObject.Add("fileType", this.PropertySerializerMap["fileType"](attachment.FileType.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("iid", this.PropertySerializerMap["iid"](attachment.Iid)); + jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](attachment.ModifiedOn)); + jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](attachment.RevisionNumber)); + jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](attachment.ThingPreference)); + return jsonObject; + } + + /// + /// Gets the map containing the serialization method for each property of the class. + /// + public IReadOnlyDictionary> PropertySerializerMap + { + get { return this.propertySerializerMap; } + } + + /// + /// Serialize the to JObject + /// + /// The to serialize + /// The + public JObject Serialize(Thing thing) + { + if (thing == null) + { + throw new ArgumentNullException($"The {nameof(thing)} may not be null.", nameof(thing)); + } + + var attachment = thing as Attachment; + if (attachment == null) + { + throw new InvalidOperationException("The thing is not a Attachment."); + } + + return this.Serialize(attachment); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BehaviorSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BehaviorSerializer.cs new file mode 100644 index 000000000..beb266e34 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BehaviorSerializer.cs @@ -0,0 +1,131 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.DTO; + using CDP4Common.Types; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the class is to provide a specific serializer + /// + public class BehaviorSerializer : BaseThingSerializer, IThingSerializer + { + /// + /// The map containing the serialization methods + /// + private readonly Dictionary> propertySerializerMap = new Dictionary> + { + { "actor", actor => new JValue(actor) }, + { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, + { "behavioralModelKind", behavioralModelKind => new JValue(behavioralModelKind.ToString()) }, + { "behavioralParameter", behavioralParameter => new JArray(behavioralParameter) }, + { "classKind", classKind => new JValue(classKind.ToString()) }, + { "definition", definition => new JArray(definition) }, + { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, + { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, + { "hyperLink", hyperLink => new JArray(hyperLink) }, + { "iid", iid => new JValue(iid) }, + { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "name", name => new JValue(name) }, + { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, + { "script", script => new JValue(script) }, + { "shortName", shortName => new JValue(shortName) }, + { "thingPreference", thingPreference => new JValue(thingPreference) }, + }; + + /// + /// Serialize the + /// + /// The to serialize + /// The + private JObject Serialize(Behavior behavior) + { + var jsonObject = new JObject(); + jsonObject.Add("alias", this.PropertySerializerMap["alias"](behavior.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](behavior.Attachment.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("behavioralModelKind", this.PropertySerializerMap["behavioralModelKind"](Enum.GetName(typeof(CDP4Common.EngineeringModelData.BehavioralModelKind), behavior.BehavioralModelKind))); + jsonObject.Add("behavioralParameter", this.PropertySerializerMap["behavioralParameter"](behavior.BehavioralParameter.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), behavior.ClassKind))); + jsonObject.Add("definition", this.PropertySerializerMap["definition"](behavior.Definition.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](behavior.ExcludedDomain.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](behavior.ExcludedPerson.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("hyperLink", this.PropertySerializerMap["hyperLink"](behavior.HyperLink.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("iid", this.PropertySerializerMap["iid"](behavior.Iid)); + jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](behavior.ModifiedOn)); + jsonObject.Add("name", this.PropertySerializerMap["name"](behavior.Name)); + jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](behavior.RevisionNumber)); + jsonObject.Add("script", this.PropertySerializerMap["script"](behavior.Script)); + jsonObject.Add("shortName", this.PropertySerializerMap["shortName"](behavior.ShortName)); + jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](behavior.ThingPreference)); + return jsonObject; + } + + /// + /// Gets the map containing the serialization method for each property of the class. + /// + public IReadOnlyDictionary> PropertySerializerMap + { + get { return this.propertySerializerMap; } + } + + /// + /// Serialize the to JObject + /// + /// The to serialize + /// The + public JObject Serialize(Thing thing) + { + if (thing == null) + { + throw new ArgumentNullException($"The {nameof(thing)} may not be null.", nameof(thing)); + } + + var behavior = thing as Behavior; + if (behavior == null) + { + throw new InvalidOperationException("The thing is not a Behavior."); + } + + return this.Serialize(behavior); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BehavioralParameterSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BehavioralParameterSerializer.cs new file mode 100644 index 000000000..d76ea3c51 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BehavioralParameterSerializer.cs @@ -0,0 +1,119 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.DTO; + using CDP4Common.Types; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the class is to provide a specific serializer + /// + public class BehavioralParameterSerializer : BaseThingSerializer, IThingSerializer + { + /// + /// The map containing the serialization methods + /// + private readonly Dictionary> propertySerializerMap = new Dictionary> + { + { "actor", actor => new JValue(actor) }, + { "behavioralParameterKind", behavioralParameterKind => new JValue(behavioralParameterKind.ToString()) }, + { "classKind", classKind => new JValue(classKind.ToString()) }, + { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, + { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, + { "iid", iid => new JValue(iid) }, + { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "parameter", parameter => new JValue(parameter) }, + { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, + { "thingPreference", thingPreference => new JValue(thingPreference) }, + { "variableName", variableName => new JValue(variableName) }, + }; + + /// + /// Serialize the + /// + /// The to serialize + /// The + private JObject Serialize(BehavioralParameter behavioralParameter) + { + var jsonObject = new JObject(); + jsonObject.Add("behavioralParameterKind", this.PropertySerializerMap["behavioralParameterKind"](Enum.GetName(typeof(CDP4Common.EngineeringModelData.BehavioralParameterKind), behavioralParameter.BehavioralParameterKind))); + jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), behavioralParameter.ClassKind))); + jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](behavioralParameter.ExcludedDomain.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](behavioralParameter.ExcludedPerson.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("iid", this.PropertySerializerMap["iid"](behavioralParameter.Iid)); + jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](behavioralParameter.ModifiedOn)); + jsonObject.Add("parameter", this.PropertySerializerMap["parameter"](behavioralParameter.Parameter)); + jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](behavioralParameter.RevisionNumber)); + jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](behavioralParameter.ThingPreference)); + jsonObject.Add("variableName", this.PropertySerializerMap["variableName"](behavioralParameter.VariableName)); + return jsonObject; + } + + /// + /// Gets the map containing the serialization method for each property of the class. + /// + public IReadOnlyDictionary> PropertySerializerMap + { + get { return this.propertySerializerMap; } + } + + /// + /// Serialize the to JObject + /// + /// The to serialize + /// The + public JObject Serialize(Thing thing) + { + if (thing == null) + { + throw new ArgumentNullException($"The {nameof(thing)} may not be null.", nameof(thing)); + } + + var behavioralParameter = thing as BehavioralParameter; + if (behavioralParameter == null) + { + throw new InvalidOperationException("The thing is not a BehavioralParameter."); + } + + return this.Serialize(behavioralParameter); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryNoteSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryNoteSerializer.cs index 82178452c..46c2a3522 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryNoteSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryNoteSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipRuleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipRuleSerializer.cs index 48b34af1c..54f6c8e84 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipRuleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipRuleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class BinaryRelationshipRuleSerializer : BaseThingSerializer, IThingSeria { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -78,6 +80,7 @@ private JObject Serialize(BinaryRelationshipRule binaryRelationshipRule) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](binaryRelationshipRule.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](binaryRelationshipRule.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), binaryRelationshipRule.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](binaryRelationshipRule.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](binaryRelationshipRule.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipSerializer.cs index 8537e6a20..a6b5bb083 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BinaryRelationshipSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BookSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BookSerializer.cs index 80886dca3..7bf8f91b0 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/BookSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BookSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BooleanParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BooleanParameterTypeSerializer.cs index b712a5726..9d59fd46c 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/BooleanParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BooleanParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class BooleanParameterTypeSerializer : BaseThingSerializer, IThingSeriali { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(BooleanParameterType booleanParameterType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](booleanParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](booleanParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](booleanParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), booleanParameterType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](booleanParameterType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BoundsSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BoundsSerializer.cs index 119b72d7d..46e371b81 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/BoundsSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BoundsSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/BuiltInRuleVerificationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/BuiltInRuleVerificationSerializer.cs index 4ba1f9927..4ceaf27ca 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/BuiltInRuleVerificationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/BuiltInRuleVerificationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/CategorySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/CategorySerializer.cs index 18a344b24..7814beced 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/CategorySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/CategorySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class CategorySerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -76,6 +78,7 @@ private JObject Serialize(Category category) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](category.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](category.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), category.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](category.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](category.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeProposalSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeProposalSerializer.cs index 8d3f40220..8a66545ca 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeProposalSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeProposalSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeRequestSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeRequestSerializer.cs index 9f66f39ba..0eca33b3f 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeRequestSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ChangeRequestSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/CitationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/CitationSerializer.cs index e4c65cfad..f88b171e6 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/CitationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/CitationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ColorSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ColorSerializer.cs index a9057cd4d..20f7560b1 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ColorSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ColorSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/CommonFileStoreSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/CommonFileStoreSerializer.cs index e38b7bd00..958cc08f7 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/CommonFileStoreSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/CommonFileStoreSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/CompoundParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/CompoundParameterTypeSerializer.cs index 16358243c..e2753cf92 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/CompoundParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/CompoundParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class CompoundParameterTypeSerializer : BaseThingSerializer, IThingSerial { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "component", component => new JArray(((IEnumerable)component).Cast().Select(x => x.ToJsonObject())) }, @@ -77,6 +79,7 @@ private JObject Serialize(CompoundParameterType compoundParameterType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](compoundParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](compoundParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](compoundParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), compoundParameterType.ClassKind))); jsonObject.Add("component", this.PropertySerializerMap["component"](compoundParameterType.Component.OrderBy(x => x, this.orderedItemComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ConstantSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ConstantSerializer.cs index ceb9b8beb..0989fce82 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ConstantSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ConstantSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ConstantSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -77,6 +79,7 @@ private JObject Serialize(Constant constant) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](constant.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](constant.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](constant.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), constant.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](constant.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ContractChangeNoticeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ContractChangeNoticeSerializer.cs index 958eeb39f..f48b13aa0 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ContractChangeNoticeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ContractChangeNoticeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/CyclicRatioScaleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/CyclicRatioScaleSerializer.cs index 5845ccd59..f4df219f2 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/CyclicRatioScaleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/CyclicRatioScaleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class CyclicRatioScaleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -84,6 +86,7 @@ private JObject Serialize(CyclicRatioScale cyclicRatioScale) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](cyclicRatioScale.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](cyclicRatioScale.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), cyclicRatioScale.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](cyclicRatioScale.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](cyclicRatioScale.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DateParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DateParameterTypeSerializer.cs index 6059c3f82..92ce91dbf 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DateParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DateParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class DateParameterTypeSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(DateParameterType dateParameterType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](dateParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](dateParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](dateParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), dateParameterType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](dateParameterType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DateTimeParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DateTimeParameterTypeSerializer.cs index 57d229dbb..53492d179 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DateTimeParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DateTimeParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class DateTimeParameterTypeSerializer : BaseThingSerializer, IThingSerial { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(DateTimeParameterType dateTimeParameterType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](dateTimeParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](dateTimeParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](dateTimeParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), dateTimeParameterType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](dateTimeParameterType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DecompositionRuleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DecompositionRuleSerializer.cs index 1feb01bf2..130ca1067 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DecompositionRuleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DecompositionRuleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class DecompositionRuleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "containedCategory", containedCategory => new JArray(containedCategory) }, { "containingCategory", containingCategory => new JValue(containingCategory) }, @@ -77,6 +79,7 @@ private JObject Serialize(DecompositionRule decompositionRule) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](decompositionRule.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](decompositionRule.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), decompositionRule.ClassKind))); jsonObject.Add("containedCategory", this.PropertySerializerMap["containedCategory"](decompositionRule.ContainedCategory.OrderBy(x => x, this.guidComparer))); jsonObject.Add("containingCategory", this.PropertySerializerMap["containingCategory"](decompositionRule.ContainingCategory)); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DefinitionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DefinitionSerializer.cs index 5819cc33a..bf3699986 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DefinitionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DefinitionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DependentParameterTypeAssignmentSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DependentParameterTypeAssignmentSerializer.cs index 5b0223c39..a6432692a 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DependentParameterTypeAssignmentSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DependentParameterTypeAssignmentSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedQuantityKindSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedQuantityKindSerializer.cs index cfd56cde5..6073fa584 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedQuantityKindSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedQuantityKindSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class DerivedQuantityKindSerializer : BaseThingSerializer, IThingSerializ { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "defaultScale", defaultScale => new JValue(defaultScale) }, @@ -79,6 +81,7 @@ private JObject Serialize(DerivedQuantityKind derivedQuantityKind) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](derivedQuantityKind.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](derivedQuantityKind.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](derivedQuantityKind.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), derivedQuantityKind.ClassKind))); jsonObject.Add("defaultScale", this.PropertySerializerMap["defaultScale"](derivedQuantityKind.DefaultScale)); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedUnitSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedUnitSerializer.cs index ad8dea7a0..2dc68f74e 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedUnitSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DerivedUnitSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class DerivedUnitSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -74,6 +76,7 @@ private JObject Serialize(DerivedUnit derivedUnit) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](derivedUnit.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](derivedUnit.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), derivedUnit.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](derivedUnit.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](derivedUnit.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs index d9639848c..e1d11ff64 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -52,12 +53,14 @@ public class DiagramCanvasSerializer : BaseThingSerializer, IThingSerializer { "bounds", bounds => new JArray(bounds) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "createdOn", createdOn => new JValue(((DateTime)createdOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "description", description => new JValue(description) }, { "diagramElement", diagramElement => new JArray(diagramElement) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, { "iid", iid => new JValue(iid) }, { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, { "name", name => new JValue(name) }, + { "publicationState", publicationState => new JValue(publicationState.ToString()) }, { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, { "thingPreference", thingPreference => new JValue(thingPreference) }, }; @@ -73,12 +76,14 @@ private JObject Serialize(DiagramCanvas diagramCanvas) jsonObject.Add("bounds", this.PropertySerializerMap["bounds"](diagramCanvas.Bounds)); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), diagramCanvas.ClassKind))); jsonObject.Add("createdOn", this.PropertySerializerMap["createdOn"](diagramCanvas.CreatedOn)); + jsonObject.Add("description", this.PropertySerializerMap["description"](diagramCanvas.Description)); jsonObject.Add("diagramElement", this.PropertySerializerMap["diagramElement"](diagramCanvas.DiagramElement.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](diagramCanvas.ExcludedDomain.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](diagramCanvas.ExcludedPerson.OrderBy(x => x, this.guidComparer))); jsonObject.Add("iid", this.PropertySerializerMap["iid"](diagramCanvas.Iid)); jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](diagramCanvas.ModifiedOn)); jsonObject.Add("name", this.PropertySerializerMap["name"](diagramCanvas.Name)); + jsonObject.Add("publicationState", this.PropertySerializerMap["publicationState"](Enum.GetName(typeof(CDP4Common.DiagramData.PublicationState), diagramCanvas.PublicationState))); jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](diagramCanvas.RevisionNumber)); jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](diagramCanvas.ThingPreference)); return jsonObject; diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramEdgeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramEdgeSerializer.cs index 555bc86a6..e18d624ba 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramEdgeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramEdgeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramFrameSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramFrameSerializer.cs new file mode 100644 index 000000000..9fe8d28cf --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramFrameSerializer.cs @@ -0,0 +1,125 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.DTO; + using CDP4Common.Types; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the class is to provide a specific serializer + /// + public class DiagramFrameSerializer : BaseThingSerializer, IThingSerializer + { + /// + /// The map containing the serialization methods + /// + private readonly Dictionary> propertySerializerMap = new Dictionary> + { + { "actor", actor => new JValue(actor) }, + { "bounds", bounds => new JArray(bounds) }, + { "classKind", classKind => new JValue(classKind.ToString()) }, + { "depictedThing", depictedThing => new JValue(depictedThing) }, + { "diagramElement", diagramElement => new JArray(diagramElement) }, + { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, + { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, + { "iid", iid => new JValue(iid) }, + { "localStyle", localStyle => new JArray(localStyle) }, + { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "name", name => new JValue(name) }, + { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, + { "sharedStyle", sharedStyle => new JValue(sharedStyle) }, + { "thingPreference", thingPreference => new JValue(thingPreference) }, + }; + + /// + /// Serialize the + /// + /// The to serialize + /// The + private JObject Serialize(DiagramFrame diagramFrame) + { + var jsonObject = new JObject(); + jsonObject.Add("bounds", this.PropertySerializerMap["bounds"](diagramFrame.Bounds)); + jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), diagramFrame.ClassKind))); + jsonObject.Add("depictedThing", this.PropertySerializerMap["depictedThing"](diagramFrame.DepictedThing)); + jsonObject.Add("diagramElement", this.PropertySerializerMap["diagramElement"](diagramFrame.DiagramElement.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](diagramFrame.ExcludedDomain.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](diagramFrame.ExcludedPerson.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("iid", this.PropertySerializerMap["iid"](diagramFrame.Iid)); + jsonObject.Add("localStyle", this.PropertySerializerMap["localStyle"](diagramFrame.LocalStyle)); + jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](diagramFrame.ModifiedOn)); + jsonObject.Add("name", this.PropertySerializerMap["name"](diagramFrame.Name)); + jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](diagramFrame.RevisionNumber)); + jsonObject.Add("sharedStyle", this.PropertySerializerMap["sharedStyle"](diagramFrame.SharedStyle)); + jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](diagramFrame.ThingPreference)); + return jsonObject; + } + + /// + /// Gets the map containing the serialization method for each property of the class. + /// + public IReadOnlyDictionary> PropertySerializerMap + { + get { return this.propertySerializerMap; } + } + + /// + /// Serialize the to JObject + /// + /// The to serialize + /// The + public JObject Serialize(Thing thing) + { + if (thing == null) + { + throw new ArgumentNullException($"The {nameof(thing)} may not be null.", nameof(thing)); + } + + var diagramFrame = thing as DiagramFrame; + if (diagramFrame == null) + { + throw new InvalidOperationException("The thing is not a DiagramFrame."); + } + + return this.Serialize(diagramFrame); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramObjectSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramObjectSerializer.cs index d32672726..653832b06 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramObjectSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramObjectSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramPortSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramPortSerializer.cs new file mode 100644 index 000000000..769a5a828 --- /dev/null +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramPortSerializer.cs @@ -0,0 +1,125 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4JsonSerializer +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common.DTO; + using CDP4Common.Types; + + using Newtonsoft.Json.Linq; + + /// + /// The purpose of the class is to provide a specific serializer + /// + public class DiagramPortSerializer : BaseThingSerializer, IThingSerializer + { + /// + /// The map containing the serialization methods + /// + private readonly Dictionary> propertySerializerMap = new Dictionary> + { + { "actor", actor => new JValue(actor) }, + { "bounds", bounds => new JArray(bounds) }, + { "classKind", classKind => new JValue(classKind.ToString()) }, + { "depictedThing", depictedThing => new JValue(depictedThing) }, + { "diagramElement", diagramElement => new JArray(diagramElement) }, + { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, + { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, + { "iid", iid => new JValue(iid) }, + { "localStyle", localStyle => new JArray(localStyle) }, + { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, + { "name", name => new JValue(name) }, + { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, + { "sharedStyle", sharedStyle => new JValue(sharedStyle) }, + { "thingPreference", thingPreference => new JValue(thingPreference) }, + }; + + /// + /// Serialize the + /// + /// The to serialize + /// The + private JObject Serialize(DiagramPort diagramPort) + { + var jsonObject = new JObject(); + jsonObject.Add("bounds", this.PropertySerializerMap["bounds"](diagramPort.Bounds)); + jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), diagramPort.ClassKind))); + jsonObject.Add("depictedThing", this.PropertySerializerMap["depictedThing"](diagramPort.DepictedThing)); + jsonObject.Add("diagramElement", this.PropertySerializerMap["diagramElement"](diagramPort.DiagramElement.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](diagramPort.ExcludedDomain.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](diagramPort.ExcludedPerson.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("iid", this.PropertySerializerMap["iid"](diagramPort.Iid)); + jsonObject.Add("localStyle", this.PropertySerializerMap["localStyle"](diagramPort.LocalStyle)); + jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](diagramPort.ModifiedOn)); + jsonObject.Add("name", this.PropertySerializerMap["name"](diagramPort.Name)); + jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](diagramPort.RevisionNumber)); + jsonObject.Add("sharedStyle", this.PropertySerializerMap["sharedStyle"](diagramPort.SharedStyle)); + jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](diagramPort.ThingPreference)); + return jsonObject; + } + + /// + /// Gets the map containing the serialization method for each property of the class. + /// + public IReadOnlyDictionary> PropertySerializerMap + { + get { return this.propertySerializerMap; } + } + + /// + /// Serialize the to JObject + /// + /// The to serialize + /// The + public JObject Serialize(Thing thing) + { + if (thing == null) + { + throw new ArgumentNullException($"The {nameof(thing)} may not be null.", nameof(thing)); + } + + var diagramPort = thing as DiagramPort; + if (diagramPort == null) + { + throw new InvalidOperationException("The thing is not a DiagramPort."); + } + + return this.Serialize(diagramPort); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DomainFileStoreSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DomainFileStoreSerializer.cs index ce77fca09..cf509eb01 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DomainFileStoreSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DomainFileStoreSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseGroupSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseGroupSerializer.cs index b2198193c..418659f09 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseGroupSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseGroupSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class DomainOfExpertiseGroupSerializer : BaseThingSerializer, IThingSeria { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "domain", domain => new JArray(domain) }, @@ -74,6 +76,7 @@ private JObject Serialize(DomainOfExpertiseGroup domainOfExpertiseGroup) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](domainOfExpertiseGroup.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](domainOfExpertiseGroup.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), domainOfExpertiseGroup.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](domainOfExpertiseGroup.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("domain", this.PropertySerializerMap["domain"](domainOfExpertiseGroup.Domain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseSerializer.cs index 5054e25b6..52b1d58e2 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DomainOfExpertiseSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class DomainOfExpertiseSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -74,6 +76,7 @@ private JObject Serialize(DomainOfExpertise domainOfExpertise) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](domainOfExpertise.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](domainOfExpertise.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](domainOfExpertise.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), domainOfExpertise.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](domainOfExpertise.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ElementDefinitionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ElementDefinitionSerializer.cs index f2f5fe5de..adcf1364e 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ElementDefinitionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ElementDefinitionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,8 @@ public class ElementDefinitionSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, + { "behavior", behavior => new JArray(behavior) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "containedElement", containedElement => new JArray(containedElement) }, @@ -79,6 +82,8 @@ private JObject Serialize(ElementDefinition elementDefinition) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](elementDefinition.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](elementDefinition.Attachment.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("behavior", this.PropertySerializerMap["behavior"](elementDefinition.Behavior.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](elementDefinition.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), elementDefinition.ClassKind))); jsonObject.Add("containedElement", this.PropertySerializerMap["containedElement"](elementDefinition.ContainedElement.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ElementUsageSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ElementUsageSerializer.cs index 6398d0a3f..472e315a0 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ElementUsageSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ElementUsageSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ElementUsageSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -78,6 +80,7 @@ private JObject Serialize(ElementUsage elementUsage) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](elementUsage.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](elementUsage.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](elementUsage.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), elementUsage.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](elementUsage.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EmailAddressSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EmailAddressSerializer.cs index c1336a7eb..127a6d80b 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EmailAddressSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EmailAddressSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataDiscussionItemSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataDiscussionItemSerializer.cs index 591cacaea..3317fa8ae 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataDiscussionItemSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataDiscussionItemSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataNoteSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataNoteSerializer.cs index 01ee7fb87..bbcd40c20 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataNoteSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelDataNoteSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSerializer.cs index 00542d683..ba8a8ebd7 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs index de8252109..f9d42ab4e 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -51,6 +52,7 @@ public class EngineeringModelSetupSerializer : BaseThingSerializer, IThingSerial { "activeDomain", activeDomain => new JArray(activeDomain) }, { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "defaultOrganizationalParticipant", defaultOrganizationalParticipant => new JValue(defaultOrganizationalParticipant) }, { "definition", definition => new JArray(definition) }, @@ -83,6 +85,7 @@ private JObject Serialize(EngineeringModelSetup engineeringModelSetup) var jsonObject = new JObject(); jsonObject.Add("activeDomain", this.PropertySerializerMap["activeDomain"](engineeringModelSetup.ActiveDomain.OrderBy(x => x, this.guidComparer))); jsonObject.Add("alias", this.PropertySerializerMap["alias"](engineeringModelSetup.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](engineeringModelSetup.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), engineeringModelSetup.ClassKind))); jsonObject.Add("defaultOrganizationalParticipant", this.PropertySerializerMap["defaultOrganizationalParticipant"](engineeringModelSetup.DefaultOrganizationalParticipant)); jsonObject.Add("definition", this.PropertySerializerMap["definition"](engineeringModelSetup.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationParameterTypeSerializer.cs index 5a28df53c..c7f30e366 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -51,6 +52,7 @@ public class EnumerationParameterTypeSerializer : BaseThingSerializer, IThingSer { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, { "allowMultiSelect", allowMultiSelect => new JValue(allowMultiSelect) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -78,6 +80,7 @@ private JObject Serialize(EnumerationParameterType enumerationParameterType) var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](enumerationParameterType.Alias.OrderBy(x => x, this.guidComparer))); jsonObject.Add("allowMultiSelect", this.PropertySerializerMap["allowMultiSelect"](enumerationParameterType.AllowMultiSelect)); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](enumerationParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](enumerationParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), enumerationParameterType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](enumerationParameterType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationValueDefinitionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationValueDefinitionSerializer.cs index 6db280244..5591bca38 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationValueDefinitionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EnumerationValueDefinitionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class EnumerationValueDefinitionSerializer : BaseThingSerializer, IThingS { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -72,6 +74,7 @@ private JObject Serialize(EnumerationValueDefinition enumerationValueDefinition) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](enumerationValueDefinition.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](enumerationValueDefinition.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), enumerationValueDefinition.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](enumerationValueDefinition.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](enumerationValueDefinition.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ExclusiveOrExpressionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ExclusiveOrExpressionSerializer.cs index f862c9c34..9fabf2bfa 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ExclusiveOrExpressionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ExclusiveOrExpressionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ExternalIdentifierMapSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ExternalIdentifierMapSerializer.cs index a69eed343..ece436b0a 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ExternalIdentifierMapSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ExternalIdentifierMapSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/FileRevisionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/FileRevisionSerializer.cs index 088c56547..7eccdad63 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/FileRevisionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/FileRevisionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/FileSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/FileSerializer.cs index 77d02b75e..b31e67e49 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/FileSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/FileSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/FileTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/FileTypeSerializer.cs index 70b0d6254..c3f5886bd 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/FileTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/FileTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class FileTypeSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(FileType fileType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](fileType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](fileType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](fileType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), fileType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](fileType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/FolderSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/FolderSerializer.cs index 7498f4963..97afeb5dc 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/FolderSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/FolderSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/GlossarySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/GlossarySerializer.cs index c3bd06769..2d9c40ee8 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/GlossarySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/GlossarySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class GlossarySerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(Glossary glossary) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](glossary.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](glossary.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](glossary.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), glossary.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](glossary.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/GoalSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/GoalSerializer.cs index bf95adc37..1e117f5a6 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/GoalSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/GoalSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class GoalSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -73,6 +75,7 @@ private JObject Serialize(Goal goal) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](goal.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](goal.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](goal.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), goal.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](goal.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/HyperLinkSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/HyperLinkSerializer.cs index 8d65c3abc..92a7c79db 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/HyperLinkSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/HyperLinkSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/IdCorrespondenceSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/IdCorrespondenceSerializer.cs index 5eee3c5bf..67b95fc5d 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/IdCorrespondenceSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/IdCorrespondenceSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/IndependentParameterTypeAssignmentSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/IndependentParameterTypeAssignmentSerializer.cs index 092289767..4ed3a7a21 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/IndependentParameterTypeAssignmentSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/IndependentParameterTypeAssignmentSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/IntervalScaleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/IntervalScaleSerializer.cs index 1d4cd1f28..4b52aee26 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/IntervalScaleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/IntervalScaleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class IntervalScaleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -83,6 +85,7 @@ private JObject Serialize(IntervalScale intervalScale) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](intervalScale.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](intervalScale.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), intervalScale.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](intervalScale.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](intervalScale.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSerializer.cs index 95bf1f9e6..3d877ca69 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSetupSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSetupSerializer.cs index b3f98bd3b..d43ac35e9 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSetupSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/IterationSetupSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/LinearConversionUnitSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/LinearConversionUnitSerializer.cs index fd2b705ac..900b1d2da 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/LinearConversionUnitSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/LinearConversionUnitSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class LinearConversionUnitSerializer : BaseThingSerializer, IThingSeriali { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "conversionFactor", conversionFactor => new JValue(conversionFactor) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(LinearConversionUnit linearConversionUnit) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](linearConversionUnit.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](linearConversionUnit.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), linearConversionUnit.ClassKind))); jsonObject.Add("conversionFactor", this.PropertySerializerMap["conversionFactor"](linearConversionUnit.ConversionFactor)); jsonObject.Add("definition", this.PropertySerializerMap["definition"](linearConversionUnit.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/LogEntryChangelogItemSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/LogEntryChangelogItemSerializer.cs index 637d9bbaa..af51239af 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/LogEntryChangelogItemSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/LogEntryChangelogItemSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/LogarithmicScaleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/LogarithmicScaleSerializer.cs index fd9e8eb96..bdb93a406 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/LogarithmicScaleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/LogarithmicScaleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class LogarithmicScaleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -88,6 +90,7 @@ private JObject Serialize(LogarithmicScale logarithmicScale) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](logarithmicScale.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](logarithmicScale.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), logarithmicScale.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](logarithmicScale.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](logarithmicScale.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/MappingToReferenceScaleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/MappingToReferenceScaleSerializer.cs index 6e2726cf5..5849a5bff 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/MappingToReferenceScaleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/MappingToReferenceScaleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ModelLogEntrySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ModelLogEntrySerializer.cs index 7530df8fc..f03088b3b 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ModelLogEntrySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ModelLogEntrySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ModelReferenceDataLibrarySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ModelReferenceDataLibrarySerializer.cs index 7819baeda..63172d9a9 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ModelReferenceDataLibrarySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ModelReferenceDataLibrarySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ModelReferenceDataLibrarySerializer : BaseThingSerializer, IThingSe { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "baseQuantityKind", baseQuantityKind => new JArray(((IEnumerable)baseQuantityKind).Cast().Select(x => x.ToJsonObject())) }, { "baseUnit", baseUnit => new JArray(baseUnit) }, { "classKind", classKind => new JValue(classKind.ToString()) }, @@ -85,6 +87,7 @@ private JObject Serialize(ModelReferenceDataLibrary modelReferenceDataLibrary) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](modelReferenceDataLibrary.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](modelReferenceDataLibrary.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("baseQuantityKind", this.PropertySerializerMap["baseQuantityKind"](modelReferenceDataLibrary.BaseQuantityKind.OrderBy(x => x, this.orderedItemComparer))); jsonObject.Add("baseUnit", this.PropertySerializerMap["baseUnit"](modelReferenceDataLibrary.BaseUnit.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), modelReferenceDataLibrary.ClassKind))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ModellingThingReferenceSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ModellingThingReferenceSerializer.cs index b38844db1..d334becf0 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ModellingThingReferenceSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ModellingThingReferenceSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipRuleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipRuleSerializer.cs index 9b29a1990..71c0c0ab7 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipRuleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipRuleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class MultiRelationshipRuleSerializer : BaseThingSerializer, IThingSerial { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -77,6 +79,7 @@ private JObject Serialize(MultiRelationshipRule multiRelationshipRule) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](multiRelationshipRule.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](multiRelationshipRule.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), multiRelationshipRule.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](multiRelationshipRule.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](multiRelationshipRule.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipSerializer.cs index 74ec82d50..480b7e2b5 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/MultiRelationshipSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/NaturalLanguageSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/NaturalLanguageSerializer.cs index e13e93737..7b2723880 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/NaturalLanguageSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/NaturalLanguageSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/NestedElementSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/NestedElementSerializer.cs index 29cf24e9d..74061c650 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/NestedElementSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/NestedElementSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/NestedParameterSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/NestedParameterSerializer.cs index e77c2355e..db2c61515 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/NestedParameterSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/NestedParameterSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/NotExpressionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/NotExpressionSerializer.cs index 72bc8ad78..d93e7dfa6 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/NotExpressionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/NotExpressionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/OptionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/OptionSerializer.cs index b0aac8817..2dd3f948e 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/OptionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/OptionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class OptionSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -74,6 +76,7 @@ private JObject Serialize(Option option) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](option.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](option.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](option.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), option.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](option.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/OrExpressionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/OrExpressionSerializer.cs index d9b03f282..e96e5fa99 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/OrExpressionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/OrExpressionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/OrdinalScaleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/OrdinalScaleSerializer.cs index 06617a650..4e6b934a8 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/OrdinalScaleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/OrdinalScaleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class OrdinalScaleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -84,6 +86,7 @@ private JObject Serialize(OrdinalScale ordinalScale) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](ordinalScale.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](ordinalScale.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), ordinalScale.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](ordinalScale.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](ordinalScale.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationSerializer.cs index 82eb0eff5..ff012d060 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationalParticipantSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationalParticipantSerializer.cs index 5c243593b..a841705fa 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationalParticipantSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/OrganizationalParticipantSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/OwnedStyleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/OwnedStyleSerializer.cs index 89b636826..6d25b4688 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/OwnedStyleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/OwnedStyleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PageSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PageSerializer.cs index 7b64c8b86..fb996568b 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PageSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PageSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterGroupSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterGroupSerializer.cs index 35afbca65..16f640c31 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterGroupSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterGroupSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideSerializer.cs index 8b5e7424a..6f99bf34f 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideValueSetSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideValueSetSerializer.cs index 71f0c2ff0..28a2f8503 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideValueSetSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterOverrideValueSetSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSerializer.cs index a2bbf5247..71e295c0d 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionSerializer.cs index 392720421..d86e8d0b4 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionValueSetSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionValueSetSerializer.cs index a2a9afc19..c38a6ccaa 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionValueSetSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterSubscriptionValueSetSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterTypeComponentSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterTypeComponentSerializer.cs index 71a29a208..06ae20c1c 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterTypeComponentSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterTypeComponentSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterValueSetSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterValueSetSerializer.cs index 1bb18011f..1c26ec081 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterValueSetSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterValueSetSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterizedCategoryRuleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterizedCategoryRuleSerializer.cs index 319c10ea9..fd896b153 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterizedCategoryRuleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParameterizedCategoryRuleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ParameterizedCategoryRuleSerializer : BaseThingSerializer, IThingSe { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JValue(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(ParameterizedCategoryRule parameterizedCategoryRule) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](parameterizedCategoryRule.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](parameterizedCategoryRule.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](parameterizedCategoryRule.Category)); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), parameterizedCategoryRule.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](parameterizedCategoryRule.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParametricConstraintSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParametricConstraintSerializer.cs index a7b92c322..97f856a61 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParametricConstraintSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParametricConstraintSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantPermissionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantPermissionSerializer.cs index 0ce446fdb..d8c6080a4 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantPermissionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantPermissionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantRoleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantRoleSerializer.cs index e55db07f1..dc1efb3d8 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantRoleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantRoleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ParticipantRoleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -74,6 +76,7 @@ private JObject Serialize(ParticipantRole participantRole) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](participantRole.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](participantRole.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), participantRole.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](participantRole.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](participantRole.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantSerializer.cs index f00f210c1..ddbf0da5e 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ParticipantSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PersonPermissionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PersonPermissionSerializer.cs index 6eb3d7494..227a8f58d 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PersonPermissionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PersonPermissionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PersonRoleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PersonRoleSerializer.cs index dd4e35b4b..57c91bace 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PersonRoleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PersonRoleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class PersonRoleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -74,6 +76,7 @@ private JObject Serialize(PersonRole personRole) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](personRole.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](personRole.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), personRole.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](personRole.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](personRole.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PersonSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PersonSerializer.cs index 477319e50..620e6c20a 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PersonSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PersonSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PointSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PointSerializer.cs index ee87b03ea..5f2c43da3 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PointSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PointSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateListSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateListSerializer.cs index fefa85fcd..1f5877a14 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateListSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateListSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class PossibleFiniteStateListSerializer : BaseThingSerializer, IThingSeri { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "defaultState", defaultState => new JValue(defaultState) }, @@ -76,6 +78,7 @@ private JObject Serialize(PossibleFiniteStateList possibleFiniteStateList) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](possibleFiniteStateList.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](possibleFiniteStateList.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](possibleFiniteStateList.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), possibleFiniteStateList.ClassKind))); jsonObject.Add("defaultState", this.PropertySerializerMap["defaultState"](possibleFiniteStateList.DefaultState)); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateSerializer.cs index 232282589..65d1746d3 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PossibleFiniteStateSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class PossibleFiniteStateSerializer : BaseThingSerializer, IThingSerializ { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -72,6 +74,7 @@ private JObject Serialize(PossibleFiniteState possibleFiniteState) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](possibleFiniteState.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](possibleFiniteState.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), possibleFiniteState.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](possibleFiniteState.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](possibleFiniteState.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PrefixedUnitSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PrefixedUnitSerializer.cs index d1f86fc85..4208b075c 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PrefixedUnitSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PrefixedUnitSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class PrefixedUnitSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -73,6 +75,7 @@ private JObject Serialize(PrefixedUnit prefixedUnit) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](prefixedUnit.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](prefixedUnit.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), prefixedUnit.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](prefixedUnit.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](prefixedUnit.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/PublicationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/PublicationSerializer.cs index 6c60f9637..1743e3def 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/PublicationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/PublicationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/QuantityKindFactorSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/QuantityKindFactorSerializer.cs index cf157155e..4e378fc92 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/QuantityKindFactorSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/QuantityKindFactorSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RatioScaleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RatioScaleSerializer.cs index 794779e10..310fe000a 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RatioScaleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RatioScaleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class RatioScaleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -83,6 +85,7 @@ private JObject Serialize(RatioScale ratioScale) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](ratioScale.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](ratioScale.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), ratioScale.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](ratioScale.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](ratioScale.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ReferenceSourceSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ReferenceSourceSerializer.cs index 5fc66c14f..5847b4d1a 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ReferenceSourceSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ReferenceSourceSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ReferenceSourceSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "author", author => new JValue(author) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, @@ -81,6 +83,7 @@ private JObject Serialize(ReferenceSource referenceSource) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](referenceSource.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](referenceSource.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("author", this.PropertySerializerMap["author"](referenceSource.Author)); jsonObject.Add("category", this.PropertySerializerMap["category"](referenceSource.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), referenceSource.ClassKind))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ReferencerRuleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ReferencerRuleSerializer.cs index 5003f32fe..06ea14841 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ReferencerRuleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ReferencerRuleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ReferencerRuleSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -77,6 +79,7 @@ private JObject Serialize(ReferencerRule referencerRule) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](referencerRule.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](referencerRule.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), referencerRule.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](referencerRule.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](referencerRule.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RelationalExpressionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RelationalExpressionSerializer.cs index d16185572..20af01613 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RelationalExpressionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RelationalExpressionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RelationshipParameterValueSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RelationshipParameterValueSerializer.cs index 970207037..ba1a3400f 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RelationshipParameterValueSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RelationshipParameterValueSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForDeviationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForDeviationSerializer.cs index 5126401cf..e3bbe7f40 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForDeviationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForDeviationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForWaiverSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForWaiverSerializer.cs index fab849eb3..18dd04dbe 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForWaiverSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RequestForWaiverSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementSerializer.cs index 60b3a6930..71a35eba5 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class RequirementSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -78,6 +80,7 @@ private JObject Serialize(Requirement requirement) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](requirement.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](requirement.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](requirement.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), requirement.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](requirement.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsContainerParameterValueSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsContainerParameterValueSerializer.cs index 8d139c938..013f42911 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsContainerParameterValueSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsContainerParameterValueSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsGroupSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsGroupSerializer.cs index 3cd2879a4..995cc9a1f 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsGroupSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsGroupSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class RequirementsGroupSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -76,6 +78,7 @@ private JObject Serialize(RequirementsGroup requirementsGroup) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](requirementsGroup.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](requirementsGroup.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](requirementsGroup.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), requirementsGroup.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](requirementsGroup.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsSpecificationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsSpecificationSerializer.cs index f8022c191..5770765e0 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsSpecificationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RequirementsSpecificationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class RequirementsSpecificationSerializer : BaseThingSerializer, IThingSe { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -78,6 +80,7 @@ private JObject Serialize(RequirementsSpecification requirementsSpecification) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](requirementsSpecification.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](requirementsSpecification.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](requirementsSpecification.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), requirementsSpecification.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](requirementsSpecification.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ReviewItemDiscrepancySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ReviewItemDiscrepancySerializer.cs index 761318705..bf4006a20 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ReviewItemDiscrepancySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ReviewItemDiscrepancySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RuleVerificationListSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RuleVerificationListSerializer.cs index ce2c6cb9e..0caa1b4fa 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RuleVerificationListSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RuleVerificationListSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class RuleVerificationListSerializer : BaseThingSerializer, IThingSeriali { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -74,6 +76,7 @@ private JObject Serialize(RuleVerificationList ruleVerificationList) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](ruleVerificationList.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](ruleVerificationList.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), ruleVerificationList.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](ruleVerificationList.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](ruleVerificationList.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/RuleViolationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/RuleViolationSerializer.cs index 839fe1599..338ed79b7 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/RuleViolationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/RuleViolationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SampledFunctionParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SampledFunctionParameterTypeSerializer.cs index f0483dd49..251df510f 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SampledFunctionParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SampledFunctionParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class SampledFunctionParameterTypeSerializer : BaseThingSerializer, IThin { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -79,6 +81,7 @@ private JObject Serialize(SampledFunctionParameterType sampledFunctionParameterT { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](sampledFunctionParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](sampledFunctionParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](sampledFunctionParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), sampledFunctionParameterType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](sampledFunctionParameterType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleReferenceQuantityValueSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleReferenceQuantityValueSerializer.cs index c775a39a0..4695bf6cc 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleReferenceQuantityValueSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleReferenceQuantityValueSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleValueDefinitionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleValueDefinitionSerializer.cs index 54efd1fa7..0ceee6166 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleValueDefinitionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ScaleValueDefinitionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ScaleValueDefinitionSerializer : BaseThingSerializer, IThingSeriali { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -73,6 +75,7 @@ private JObject Serialize(ScaleValueDefinition scaleValueDefinition) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](scaleValueDefinition.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](scaleValueDefinition.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), scaleValueDefinition.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](scaleValueDefinition.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](scaleValueDefinition.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SectionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SectionSerializer.cs index b915c1d23..9abd74503 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SectionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SectionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SerializerProvider.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SerializerProvider.cs index 723578ffb..28a4ec5ab 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SerializerProvider.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SerializerProvider.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// +// // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -54,7 +55,12 @@ public static class SerializerProvider { "Alias", new AliasSerializer() }, { "AndExpression", new AndExpressionSerializer() }, { "Approval", new ApprovalSerializer() }, + { "ArchitectureDiagram", new ArchitectureDiagramSerializer() }, + { "ArchitectureElement", new ArchitectureElementSerializer() }, { "ArrayParameterType", new ArrayParameterTypeSerializer() }, + { "Attachment", new AttachmentSerializer() }, + { "Behavior", new BehaviorSerializer() }, + { "BehavioralParameter", new BehavioralParameterSerializer() }, { "BinaryNote", new BinaryNoteSerializer() }, { "BinaryRelationship", new BinaryRelationshipSerializer() }, { "BinaryRelationshipRule", new BinaryRelationshipRuleSerializer() }, @@ -81,7 +87,9 @@ public static class SerializerProvider { "DerivedUnit", new DerivedUnitSerializer() }, { "DiagramCanvas", new DiagramCanvasSerializer() }, { "DiagramEdge", new DiagramEdgeSerializer() }, + { "DiagramFrame", new DiagramFrameSerializer() }, { "DiagramObject", new DiagramObjectSerializer() }, + { "DiagramPort", new DiagramPortSerializer() }, { "DomainFileStore", new DomainFileStoreSerializer() }, { "DomainOfExpertise", new DomainOfExpertiseSerializer() }, { "DomainOfExpertiseGroup", new DomainOfExpertiseGroupSerializer() }, diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SharedStyleSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SharedStyleSerializer.cs index f11e71715..0578da191 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SharedStyleSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SharedStyleSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleParameterValueSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleParameterValueSerializer.cs index 4b70f6b93..22cdfbb06 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleParameterValueSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleParameterValueSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleQuantityKindSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleQuantityKindSerializer.cs index fac2f56b2..f9ff704eb 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleQuantityKindSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleQuantityKindSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class SimpleQuantityKindSerializer : BaseThingSerializer, IThingSerialize { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "defaultScale", defaultScale => new JValue(defaultScale) }, @@ -78,6 +80,7 @@ private JObject Serialize(SimpleQuantityKind simpleQuantityKind) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](simpleQuantityKind.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](simpleQuantityKind.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](simpleQuantityKind.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), simpleQuantityKind.ClassKind))); jsonObject.Add("defaultScale", this.PropertySerializerMap["defaultScale"](simpleQuantityKind.DefaultScale)); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleUnitSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleUnitSerializer.cs index 4cf8ffb62..e660032cd 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleUnitSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SimpleUnitSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class SimpleUnitSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -73,6 +75,7 @@ private JObject Serialize(SimpleUnit simpleUnit) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](simpleUnit.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](simpleUnit.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), simpleUnit.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](simpleUnit.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](simpleUnit.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataAnnotationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataAnnotationSerializer.cs index 92fdee2df..5d6d9ee62 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataAnnotationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataAnnotationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataDiscussionItemSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataDiscussionItemSerializer.cs index 2f12b765d..27aac5406 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataDiscussionItemSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryDataDiscussionItemSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectorySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectorySerializer.cs index f29372de4..02cf9eaac 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectorySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectorySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryThingReferenceSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryThingReferenceSerializer.cs index 2b33b4e6b..573420c77 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryThingReferenceSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteDirectoryThingReferenceSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteLogEntrySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteLogEntrySerializer.cs index b5912bc0b..d624809af 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteLogEntrySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteLogEntrySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteReferenceDataLibrarySerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteReferenceDataLibrarySerializer.cs index ce4c3fe0d..9d5233b93 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SiteReferenceDataLibrarySerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SiteReferenceDataLibrarySerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class SiteReferenceDataLibrarySerializer : BaseThingSerializer, IThingSer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "baseQuantityKind", baseQuantityKind => new JArray(((IEnumerable)baseQuantityKind).Cast().Select(x => x.ToJsonObject())) }, { "baseUnit", baseUnit => new JArray(baseUnit) }, { "classKind", classKind => new JValue(classKind.ToString()) }, @@ -86,6 +88,7 @@ private JObject Serialize(SiteReferenceDataLibrary siteReferenceDataLibrary) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](siteReferenceDataLibrary.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](siteReferenceDataLibrary.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("baseQuantityKind", this.PropertySerializerMap["baseQuantityKind"](siteReferenceDataLibrary.BaseQuantityKind.OrderBy(x => x, this.orderedItemComparer))); jsonObject.Add("baseUnit", this.PropertySerializerMap["baseUnit"](siteReferenceDataLibrary.BaseUnit.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), siteReferenceDataLibrary.ClassKind))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SolutionSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SolutionSerializer.cs index 68a30823e..c92a94106 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SolutionSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SolutionSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/SpecializedQuantityKindSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/SpecializedQuantityKindSerializer.cs index 3e49c04b2..f5d298c7a 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/SpecializedQuantityKindSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/SpecializedQuantityKindSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class SpecializedQuantityKindSerializer : BaseThingSerializer, IThingSeri { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "defaultScale", defaultScale => new JValue(defaultScale) }, @@ -79,6 +81,7 @@ private JObject Serialize(SpecializedQuantityKind specializedQuantityKind) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](specializedQuantityKind.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](specializedQuantityKind.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](specializedQuantityKind.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), specializedQuantityKind.ClassKind))); jsonObject.Add("defaultScale", this.PropertySerializerMap["defaultScale"](specializedQuantityKind.DefaultScale)); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSerializer.cs index e03e6baab..328fc5923 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class StakeHolderValueMapSerializer : BaseThingSerializer, IThingSerializ { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -78,6 +80,7 @@ private JObject Serialize(StakeHolderValueMap stakeHolderValueMap) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](stakeHolderValueMap.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](stakeHolderValueMap.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](stakeHolderValueMap.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), stakeHolderValueMap.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](stakeHolderValueMap.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSettingsSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSettingsSerializer.cs index 9ac71efda..9fa6481cd 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSettingsSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeHolderValueMapSettingsSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderSerializer.cs index 418a744e9..6821e77eb 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class StakeholderSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -74,6 +76,7 @@ private JObject Serialize(Stakeholder stakeholder) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](stakeholder.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](stakeholder.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](stakeholder.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), stakeholder.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](stakeholder.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderValueSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderValueSerializer.cs index aeafd65c6..f2f07f877 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderValueSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/StakeholderValueSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class StakeholderValueSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -73,6 +75,7 @@ private JObject Serialize(StakeholderValue stakeholderValue) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](stakeholderValue.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](stakeholderValue.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](stakeholderValue.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), stakeholderValue.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](stakeholderValue.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/TelephoneNumberSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/TelephoneNumberSerializer.cs index 01d37ef4f..5b27dcfab 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/TelephoneNumberSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/TelephoneNumberSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/TermSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/TermSerializer.cs index 73c9a4eeb..02d55030e 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/TermSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/TermSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class TermSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, @@ -73,6 +75,7 @@ private JObject Serialize(Term term) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](term.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](term.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), term.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](term.Definition.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](term.ExcludedDomain.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/TextParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/TextParameterTypeSerializer.cs index c789489fe..639179182 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/TextParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/TextParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class TextParameterTypeSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(TextParameterType textParameterType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](textParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](textParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](textParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), textParameterType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](textParameterType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/TextualNoteSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/TextualNoteSerializer.cs index fd66640d1..d3f10260f 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/TextualNoteSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/TextualNoteSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/TimeOfDayParameterTypeSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/TimeOfDayParameterTypeSerializer.cs index bacae9364..7efad5e88 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/TimeOfDayParameterTypeSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/TimeOfDayParameterTypeSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class TimeOfDayParameterTypeSerializer : BaseThingSerializer, IThingSeria { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -75,6 +77,7 @@ private JObject Serialize(TimeOfDayParameterType timeOfDayParameterType) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](timeOfDayParameterType.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](timeOfDayParameterType.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](timeOfDayParameterType.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), timeOfDayParameterType.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](timeOfDayParameterType.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/UnitFactorSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/UnitFactorSerializer.cs index 269622ccd..725ba714a 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/UnitFactorSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/UnitFactorSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/UnitPrefixSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/UnitPrefixSerializer.cs index 9d93d94d0..e96d7c737 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/UnitPrefixSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/UnitPrefixSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class UnitPrefixSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "conversionFactor", conversionFactor => new JValue(conversionFactor) }, { "definition", definition => new JArray(definition) }, @@ -74,6 +76,7 @@ private JObject Serialize(UnitPrefix unitPrefix) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](unitPrefix.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](unitPrefix.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), unitPrefix.ClassKind))); jsonObject.Add("conversionFactor", this.PropertySerializerMap["conversionFactor"](unitPrefix.ConversionFactor)); jsonObject.Add("definition", this.PropertySerializerMap["definition"](unitPrefix.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/UserPreferenceSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/UserPreferenceSerializer.cs index a17a3a926..510880c51 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/UserPreferenceSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/UserPreferenceSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/UserRuleVerificationSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/UserRuleVerificationSerializer.cs index e1a4946c4..61efc1cd6 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/UserRuleVerificationSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/UserRuleVerificationSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ValueGroupSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ValueGroupSerializer.cs index a1853c804..0e9a41adb 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ValueGroupSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ValueGroupSerializer.cs @@ -1,18 +1,19 @@ // -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2022 RHEA System S.A. +// +// Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, Nathanael Smiechowski +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -50,6 +51,7 @@ public class ValueGroupSerializer : BaseThingSerializer, IThingSerializer { { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, + { "attachment", attachment => new JArray(attachment) }, { "category", category => new JArray(category) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "definition", definition => new JArray(definition) }, @@ -73,6 +75,7 @@ private JObject Serialize(ValueGroup valueGroup) { var jsonObject = new JObject(); jsonObject.Add("alias", this.PropertySerializerMap["alias"](valueGroup.Alias.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](valueGroup.Attachment.OrderBy(x => x, this.guidComparer))); jsonObject.Add("category", this.PropertySerializerMap["category"](valueGroup.Category.OrderBy(x => x, this.guidComparer))); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), valueGroup.ClassKind))); jsonObject.Add("definition", this.PropertySerializerMap["definition"](valueGroup.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActionItemMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActionItemMessagePackFormatter.cs index 60d6fa26f..0b2ba3297 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActionItemMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActionItemMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateListMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateListMessagePackFormatter.cs index 8c2dccd02..32f3c5c74 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateListMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateListMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateMessagePackFormatter.cs index 10d7b9d67..9faac88de 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ActualFiniteStateMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AliasMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AliasMessagePackFormatter.cs index 0d344916e..6d3bb2f42 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AliasMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AliasMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AndExpressionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AndExpressionMessagePackFormatter.cs index a13126b98..2ae2d690e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AndExpressionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AndExpressionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ApprovalMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ApprovalMessagePackFormatter.cs index 7f853f3b7..011f5c2cf 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ApprovalMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ApprovalMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs new file mode 100644 index 000000000..34582590c --- /dev/null +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs @@ -0,0 +1,276 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | createdOn | DateTime | 1..1 | 1.4.0 | + | 9 | description | string | 1..1 | 1.4.0 | + | 10 | diagramElement | Guid | 0..* | 1.4.0 | + | 11 | name | string | 1..1 | 1.4.0 | + | 12 | owner | Guid | 1..1 | 1.4.0 | + | 13 | publicationState | PublicationState | 1..1 | 1.4.0 | + | 14 | topArchitectureElement | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4MessagePackSerializer +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common; + using CDP4Common.Comparers; + using CDP4Common.DTO; + using CDP4Common.Types; + + using global::MessagePack; + using global::MessagePack.Formatters; + + /// + /// The purpose of the is to provide + /// the contract for MessagePack (de)serialization of the type + /// + [CDPVersion("1.4.0")] + public class ArchitectureDiagramMessagePackFormatter : IMessagePackFormatter + { + /// + /// The used to compare 2 s + /// + private static readonly GuidComparer guidComparer = new GuidComparer(); + + /// + /// The used to compare 2 s + /// + private static readonly OrderedItemComparer orderedItemComparer = new OrderedItemComparer(); + + /// + /// Serializes an DTO. + /// + /// + /// The to use when serializing the value. + /// + /// + /// The that is to be serialized. + /// + /// + /// The serialization settings to use. + /// + public void Serialize(ref MessagePackWriter writer, ArchitectureDiagram architectureDiagram, MessagePackSerializerOptions options) + { + if (architectureDiagram == null) + { + throw new ArgumentNullException(nameof(architectureDiagram), "The ArchitectureDiagram may not be null"); + } + + writer.WriteArrayHeader(15); + + writer.Write(architectureDiagram.Iid.ToByteArray()); + writer.Write(architectureDiagram.RevisionNumber); + + writer.WriteArrayHeader(architectureDiagram.ExcludedDomain.Count); + foreach (var identifier in architectureDiagram.ExcludedDomain.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(architectureDiagram.ExcludedPerson.Count); + foreach (var identifier in architectureDiagram.ExcludedPerson.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(architectureDiagram.ModifiedOn); + writer.Write(architectureDiagram.ThingPreference); + if (architectureDiagram.Actor.HasValue) + { + writer.Write(architectureDiagram.Actor.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(architectureDiagram.Bounds.Count); + foreach (var identifier in architectureDiagram.Bounds.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(architectureDiagram.CreatedOn); + writer.Write(architectureDiagram.Description); + writer.WriteArrayHeader(architectureDiagram.DiagramElement.Count); + foreach (var identifier in architectureDiagram.DiagramElement.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(architectureDiagram.Name); + writer.Write(architectureDiagram.Owner.ToByteArray()); + writer.Write(architectureDiagram.PublicationState.ToString()); + if (architectureDiagram.TopArchitectureElement.HasValue) + { + writer.Write(architectureDiagram.TopArchitectureElement.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + + writer.Flush(); + } + + /// + /// Deserializes an . + /// + /// + /// The to deserialize the from. + /// + /// + /// The serialization settings to use. + /// + /// + /// The deserialized . + /// + public ArchitectureDiagram Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) + { + if (reader.TryReadNil()) + { + return null; + } + + options.Security.DepthStep(ref reader); + + var architectureDiagram = new ArchitectureDiagram(); + + var propertyCounter = reader.ReadArrayHeader(); + + for (var i = 0; i < propertyCounter; i++) + { + int valueLength; + int valueCounter; + OrderedItem orderedItem = null; + + switch (i) + { + case 0: + architectureDiagram.Iid = reader.ReadBytes().ToGuid(); + break; + case 1: + architectureDiagram.RevisionNumber = reader.ReadInt32(); + break; + case 2: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureDiagram.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + } + break; + case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureDiagram.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: + architectureDiagram.ModifiedOn = reader.ReadDateTime(); + break; + case 5: + architectureDiagram.ThingPreference = reader.ReadString(); + break; + case 6: + if (reader.TryReadNil()) + { + architectureDiagram.Actor = null; + } + else + { + architectureDiagram.Actor = reader.ReadBytes().ToGuid(); + } + break; + case 7: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureDiagram.Bounds.Add(reader.ReadBytes().ToGuid()); + } + break; + case 8: + architectureDiagram.CreatedOn = reader.ReadDateTime(); + break; + case 9: + architectureDiagram.Description = reader.ReadString(); + break; + case 10: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureDiagram.DiagramElement.Add(reader.ReadBytes().ToGuid()); + } + break; + case 11: + architectureDiagram.Name = reader.ReadString(); + break; + case 12: + architectureDiagram.Owner = reader.ReadBytes().ToGuid(); + break; + case 13: + architectureDiagram.PublicationState = (CDP4Common.DiagramData.PublicationState)Enum.Parse(typeof(CDP4Common.DiagramData.PublicationState), reader.ReadString(), true); + break; + case 14: + if (reader.TryReadNil()) + { + architectureDiagram.TopArchitectureElement = null; + } + else + { + architectureDiagram.TopArchitectureElement = reader.ReadBytes().ToGuid(); + } + break; + default: + reader.Skip(); + break; + } + } + + reader.Depth--; + + return architectureDiagram; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureElementMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureElementMessagePackFormatter.cs new file mode 100644 index 000000000..609027dc4 --- /dev/null +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureElementMessagePackFormatter.cs @@ -0,0 +1,298 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | depictedThing | Guid | 0..1 | 1.4.0 | + | 9 | diagramElement | Guid | 0..* | 1.4.0 | + | 10 | documentation | string | 1..1 | 1.4.0 | + | 11 | localStyle | Guid | 0..1 | 1.4.0 | + | 12 | name | string | 1..1 | 1.4.0 | + | 13 | resolution | float | 1..1 | 1.4.0 | + | 14 | sharedStyle | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4MessagePackSerializer +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common; + using CDP4Common.Comparers; + using CDP4Common.DTO; + using CDP4Common.Types; + + using global::MessagePack; + using global::MessagePack.Formatters; + + /// + /// The purpose of the is to provide + /// the contract for MessagePack (de)serialization of the type + /// + [CDPVersion("1.4.0")] + public class ArchitectureElementMessagePackFormatter : IMessagePackFormatter + { + /// + /// The used to compare 2 s + /// + private static readonly GuidComparer guidComparer = new GuidComparer(); + + /// + /// The used to compare 2 s + /// + private static readonly OrderedItemComparer orderedItemComparer = new OrderedItemComparer(); + + /// + /// Serializes an DTO. + /// + /// + /// The to use when serializing the value. + /// + /// + /// The that is to be serialized. + /// + /// + /// The serialization settings to use. + /// + public void Serialize(ref MessagePackWriter writer, ArchitectureElement architectureElement, MessagePackSerializerOptions options) + { + if (architectureElement == null) + { + throw new ArgumentNullException(nameof(architectureElement), "The ArchitectureElement may not be null"); + } + + writer.WriteArrayHeader(15); + + writer.Write(architectureElement.Iid.ToByteArray()); + writer.Write(architectureElement.RevisionNumber); + + writer.WriteArrayHeader(architectureElement.ExcludedDomain.Count); + foreach (var identifier in architectureElement.ExcludedDomain.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(architectureElement.ExcludedPerson.Count); + foreach (var identifier in architectureElement.ExcludedPerson.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(architectureElement.ModifiedOn); + writer.Write(architectureElement.ThingPreference); + if (architectureElement.Actor.HasValue) + { + writer.Write(architectureElement.Actor.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(architectureElement.Bounds.Count); + foreach (var identifier in architectureElement.Bounds.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + if (architectureElement.DepictedThing.HasValue) + { + writer.Write(architectureElement.DepictedThing.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(architectureElement.DiagramElement.Count); + foreach (var identifier in architectureElement.DiagramElement.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(architectureElement.Documentation); + writer.WriteArrayHeader(architectureElement.LocalStyle.Count); + foreach (var identifier in architectureElement.LocalStyle.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(architectureElement.Name); + writer.Write(architectureElement.Resolution); + if (architectureElement.SharedStyle.HasValue) + { + writer.Write(architectureElement.SharedStyle.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + + writer.Flush(); + } + + /// + /// Deserializes an . + /// + /// + /// The to deserialize the from. + /// + /// + /// The serialization settings to use. + /// + /// + /// The deserialized . + /// + public ArchitectureElement Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) + { + if (reader.TryReadNil()) + { + return null; + } + + options.Security.DepthStep(ref reader); + + var architectureElement = new ArchitectureElement(); + + var propertyCounter = reader.ReadArrayHeader(); + + for (var i = 0; i < propertyCounter; i++) + { + int valueLength; + int valueCounter; + OrderedItem orderedItem = null; + + switch (i) + { + case 0: + architectureElement.Iid = reader.ReadBytes().ToGuid(); + break; + case 1: + architectureElement.RevisionNumber = reader.ReadInt32(); + break; + case 2: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureElement.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + } + break; + case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureElement.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: + architectureElement.ModifiedOn = reader.ReadDateTime(); + break; + case 5: + architectureElement.ThingPreference = reader.ReadString(); + break; + case 6: + if (reader.TryReadNil()) + { + architectureElement.Actor = null; + } + else + { + architectureElement.Actor = reader.ReadBytes().ToGuid(); + } + break; + case 7: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureElement.Bounds.Add(reader.ReadBytes().ToGuid()); + } + break; + case 8: + if (reader.TryReadNil()) + { + architectureElement.DepictedThing = null; + } + else + { + architectureElement.DepictedThing = reader.ReadBytes().ToGuid(); + } + break; + case 9: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureElement.DiagramElement.Add(reader.ReadBytes().ToGuid()); + } + break; + case 10: + architectureElement.Documentation = reader.ReadString(); + break; + case 11: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + architectureElement.LocalStyle.Add(reader.ReadBytes().ToGuid()); + } + break; + case 12: + architectureElement.Name = reader.ReadString(); + break; + case 13: + architectureElement.Resolution = reader.ReadSingle(); + break; + case 14: + if (reader.TryReadNil()) + { + architectureElement.SharedStyle = null; + } + else + { + architectureElement.SharedStyle = reader.ReadBytes().ToGuid(); + } + break; + default: + reader.Skip(); + break; + } + } + + reader.Depth--; + + return architectureElement; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs index fe26f12fd..d643c5fab 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,22 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | component | Guid | 1..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | dimension | int | 1..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | isFinalized | bool | 1..1 | 1.0.0 | - | 10 | isTensor | bool | 1..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | component | Guid | 1..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | dimension | int | 1..* | 1.0.0 | + | 8 | hyperLink | Guid | 0..* | 1.0.0 | + | 9 | isDeprecated | bool | 1..1 | 1.0.0 | + | 10 | isFinalized | bool | 1..1 | 1.0.0 | + | 11 | isTensor | bool | 1..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | symbol | string | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -102,7 +103,7 @@ public void Serialize(ref MessagePackWriter writer, ArrayParameterType arrayPara throw new ArgumentNullException(nameof(arrayParameterType), "The ArrayParameterType may not be null"); } - writer.WriteArrayHeader(19); + writer.WriteArrayHeader(20); writer.Write(arrayParameterType.Iid.ToByteArray()); writer.Write(arrayParameterType.RevisionNumber); @@ -112,6 +113,11 @@ public void Serialize(ref MessagePackWriter writer, ArrayParameterType arrayPara { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(arrayParameterType.Attachment.Count); + foreach (var identifier in arrayParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(arrayParameterType.Category.Count); foreach (var identifier in arrayParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -221,10 +227,17 @@ public ArrayParameterType Deserialize(ref MessagePackReader reader, MessagePackS valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - arrayParameterType.Category.Add(reader.ReadBytes().ToGuid()); + arrayParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + arrayParameterType.Category.Add(reader.ReadBytes().ToGuid()); + } + break; + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -235,14 +248,14 @@ public ArrayParameterType Deserialize(ref MessagePackReader reader, MessagePackS arrayParameterType.Component.Add(orderedItem); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -253,52 +266,52 @@ public ArrayParameterType Deserialize(ref MessagePackReader reader, MessagePackS arrayParameterType.Dimension.Add(orderedItem); } break; - case 7: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: arrayParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 10: arrayParameterType.IsFinalized = reader.ReadBoolean(); break; - case 10: + case 11: arrayParameterType.IsTensor = reader.ReadBoolean(); break; - case 11: + case 12: arrayParameterType.Name = reader.ReadString(); break; - case 12: + case 13: arrayParameterType.ShortName = reader.ReadString(); break; - case 13: + case 14: arrayParameterType.Symbol = reader.ReadString(); break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 17: arrayParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 18: arrayParameterType.ThingPreference = reader.ReadString(); break; - case 18: + case 19: if (reader.TryReadNil()) { arrayParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AttachmentMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AttachmentMessagePackFormatter.cs new file mode 100644 index 000000000..04c0e20d8 --- /dev/null +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/AttachmentMessagePackFormatter.cs @@ -0,0 +1,229 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | contentHash | string | 1..1 | 1.4.0 | + | 8 | fileName | string | 1..1 | 1.4.0 | + | 9 | fileType | Guid | 1..* | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4MessagePackSerializer +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common; + using CDP4Common.Comparers; + using CDP4Common.DTO; + using CDP4Common.Types; + + using global::MessagePack; + using global::MessagePack.Formatters; + + /// + /// The purpose of the is to provide + /// the contract for MessagePack (de)serialization of the type + /// + [CDPVersion("1.4.0")] + public class AttachmentMessagePackFormatter : IMessagePackFormatter + { + /// + /// The used to compare 2 s + /// + private static readonly GuidComparer guidComparer = new GuidComparer(); + + /// + /// The used to compare 2 s + /// + private static readonly OrderedItemComparer orderedItemComparer = new OrderedItemComparer(); + + /// + /// Serializes an DTO. + /// + /// + /// The to use when serializing the value. + /// + /// + /// The that is to be serialized. + /// + /// + /// The serialization settings to use. + /// + public void Serialize(ref MessagePackWriter writer, Attachment attachment, MessagePackSerializerOptions options) + { + if (attachment == null) + { + throw new ArgumentNullException(nameof(attachment), "The Attachment may not be null"); + } + + writer.WriteArrayHeader(10); + + writer.Write(attachment.Iid.ToByteArray()); + writer.Write(attachment.RevisionNumber); + + writer.WriteArrayHeader(attachment.ExcludedDomain.Count); + foreach (var identifier in attachment.ExcludedDomain.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(attachment.ExcludedPerson.Count); + foreach (var identifier in attachment.ExcludedPerson.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(attachment.ModifiedOn); + writer.Write(attachment.ThingPreference); + if (attachment.Actor.HasValue) + { + writer.Write(attachment.Actor.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.Write(attachment.ContentHash); + writer.Write(attachment.FileName); + writer.WriteArrayHeader(attachment.FileType.Count); + foreach (var identifier in attachment.FileType.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + + writer.Flush(); + } + + /// + /// Deserializes an . + /// + /// + /// The to deserialize the from. + /// + /// + /// The serialization settings to use. + /// + /// + /// The deserialized . + /// + public Attachment Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) + { + if (reader.TryReadNil()) + { + return null; + } + + options.Security.DepthStep(ref reader); + + var attachment = new Attachment(); + + var propertyCounter = reader.ReadArrayHeader(); + + for (var i = 0; i < propertyCounter; i++) + { + int valueLength; + int valueCounter; + OrderedItem orderedItem = null; + + switch (i) + { + case 0: + attachment.Iid = reader.ReadBytes().ToGuid(); + break; + case 1: + attachment.RevisionNumber = reader.ReadInt32(); + break; + case 2: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + attachment.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + } + break; + case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + attachment.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: + attachment.ModifiedOn = reader.ReadDateTime(); + break; + case 5: + attachment.ThingPreference = reader.ReadString(); + break; + case 6: + if (reader.TryReadNil()) + { + attachment.Actor = null; + } + else + { + attachment.Actor = reader.ReadBytes().ToGuid(); + } + break; + case 7: + attachment.ContentHash = reader.ReadString(); + break; + case 8: + attachment.FileName = reader.ReadString(); + break; + case 9: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + attachment.FileType.Add(reader.ReadBytes().ToGuid()); + } + break; + default: + reader.Skip(); + break; + } + } + + reader.Depth--; + + return attachment; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehaviorMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehaviorMessagePackFormatter.cs new file mode 100644 index 000000000..9ccf4f6aa --- /dev/null +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehaviorMessagePackFormatter.cs @@ -0,0 +1,291 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | alias | Guid | 0..* | 1.4.0 | + | 8 | attachment | Guid | 0..* | 1.4.0 | + | 9 | behavioralModelKind | BehavioralModelKind | 1..1 | 1.4.0 | + | 10 | behavioralParameter | Guid | 0..* | 1.4.0 | + | 11 | definition | Guid | 0..* | 1.4.0 | + | 12 | hyperLink | Guid | 0..* | 1.4.0 | + | 13 | name | string | 1..1 | 1.4.0 | + | 14 | script | string | 0..1 | 1.4.0 | + | 15 | shortName | string | 1..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4MessagePackSerializer +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common; + using CDP4Common.Comparers; + using CDP4Common.DTO; + using CDP4Common.Types; + + using global::MessagePack; + using global::MessagePack.Formatters; + + /// + /// The purpose of the is to provide + /// the contract for MessagePack (de)serialization of the type + /// + [CDPVersion("1.4.0")] + public class BehaviorMessagePackFormatter : IMessagePackFormatter + { + /// + /// The used to compare 2 s + /// + private static readonly GuidComparer guidComparer = new GuidComparer(); + + /// + /// The used to compare 2 s + /// + private static readonly OrderedItemComparer orderedItemComparer = new OrderedItemComparer(); + + /// + /// Serializes an DTO. + /// + /// + /// The to use when serializing the value. + /// + /// + /// The that is to be serialized. + /// + /// + /// The serialization settings to use. + /// + public void Serialize(ref MessagePackWriter writer, Behavior behavior, MessagePackSerializerOptions options) + { + if (behavior == null) + { + throw new ArgumentNullException(nameof(behavior), "The Behavior may not be null"); + } + + writer.WriteArrayHeader(16); + + writer.Write(behavior.Iid.ToByteArray()); + writer.Write(behavior.RevisionNumber); + + writer.WriteArrayHeader(behavior.ExcludedDomain.Count); + foreach (var identifier in behavior.ExcludedDomain.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(behavior.ExcludedPerson.Count); + foreach (var identifier in behavior.ExcludedPerson.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(behavior.ModifiedOn); + writer.Write(behavior.ThingPreference); + if (behavior.Actor.HasValue) + { + writer.Write(behavior.Actor.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(behavior.Alias.Count); + foreach (var identifier in behavior.Alias.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(behavior.Attachment.Count); + foreach (var identifier in behavior.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(behavior.BehavioralModelKind.ToString()); + writer.WriteArrayHeader(behavior.BehavioralParameter.Count); + foreach (var identifier in behavior.BehavioralParameter.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(behavior.Definition.Count); + foreach (var identifier in behavior.Definition.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(behavior.HyperLink.Count); + foreach (var identifier in behavior.HyperLink.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(behavior.Name); + writer.Write(behavior.Script); + writer.Write(behavior.ShortName); + + writer.Flush(); + } + + /// + /// Deserializes an . + /// + /// + /// The to deserialize the from. + /// + /// + /// The serialization settings to use. + /// + /// + /// The deserialized . + /// + public Behavior Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) + { + if (reader.TryReadNil()) + { + return null; + } + + options.Security.DepthStep(ref reader); + + var behavior = new Behavior(); + + var propertyCounter = reader.ReadArrayHeader(); + + for (var i = 0; i < propertyCounter; i++) + { + int valueLength; + int valueCounter; + OrderedItem orderedItem = null; + + switch (i) + { + case 0: + behavior.Iid = reader.ReadBytes().ToGuid(); + break; + case 1: + behavior.RevisionNumber = reader.ReadInt32(); + break; + case 2: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavior.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + } + break; + case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavior.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: + behavior.ModifiedOn = reader.ReadDateTime(); + break; + case 5: + behavior.ThingPreference = reader.ReadString(); + break; + case 6: + if (reader.TryReadNil()) + { + behavior.Actor = null; + } + else + { + behavior.Actor = reader.ReadBytes().ToGuid(); + } + break; + case 7: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavior.Alias.Add(reader.ReadBytes().ToGuid()); + } + break; + case 8: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavior.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; + case 9: + behavior.BehavioralModelKind = (CDP4Common.EngineeringModelData.BehavioralModelKind)Enum.Parse(typeof(CDP4Common.EngineeringModelData.BehavioralModelKind), reader.ReadString(), true); + break; + case 10: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavior.BehavioralParameter.Add(reader.ReadBytes().ToGuid()); + } + break; + case 11: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavior.Definition.Add(reader.ReadBytes().ToGuid()); + } + break; + case 12: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavior.HyperLink.Add(reader.ReadBytes().ToGuid()); + } + break; + case 13: + behavior.Name = reader.ReadString(); + break; + case 14: + behavior.Script = reader.ReadString(); + break; + case 15: + behavior.ShortName = reader.ReadString(); + break; + default: + reader.Skip(); + break; + } + } + + reader.Depth--; + + return behavior; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehavioralParameterMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehavioralParameterMessagePackFormatter.cs new file mode 100644 index 000000000..2407e6e22 --- /dev/null +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BehavioralParameterMessagePackFormatter.cs @@ -0,0 +1,221 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | behavioralParameterKind | BehavioralParameterKind | 1..1 | 1.4.0 | + | 8 | parameter | Guid | 1..1 | 1.4.0 | + | 9 | variableName | string | 1..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4MessagePackSerializer +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common; + using CDP4Common.Comparers; + using CDP4Common.DTO; + using CDP4Common.Types; + + using global::MessagePack; + using global::MessagePack.Formatters; + + /// + /// The purpose of the is to provide + /// the contract for MessagePack (de)serialization of the type + /// + [CDPVersion("1.4.0")] + public class BehavioralParameterMessagePackFormatter : IMessagePackFormatter + { + /// + /// The used to compare 2 s + /// + private static readonly GuidComparer guidComparer = new GuidComparer(); + + /// + /// The used to compare 2 s + /// + private static readonly OrderedItemComparer orderedItemComparer = new OrderedItemComparer(); + + /// + /// Serializes an DTO. + /// + /// + /// The to use when serializing the value. + /// + /// + /// The that is to be serialized. + /// + /// + /// The serialization settings to use. + /// + public void Serialize(ref MessagePackWriter writer, BehavioralParameter behavioralParameter, MessagePackSerializerOptions options) + { + if (behavioralParameter == null) + { + throw new ArgumentNullException(nameof(behavioralParameter), "The BehavioralParameter may not be null"); + } + + writer.WriteArrayHeader(10); + + writer.Write(behavioralParameter.Iid.ToByteArray()); + writer.Write(behavioralParameter.RevisionNumber); + + writer.WriteArrayHeader(behavioralParameter.ExcludedDomain.Count); + foreach (var identifier in behavioralParameter.ExcludedDomain.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(behavioralParameter.ExcludedPerson.Count); + foreach (var identifier in behavioralParameter.ExcludedPerson.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(behavioralParameter.ModifiedOn); + writer.Write(behavioralParameter.ThingPreference); + if (behavioralParameter.Actor.HasValue) + { + writer.Write(behavioralParameter.Actor.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.Write(behavioralParameter.BehavioralParameterKind.ToString()); + writer.Write(behavioralParameter.Parameter.ToByteArray()); + writer.Write(behavioralParameter.VariableName); + + writer.Flush(); + } + + /// + /// Deserializes an . + /// + /// + /// The to deserialize the from. + /// + /// + /// The serialization settings to use. + /// + /// + /// The deserialized . + /// + public BehavioralParameter Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) + { + if (reader.TryReadNil()) + { + return null; + } + + options.Security.DepthStep(ref reader); + + var behavioralParameter = new BehavioralParameter(); + + var propertyCounter = reader.ReadArrayHeader(); + + for (var i = 0; i < propertyCounter; i++) + { + int valueLength; + int valueCounter; + OrderedItem orderedItem = null; + + switch (i) + { + case 0: + behavioralParameter.Iid = reader.ReadBytes().ToGuid(); + break; + case 1: + behavioralParameter.RevisionNumber = reader.ReadInt32(); + break; + case 2: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavioralParameter.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + } + break; + case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + behavioralParameter.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: + behavioralParameter.ModifiedOn = reader.ReadDateTime(); + break; + case 5: + behavioralParameter.ThingPreference = reader.ReadString(); + break; + case 6: + if (reader.TryReadNil()) + { + behavioralParameter.Actor = null; + } + else + { + behavioralParameter.Actor = reader.ReadBytes().ToGuid(); + } + break; + case 7: + behavioralParameter.BehavioralParameterKind = (CDP4Common.EngineeringModelData.BehavioralParameterKind)Enum.Parse(typeof(CDP4Common.EngineeringModelData.BehavioralParameterKind), reader.ReadString(), true); + break; + case 8: + behavioralParameter.Parameter = reader.ReadBytes().ToGuid(); + break; + case 9: + behavioralParameter.VariableName = reader.ReadString(); + break; + default: + reader.Skip(); + break; + } + } + + reader.Depth--; + + return behavioralParameter; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryNoteMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryNoteMessagePackFormatter.cs index 7d88c49c0..86ff257bc 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryNoteMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryNoteMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipMessagePackFormatter.cs index bd8a7c333..606e5b44b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs index f62294328..502880092 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,21 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | forwardRelationshipName | string | 1..1 | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | inverseRelationshipName | string | 1..1 | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | sourceCategory | Guid | 1..1 | 1.0.0 | - | 12 | targetCategory | Guid | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | forwardRelationshipName | string | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | inverseRelationshipName | string | 1..1 | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | sourceCategory | Guid | 1..1 | 1.0.0 | + | 13 | targetCategory | Guid | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -101,7 +102,7 @@ public void Serialize(ref MessagePackWriter writer, BinaryRelationshipRule binar throw new ArgumentNullException(nameof(binaryRelationshipRule), "The BinaryRelationshipRule may not be null"); } - writer.WriteArrayHeader(18); + writer.WriteArrayHeader(19); writer.Write(binaryRelationshipRule.Iid.ToByteArray()); writer.Write(binaryRelationshipRule.RevisionNumber); @@ -111,6 +112,11 @@ public void Serialize(ref MessagePackWriter writer, BinaryRelationshipRule binar { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(binaryRelationshipRule.Attachment.Count); + foreach (var identifier in binaryRelationshipRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(binaryRelationshipRule.Definition.Count); foreach (var identifier in binaryRelationshipRule.Definition.OrderBy(x => x, guidComparer)) { @@ -203,61 +209,68 @@ public BinaryRelationshipRule Deserialize(ref MessagePackReader reader, MessageP valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - binaryRelationshipRule.Definition.Add(reader.ReadBytes().ToGuid()); + binaryRelationshipRule.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: - binaryRelationshipRule.ForwardRelationshipName = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + binaryRelationshipRule.Definition.Add(reader.ReadBytes().ToGuid()); + } break; case 5: + binaryRelationshipRule.ForwardRelationshipName = reader.ReadString(); + break; + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { binaryRelationshipRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: binaryRelationshipRule.InverseRelationshipName = reader.ReadString(); break; - case 7: + case 8: binaryRelationshipRule.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: binaryRelationshipRule.Name = reader.ReadString(); break; - case 9: + case 10: binaryRelationshipRule.RelationshipCategory = reader.ReadBytes().ToGuid(); break; - case 10: + case 11: binaryRelationshipRule.ShortName = reader.ReadString(); break; - case 11: + case 12: binaryRelationshipRule.SourceCategory = reader.ReadBytes().ToGuid(); break; - case 12: + case 13: binaryRelationshipRule.TargetCategory = reader.ReadBytes().ToGuid(); break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { binaryRelationshipRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { binaryRelationshipRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: binaryRelationshipRule.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 17: binaryRelationshipRule.ThingPreference = reader.ReadString(); break; - case 17: + case 18: if (reader.TryReadNil()) { binaryRelationshipRule.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BookMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BookMessagePackFormatter.cs index 6ab2a26b2..edc493d2e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BookMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BookMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs index b8272e325..4846d8cb9 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, BooleanParameterType boolean throw new ArgumentNullException(nameof(booleanParameterType), "The BooleanParameterType may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(booleanParameterType.Iid.ToByteArray()); writer.Write(booleanParameterType.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, BooleanParameterType boolean { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(booleanParameterType.Attachment.Count); + foreach (var identifier in booleanParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(booleanParameterType.Category.Count); foreach (var identifier in booleanParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -201,56 +207,63 @@ public BooleanParameterType Deserialize(ref MessagePackReader reader, MessagePac valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - booleanParameterType.Category.Add(reader.ReadBytes().ToGuid()); + booleanParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - booleanParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + booleanParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - booleanParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + booleanParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - booleanParameterType.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + booleanParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - booleanParameterType.Name = reader.ReadString(); + booleanParameterType.IsDeprecated = reader.ReadBoolean(); break; case 8: - booleanParameterType.ShortName = reader.ReadString(); + booleanParameterType.Name = reader.ReadString(); break; case 9: - booleanParameterType.Symbol = reader.ReadString(); + booleanParameterType.ShortName = reader.ReadString(); break; case 10: + booleanParameterType.Symbol = reader.ReadString(); + break; + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { booleanParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { booleanParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: booleanParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: booleanParameterType.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { booleanParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BoundsMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BoundsMessagePackFormatter.cs index 95b4f468a..4a1ee0b1e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BoundsMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BoundsMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BuiltInRuleVerificationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BuiltInRuleVerificationMessagePackFormatter.cs index 6f0a48977..ecbee80ef 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BuiltInRuleVerificationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BuiltInRuleVerificationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs index 81e4afc48..5216d061b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,19 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isAbstract | bool | 1..1 | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | permissibleClass | ClassKind | 1..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | superCategory | Guid | 0..* | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isAbstract | bool | 1..1 | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | permissibleClass | ClassKind | 1..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | superCategory | Guid | 0..* | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -99,7 +100,7 @@ public void Serialize(ref MessagePackWriter writer, Category category, MessagePa throw new ArgumentNullException(nameof(category), "The Category may not be null"); } - writer.WriteArrayHeader(16); + writer.WriteArrayHeader(17); writer.Write(category.Iid.ToByteArray()); writer.Write(category.RevisionNumber); @@ -109,6 +110,11 @@ public void Serialize(ref MessagePackWriter writer, Category category, MessagePa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(category.Attachment.Count); + foreach (var identifier in category.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(category.Definition.Count); foreach (var identifier in category.Definition.OrderBy(x => x, guidComparer)) { @@ -207,26 +213,33 @@ public Category Deserialize(ref MessagePackReader reader, MessagePackSerializerO valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - category.Definition.Add(reader.ReadBytes().ToGuid()); + category.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - category.HyperLink.Add(reader.ReadBytes().ToGuid()); + category.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - category.IsAbstract = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + category.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - category.IsDeprecated = reader.ReadBoolean(); + category.IsAbstract = reader.ReadBoolean(); break; case 7: - category.Name = reader.ReadString(); + category.IsDeprecated = reader.ReadBoolean(); break; case 8: + category.Name = reader.ReadString(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -234,37 +247,37 @@ public Category Deserialize(ref MessagePackReader reader, MessagePackSerializerO category.PermissibleClass.Add(@enum); } break; - case 9: + case 10: category.ShortName = reader.ReadString(); break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.SuperCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: category.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 15: category.ThingPreference = reader.ReadString(); break; - case 15: + case 16: if (reader.TryReadNil()) { category.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeProposalMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeProposalMessagePackFormatter.cs index 931612ea6..3cdc714fd 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeProposalMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeProposalMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeRequestMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeRequestMessagePackFormatter.cs index 575f6d744..4d90050d4 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeRequestMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ChangeRequestMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CitationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CitationMessagePackFormatter.cs index 8b1668ed1..ce9006813 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CitationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CitationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ColorMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ColorMessagePackFormatter.cs index 5c1c6c8f4..37049385d 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ColorMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ColorMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CommonFileStoreMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CommonFileStoreMessagePackFormatter.cs index 5992cf3d6..edd7a0031 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CommonFileStoreMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CommonFileStoreMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs index 8f07171ab..7125ae67c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,20 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | component | Guid | 1..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | isFinalized | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | symbol | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | component | Guid | 1..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | isFinalized | bool | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | symbol | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -100,7 +101,7 @@ public void Serialize(ref MessagePackWriter writer, CompoundParameterType compou throw new ArgumentNullException(nameof(compoundParameterType), "The CompoundParameterType may not be null"); } - writer.WriteArrayHeader(17); + writer.WriteArrayHeader(18); writer.Write(compoundParameterType.Iid.ToByteArray()); writer.Write(compoundParameterType.RevisionNumber); @@ -110,6 +111,11 @@ public void Serialize(ref MessagePackWriter writer, CompoundParameterType compou { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(compoundParameterType.Attachment.Count); + foreach (var identifier in compoundParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(compoundParameterType.Category.Count); foreach (var identifier in compoundParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -211,10 +217,17 @@ public CompoundParameterType Deserialize(ref MessagePackReader reader, MessagePa valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - compoundParameterType.Category.Add(reader.ReadBytes().ToGuid()); + compoundParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + compoundParameterType.Category.Add(reader.ReadBytes().ToGuid()); + } + break; + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -225,56 +238,56 @@ public CompoundParameterType Deserialize(ref MessagePackReader reader, MessagePa compoundParameterType.Component.Add(orderedItem); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: compoundParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: compoundParameterType.IsFinalized = reader.ReadBoolean(); break; - case 9: + case 10: compoundParameterType.Name = reader.ReadString(); break; - case 10: + case 11: compoundParameterType.ShortName = reader.ReadString(); break; - case 11: + case 12: compoundParameterType.Symbol = reader.ReadString(); break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: compoundParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 16: compoundParameterType.ThingPreference = reader.ReadString(); break; - case 16: + case 17: if (reader.TryReadNil()) { compoundParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs index affcf38e4..1a004fd33 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,20 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | parameterType | Guid | 1..1 | 1.0.0 | - | 9 | scale | Guid | 0..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | value | ValueArray | 1..* | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | parameterType | Guid | 1..1 | 1.0.0 | + | 10 | scale | Guid | 0..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | value | ValueArray | 1..* | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -100,7 +101,7 @@ public void Serialize(ref MessagePackWriter writer, Constant constant, MessagePa throw new ArgumentNullException(nameof(constant), "The Constant may not be null"); } - writer.WriteArrayHeader(17); + writer.WriteArrayHeader(18); writer.Write(constant.Iid.ToByteArray()); writer.Write(constant.RevisionNumber); @@ -110,6 +111,11 @@ public void Serialize(ref MessagePackWriter writer, Constant constant, MessagePa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(constant.Attachment.Count); + foreach (var identifier in constant.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(constant.Category.Count); foreach (var identifier in constant.Category.OrderBy(x => x, guidComparer)) { @@ -216,33 +222,40 @@ public Constant Deserialize(ref MessagePackReader reader, MessagePackSerializerO valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - constant.Category.Add(reader.ReadBytes().ToGuid()); + constant.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - constant.Definition.Add(reader.ReadBytes().ToGuid()); + constant.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - constant.HyperLink.Add(reader.ReadBytes().ToGuid()); + constant.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - constant.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + constant.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - constant.Name = reader.ReadString(); + constant.IsDeprecated = reader.ReadBoolean(); break; case 8: - constant.ParameterType = reader.ReadBytes().ToGuid(); + constant.Name = reader.ReadString(); break; case 9: + constant.ParameterType = reader.ReadBytes().ToGuid(); + break; + case 10: if (reader.TryReadNil()) { constant.Scale = null; @@ -252,10 +265,10 @@ public Constant Deserialize(ref MessagePackReader reader, MessagePackSerializerO constant.Scale = reader.ReadBytes().ToGuid(); } break; - case 10: + case 11: constant.ShortName = reader.ReadString(); break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); var constantValue = new List(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) @@ -264,27 +277,27 @@ public Constant Deserialize(ref MessagePackReader reader, MessagePackSerializerO } constant.Value = new ValueArray(constantValue); break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { constant.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { constant.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: constant.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 16: constant.ThingPreference = reader.ReadString(); break; - case 16: + case 17: if (reader.TryReadNil()) { constant.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ContractChangeNoticeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ContractChangeNoticeMessagePackFormatter.cs index 9dea138be..5a699ba1a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ContractChangeNoticeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ContractChangeNoticeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs index 4332b8e4c..d048f221c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,27 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | modulus | string | 1..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | - | 23 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | modulus | string | 1..1 | 1.0.0 | + | 13 | name | string | 1..1 | 1.0.0 | + | 14 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 15 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 16 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 17 | shortName | string | 1..1 | 1.0.0 | + | 18 | unit | Guid | 1..1 | 1.0.0 | + | 19 | valueDefinition | Guid | 0..* | 1.0.0 | + | 20 | excludedDomain | Guid | 0..* | 1.1.0 | + | 21 | excludedPerson | Guid | 0..* | 1.1.0 | + | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 23 | thingPreference | string | 0..1 | 1.2.0 | + | 24 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,7 +108,7 @@ public void Serialize(ref MessagePackWriter writer, CyclicRatioScale cyclicRatio throw new ArgumentNullException(nameof(cyclicRatioScale), "The CyclicRatioScale may not be null"); } - writer.WriteArrayHeader(24); + writer.WriteArrayHeader(25); writer.Write(cyclicRatioScale.Iid.ToByteArray()); writer.Write(cyclicRatioScale.RevisionNumber); @@ -117,6 +118,11 @@ public void Serialize(ref MessagePackWriter writer, CyclicRatioScale cyclicRatio { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(cyclicRatioScale.Attachment.Count); + foreach (var identifier in cyclicRatioScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(cyclicRatioScale.Definition.Count); foreach (var identifier in cyclicRatioScale.Definition.OrderBy(x => x, guidComparer)) { @@ -223,87 +229,94 @@ public CyclicRatioScale Deserialize(ref MessagePackReader reader, MessagePackSer valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - cyclicRatioScale.Definition.Add(reader.ReadBytes().ToGuid()); + cyclicRatioScale.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - cyclicRatioScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + cyclicRatioScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - cyclicRatioScale.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + cyclicRatioScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - cyclicRatioScale.IsMaximumInclusive = reader.ReadBoolean(); + cyclicRatioScale.IsDeprecated = reader.ReadBoolean(); break; case 7: - cyclicRatioScale.IsMinimumInclusive = reader.ReadBoolean(); + cyclicRatioScale.IsMaximumInclusive = reader.ReadBoolean(); break; case 8: + cyclicRatioScale.IsMinimumInclusive = reader.ReadBoolean(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: cyclicRatioScale.MaximumPermissibleValue = reader.ReadString(); break; - case 10: + case 11: cyclicRatioScale.MinimumPermissibleValue = reader.ReadString(); break; - case 11: + case 12: cyclicRatioScale.Modulus = reader.ReadString(); break; - case 12: + case 13: cyclicRatioScale.Name = reader.ReadString(); break; - case 13: + case 14: cyclicRatioScale.NegativeValueConnotation = reader.ReadString(); break; - case 14: + case 15: cyclicRatioScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 15: + case 16: cyclicRatioScale.PositiveValueConnotation = reader.ReadString(); break; - case 16: + case 17: cyclicRatioScale.ShortName = reader.ReadString(); break; - case 17: + case 18: cyclicRatioScale.Unit = reader.ReadBytes().ToGuid(); break; - case 18: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 22: cyclicRatioScale.ModifiedOn = reader.ReadDateTime(); break; - case 22: + case 23: cyclicRatioScale.ThingPreference = reader.ReadString(); break; - case 23: + case 24: if (reader.TryReadNil()) { cyclicRatioScale.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs index 1ed087680..5acee583a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, DateParameterType dateParame throw new ArgumentNullException(nameof(dateParameterType), "The DateParameterType may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(dateParameterType.Iid.ToByteArray()); writer.Write(dateParameterType.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, DateParameterType dateParame { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(dateParameterType.Attachment.Count); + foreach (var identifier in dateParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(dateParameterType.Category.Count); foreach (var identifier in dateParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -201,56 +207,63 @@ public DateParameterType Deserialize(ref MessagePackReader reader, MessagePackSe valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - dateParameterType.Category.Add(reader.ReadBytes().ToGuid()); + dateParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - dateParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + dateParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - dateParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + dateParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - dateParameterType.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + dateParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - dateParameterType.Name = reader.ReadString(); + dateParameterType.IsDeprecated = reader.ReadBoolean(); break; case 8: - dateParameterType.ShortName = reader.ReadString(); + dateParameterType.Name = reader.ReadString(); break; case 9: - dateParameterType.Symbol = reader.ReadString(); + dateParameterType.ShortName = reader.ReadString(); break; case 10: + dateParameterType.Symbol = reader.ReadString(); + break; + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: dateParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: dateParameterType.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { dateParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs index dc48374a8..d1adf6c1c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, DateTimeParameterType dateTi throw new ArgumentNullException(nameof(dateTimeParameterType), "The DateTimeParameterType may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(dateTimeParameterType.Iid.ToByteArray()); writer.Write(dateTimeParameterType.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, DateTimeParameterType dateTi { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(dateTimeParameterType.Attachment.Count); + foreach (var identifier in dateTimeParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(dateTimeParameterType.Category.Count); foreach (var identifier in dateTimeParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -201,56 +207,63 @@ public DateTimeParameterType Deserialize(ref MessagePackReader reader, MessagePa valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - dateTimeParameterType.Category.Add(reader.ReadBytes().ToGuid()); + dateTimeParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - dateTimeParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + dateTimeParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - dateTimeParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + dateTimeParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - dateTimeParameterType.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + dateTimeParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - dateTimeParameterType.Name = reader.ReadString(); + dateTimeParameterType.IsDeprecated = reader.ReadBoolean(); break; case 8: - dateTimeParameterType.ShortName = reader.ReadString(); + dateTimeParameterType.Name = reader.ReadString(); break; case 9: - dateTimeParameterType.Symbol = reader.ReadString(); + dateTimeParameterType.ShortName = reader.ReadString(); break; case 10: + dateTimeParameterType.Symbol = reader.ReadString(); + break; + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateTimeParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateTimeParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: dateTimeParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: dateTimeParameterType.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { dateTimeParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs index c7d718706..09504e92f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,20 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | containedCategory | Guid | 1..* | 1.0.0 | - | 4 | containingCategory | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | maxContained | int | 0..1 | 1.0.0 | - | 9 | minContained | int | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | containedCategory | Guid | 1..* | 1.0.0 | + | 5 | containingCategory | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | maxContained | int | 0..1 | 1.0.0 | + | 10 | minContained | int | 1..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -100,7 +101,7 @@ public void Serialize(ref MessagePackWriter writer, DecompositionRule decomposit throw new ArgumentNullException(nameof(decompositionRule), "The DecompositionRule may not be null"); } - writer.WriteArrayHeader(17); + writer.WriteArrayHeader(18); writer.Write(decompositionRule.Iid.ToByteArray()); writer.Write(decompositionRule.RevisionNumber); @@ -110,6 +111,11 @@ public void Serialize(ref MessagePackWriter writer, DecompositionRule decomposit { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(decompositionRule.Attachment.Count); + foreach (var identifier in decompositionRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(decompositionRule.ContainedCategory.Count); foreach (var identifier in decompositionRule.ContainedCategory.OrderBy(x => x, guidComparer)) { @@ -212,30 +218,37 @@ public DecompositionRule Deserialize(ref MessagePackReader reader, MessagePackSe valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - decompositionRule.ContainedCategory.Add(reader.ReadBytes().ToGuid()); + decompositionRule.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: - decompositionRule.ContainingCategory = reader.ReadBytes().ToGuid(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + decompositionRule.ContainedCategory.Add(reader.ReadBytes().ToGuid()); + } break; case 5: + decompositionRule.ContainingCategory = reader.ReadBytes().ToGuid(); + break; + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: decompositionRule.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: if (reader.TryReadNil()) { decompositionRule.MaxContained = null; @@ -245,36 +258,36 @@ public DecompositionRule Deserialize(ref MessagePackReader reader, MessagePackSe decompositionRule.MaxContained = reader.ReadInt32(); } break; - case 9: + case 10: decompositionRule.MinContained = reader.ReadInt32(); break; - case 10: + case 11: decompositionRule.Name = reader.ReadString(); break; - case 11: + case 12: decompositionRule.ShortName = reader.ReadString(); break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: decompositionRule.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 16: decompositionRule.ThingPreference = reader.ReadString(); break; - case 16: + case 17: if (reader.TryReadNil()) { decompositionRule.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DefinitionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DefinitionMessagePackFormatter.cs index 2e452556e..9e26b05af 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DefinitionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DefinitionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DependentParameterTypeAssignmentMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DependentParameterTypeAssignmentMessagePackFormatter.cs index 5a3e8d685..cbb1d2dd4 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DependentParameterTypeAssignmentMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DependentParameterTypeAssignmentMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs index 74a78316b..da74ae8de 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,22 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultScale | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | possibleScale | Guid | 0..* | 1.0.0 | - | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 11 | quantityKindFactor | Guid | 1..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultScale | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | possibleScale | Guid | 0..* | 1.0.0 | + | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 12 | quantityKindFactor | Guid | 1..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | symbol | string | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -102,7 +103,7 @@ public void Serialize(ref MessagePackWriter writer, DerivedQuantityKind derivedQ throw new ArgumentNullException(nameof(derivedQuantityKind), "The DerivedQuantityKind may not be null"); } - writer.WriteArrayHeader(19); + writer.WriteArrayHeader(20); writer.Write(derivedQuantityKind.Iid.ToByteArray()); writer.Write(derivedQuantityKind.RevisionNumber); @@ -112,6 +113,11 @@ public void Serialize(ref MessagePackWriter writer, DerivedQuantityKind derivedQ { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(derivedQuantityKind.Attachment.Count); + foreach (var identifier in derivedQuantityKind.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(derivedQuantityKind.Category.Count); foreach (var identifier in derivedQuantityKind.Category.OrderBy(x => x, guidComparer)) { @@ -219,43 +225,50 @@ public DerivedQuantityKind Deserialize(ref MessagePackReader reader, MessagePack valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - derivedQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); + derivedQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: - derivedQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + derivedQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); + } break; case 5: + derivedQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); + break; + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: derivedQuantityKind.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: derivedQuantityKind.Name = reader.ReadString(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.PossibleScale.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: derivedQuantityKind.QuantityDimensionSymbol = reader.ReadString(); break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -266,33 +279,33 @@ public DerivedQuantityKind Deserialize(ref MessagePackReader reader, MessagePack derivedQuantityKind.QuantityKindFactor.Add(orderedItem); } break; - case 12: + case 13: derivedQuantityKind.ShortName = reader.ReadString(); break; - case 13: + case 14: derivedQuantityKind.Symbol = reader.ReadString(); break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 17: derivedQuantityKind.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 18: derivedQuantityKind.ThingPreference = reader.ReadString(); break; - case 18: + case 19: if (reader.TryReadNil()) { derivedQuantityKind.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs index 80a206a26..8771da85d 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | unitFactor | Guid | 1..* | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | unitFactor | Guid | 1..* | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, DerivedUnit derivedUnit, Mes throw new ArgumentNullException(nameof(derivedUnit), "The DerivedUnit may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(derivedUnit.Iid.ToByteArray()); writer.Write(derivedUnit.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, DerivedUnit derivedUnit, Mes { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(derivedUnit.Attachment.Count); + foreach (var identifier in derivedUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(derivedUnit.Definition.Count); foreach (var identifier in derivedUnit.Definition.OrderBy(x => x, guidComparer)) { @@ -201,26 +207,33 @@ public DerivedUnit Deserialize(ref MessagePackReader reader, MessagePackSerializ valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - derivedUnit.Definition.Add(reader.ReadBytes().ToGuid()); + derivedUnit.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - derivedUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); + derivedUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - derivedUnit.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + derivedUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - derivedUnit.Name = reader.ReadString(); + derivedUnit.IsDeprecated = reader.ReadBoolean(); break; case 7: - derivedUnit.ShortName = reader.ReadString(); + derivedUnit.Name = reader.ReadString(); break; case 8: + derivedUnit.ShortName = reader.ReadString(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -231,27 +244,27 @@ public DerivedUnit Deserialize(ref MessagePackReader reader, MessagePackSerializ derivedUnit.UnitFactor.Add(orderedItem); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: derivedUnit.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: derivedUnit.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { derivedUnit.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs index 14c780986..d0bd37d88 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -35,13 +35,15 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | bounds | Guid | 0..1 | 1.1.0 | | 3 | createdOn | DateTime | 1..1 | 1.1.0 | - | 4 | diagramElement | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 8 | name | string | 1..1 | 1.1.0 | - | 9 | thingPreference | string | 0..1 | 1.2.0 | - | 10 | actor | Guid | 0..1 | 1.3.0 | + | 4 | description | string | 1..1 | 1.1.0 | + | 5 | diagramElement | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | publicationState | PublicationState | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -94,7 +96,7 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, throw new ArgumentNullException(nameof(diagramCanvas), "The DiagramCanvas may not be null"); } - writer.WriteArrayHeader(11); + writer.WriteArrayHeader(13); writer.Write(diagramCanvas.Iid.ToByteArray()); writer.Write(diagramCanvas.RevisionNumber); @@ -105,6 +107,7 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, writer.Write(identifier.ToByteArray()); } writer.Write(diagramCanvas.CreatedOn); + writer.Write(diagramCanvas.Description); writer.WriteArrayHeader(diagramCanvas.DiagramElement.Count); foreach (var identifier in diagramCanvas.DiagramElement.OrderBy(x => x, guidComparer)) { @@ -122,6 +125,7 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, } writer.Write(diagramCanvas.ModifiedOn); writer.Write(diagramCanvas.Name); + writer.Write(diagramCanvas.PublicationState.ToString()); writer.Write(diagramCanvas.ThingPreference); if (diagramCanvas.Actor.HasValue) { @@ -185,36 +189,42 @@ public DiagramCanvas Deserialize(ref MessagePackReader reader, MessagePackSerial diagramCanvas.CreatedOn = reader.ReadDateTime(); break; case 4: + diagramCanvas.Description = reader.ReadString(); + break; + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { diagramCanvas.DiagramElement.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { diagramCanvas.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { diagramCanvas.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: diagramCanvas.ModifiedOn = reader.ReadDateTime(); break; - case 8: + case 9: diagramCanvas.Name = reader.ReadString(); break; - case 9: + case 10: + diagramCanvas.PublicationState = (CDP4Common.DiagramData.PublicationState)Enum.Parse(typeof(CDP4Common.DiagramData.PublicationState), reader.ReadString(), true); + break; + case 11: diagramCanvas.ThingPreference = reader.ReadString(); break; - case 10: + case 12: if (reader.TryReadNil()) { diagramCanvas.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramEdgeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramEdgeMessagePackFormatter.cs index b52cfe3b6..440351418 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramEdgeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramEdgeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramFrameMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramFrameMessagePackFormatter.cs new file mode 100644 index 000000000..b69adf368 --- /dev/null +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramFrameMessagePackFormatter.cs @@ -0,0 +1,288 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | depictedThing | Guid | 0..1 | 1.4.0 | + | 9 | diagramElement | Guid | 0..* | 1.4.0 | + | 10 | localStyle | Guid | 0..1 | 1.4.0 | + | 11 | name | string | 1..1 | 1.4.0 | + | 12 | sharedStyle | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4MessagePackSerializer +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common; + using CDP4Common.Comparers; + using CDP4Common.DTO; + using CDP4Common.Types; + + using global::MessagePack; + using global::MessagePack.Formatters; + + /// + /// The purpose of the is to provide + /// the contract for MessagePack (de)serialization of the type + /// + [CDPVersion("1.4.0")] + public class DiagramFrameMessagePackFormatter : IMessagePackFormatter + { + /// + /// The used to compare 2 s + /// + private static readonly GuidComparer guidComparer = new GuidComparer(); + + /// + /// The used to compare 2 s + /// + private static readonly OrderedItemComparer orderedItemComparer = new OrderedItemComparer(); + + /// + /// Serializes an DTO. + /// + /// + /// The to use when serializing the value. + /// + /// + /// The that is to be serialized. + /// + /// + /// The serialization settings to use. + /// + public void Serialize(ref MessagePackWriter writer, DiagramFrame diagramFrame, MessagePackSerializerOptions options) + { + if (diagramFrame == null) + { + throw new ArgumentNullException(nameof(diagramFrame), "The DiagramFrame may not be null"); + } + + writer.WriteArrayHeader(13); + + writer.Write(diagramFrame.Iid.ToByteArray()); + writer.Write(diagramFrame.RevisionNumber); + + writer.WriteArrayHeader(diagramFrame.ExcludedDomain.Count); + foreach (var identifier in diagramFrame.ExcludedDomain.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(diagramFrame.ExcludedPerson.Count); + foreach (var identifier in diagramFrame.ExcludedPerson.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(diagramFrame.ModifiedOn); + writer.Write(diagramFrame.ThingPreference); + if (diagramFrame.Actor.HasValue) + { + writer.Write(diagramFrame.Actor.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(diagramFrame.Bounds.Count); + foreach (var identifier in diagramFrame.Bounds.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + if (diagramFrame.DepictedThing.HasValue) + { + writer.Write(diagramFrame.DepictedThing.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(diagramFrame.DiagramElement.Count); + foreach (var identifier in diagramFrame.DiagramElement.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(diagramFrame.LocalStyle.Count); + foreach (var identifier in diagramFrame.LocalStyle.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(diagramFrame.Name); + if (diagramFrame.SharedStyle.HasValue) + { + writer.Write(diagramFrame.SharedStyle.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + + writer.Flush(); + } + + /// + /// Deserializes an . + /// + /// + /// The to deserialize the from. + /// + /// + /// The serialization settings to use. + /// + /// + /// The deserialized . + /// + public DiagramFrame Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) + { + if (reader.TryReadNil()) + { + return null; + } + + options.Security.DepthStep(ref reader); + + var diagramFrame = new DiagramFrame(); + + var propertyCounter = reader.ReadArrayHeader(); + + for (var i = 0; i < propertyCounter; i++) + { + int valueLength; + int valueCounter; + OrderedItem orderedItem = null; + + switch (i) + { + case 0: + diagramFrame.Iid = reader.ReadBytes().ToGuid(); + break; + case 1: + diagramFrame.RevisionNumber = reader.ReadInt32(); + break; + case 2: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramFrame.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + } + break; + case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramFrame.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: + diagramFrame.ModifiedOn = reader.ReadDateTime(); + break; + case 5: + diagramFrame.ThingPreference = reader.ReadString(); + break; + case 6: + if (reader.TryReadNil()) + { + diagramFrame.Actor = null; + } + else + { + diagramFrame.Actor = reader.ReadBytes().ToGuid(); + } + break; + case 7: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramFrame.Bounds.Add(reader.ReadBytes().ToGuid()); + } + break; + case 8: + if (reader.TryReadNil()) + { + diagramFrame.DepictedThing = null; + } + else + { + diagramFrame.DepictedThing = reader.ReadBytes().ToGuid(); + } + break; + case 9: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramFrame.DiagramElement.Add(reader.ReadBytes().ToGuid()); + } + break; + case 10: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramFrame.LocalStyle.Add(reader.ReadBytes().ToGuid()); + } + break; + case 11: + diagramFrame.Name = reader.ReadString(); + break; + case 12: + if (reader.TryReadNil()) + { + diagramFrame.SharedStyle = null; + } + else + { + diagramFrame.SharedStyle = reader.ReadBytes().ToGuid(); + } + break; + default: + reader.Skip(); + break; + } + } + + reader.Depth--; + + return diagramFrame; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramObjectMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramObjectMessagePackFormatter.cs index 4a75da995..2011f34bf 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramObjectMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramObjectMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramPortMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramPortMessagePackFormatter.cs new file mode 100644 index 000000000..61f0cd35f --- /dev/null +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramPortMessagePackFormatter.cs @@ -0,0 +1,288 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +/* -------------------------------------------- | ---------------------------- | ----------- | ------- * + | index | name | Type | Cardinality | version | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 0 | iid | Guid | 1..1 | 1.0.0 | + | 1 | revisionNumber | int | 1..1 | 1.0.0 | + | -------------------------------------------- | ---------------------------- | ----------- | ------- | + | 2 | excludedDomain | Guid | 0..* | 1.1.0 | + | 3 | excludedPerson | Guid | 0..* | 1.1.0 | + | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 5 | thingPreference | string | 0..1 | 1.2.0 | + | 6 | actor | Guid | 0..1 | 1.3.0 | + | 7 | bounds | Guid | 0..1 | 1.4.0 | + | 8 | depictedThing | Guid | 0..1 | 1.4.0 | + | 9 | diagramElement | Guid | 0..* | 1.4.0 | + | 10 | localStyle | Guid | 0..1 | 1.4.0 | + | 11 | name | string | 1..1 | 1.4.0 | + | 12 | sharedStyle | Guid | 0..1 | 1.4.0 | + * -------------------------------------------- | ---------------------------- | ----------- | ------- */ + +namespace CDP4MessagePackSerializer +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using CDP4Common; + using CDP4Common.Comparers; + using CDP4Common.DTO; + using CDP4Common.Types; + + using global::MessagePack; + using global::MessagePack.Formatters; + + /// + /// The purpose of the is to provide + /// the contract for MessagePack (de)serialization of the type + /// + [CDPVersion("1.4.0")] + public class DiagramPortMessagePackFormatter : IMessagePackFormatter + { + /// + /// The used to compare 2 s + /// + private static readonly GuidComparer guidComparer = new GuidComparer(); + + /// + /// The used to compare 2 s + /// + private static readonly OrderedItemComparer orderedItemComparer = new OrderedItemComparer(); + + /// + /// Serializes an DTO. + /// + /// + /// The to use when serializing the value. + /// + /// + /// The that is to be serialized. + /// + /// + /// The serialization settings to use. + /// + public void Serialize(ref MessagePackWriter writer, DiagramPort diagramPort, MessagePackSerializerOptions options) + { + if (diagramPort == null) + { + throw new ArgumentNullException(nameof(diagramPort), "The DiagramPort may not be null"); + } + + writer.WriteArrayHeader(13); + + writer.Write(diagramPort.Iid.ToByteArray()); + writer.Write(diagramPort.RevisionNumber); + + writer.WriteArrayHeader(diagramPort.ExcludedDomain.Count); + foreach (var identifier in diagramPort.ExcludedDomain.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(diagramPort.ExcludedPerson.Count); + foreach (var identifier in diagramPort.ExcludedPerson.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(diagramPort.ModifiedOn); + writer.Write(diagramPort.ThingPreference); + if (diagramPort.Actor.HasValue) + { + writer.Write(diagramPort.Actor.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(diagramPort.Bounds.Count); + foreach (var identifier in diagramPort.Bounds.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + if (diagramPort.DepictedThing.HasValue) + { + writer.Write(diagramPort.DepictedThing.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + writer.WriteArrayHeader(diagramPort.DiagramElement.Count); + foreach (var identifier in diagramPort.DiagramElement.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.WriteArrayHeader(diagramPort.LocalStyle.Count); + foreach (var identifier in diagramPort.LocalStyle.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } + writer.Write(diagramPort.Name); + if (diagramPort.SharedStyle.HasValue) + { + writer.Write(diagramPort.SharedStyle.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } + + writer.Flush(); + } + + /// + /// Deserializes an . + /// + /// + /// The to deserialize the from. + /// + /// + /// The serialization settings to use. + /// + /// + /// The deserialized . + /// + public DiagramPort Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) + { + if (reader.TryReadNil()) + { + return null; + } + + options.Security.DepthStep(ref reader); + + var diagramPort = new DiagramPort(); + + var propertyCounter = reader.ReadArrayHeader(); + + for (var i = 0; i < propertyCounter; i++) + { + int valueLength; + int valueCounter; + OrderedItem orderedItem = null; + + switch (i) + { + case 0: + diagramPort.Iid = reader.ReadBytes().ToGuid(); + break; + case 1: + diagramPort.RevisionNumber = reader.ReadInt32(); + break; + case 2: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramPort.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + } + break; + case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramPort.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: + diagramPort.ModifiedOn = reader.ReadDateTime(); + break; + case 5: + diagramPort.ThingPreference = reader.ReadString(); + break; + case 6: + if (reader.TryReadNil()) + { + diagramPort.Actor = null; + } + else + { + diagramPort.Actor = reader.ReadBytes().ToGuid(); + } + break; + case 7: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramPort.Bounds.Add(reader.ReadBytes().ToGuid()); + } + break; + case 8: + if (reader.TryReadNil()) + { + diagramPort.DepictedThing = null; + } + else + { + diagramPort.DepictedThing = reader.ReadBytes().ToGuid(); + } + break; + case 9: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramPort.DiagramElement.Add(reader.ReadBytes().ToGuid()); + } + break; + case 10: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + diagramPort.LocalStyle.Add(reader.ReadBytes().ToGuid()); + } + break; + case 11: + diagramPort.Name = reader.ReadString(); + break; + case 12: + if (reader.TryReadNil()) + { + diagramPort.SharedStyle = null; + } + else + { + diagramPort.SharedStyle = reader.ReadBytes().ToGuid(); + } + break; + default: + reader.Skip(); + break; + } + } + + reader.Depth--; + + return diagramPort; + } + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainFileStoreMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainFileStoreMessagePackFormatter.cs index 5a0f6b14a..9c6aa1a3d 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainFileStoreMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainFileStoreMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs index 3087503d1..b07bd2255 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | domain | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | domain | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertiseGroup domai throw new ArgumentNullException(nameof(domainOfExpertiseGroup), "The DomainOfExpertiseGroup may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(domainOfExpertiseGroup.Iid.ToByteArray()); writer.Write(domainOfExpertiseGroup.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertiseGroup domai { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(domainOfExpertiseGroup.Attachment.Count); + foreach (var identifier in domainOfExpertiseGroup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(domainOfExpertiseGroup.Definition.Count); foreach (var identifier in domainOfExpertiseGroup.Definition.OrderBy(x => x, guidComparer)) { @@ -199,53 +205,60 @@ public DomainOfExpertiseGroup Deserialize(ref MessagePackReader reader, MessageP valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - domainOfExpertiseGroup.Definition.Add(reader.ReadBytes().ToGuid()); + domainOfExpertiseGroup.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - domainOfExpertiseGroup.Domain.Add(reader.ReadBytes().ToGuid()); + domainOfExpertiseGroup.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - domainOfExpertiseGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); + domainOfExpertiseGroup.Domain.Add(reader.ReadBytes().ToGuid()); } break; case 6: - domainOfExpertiseGroup.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + domainOfExpertiseGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - domainOfExpertiseGroup.Name = reader.ReadString(); + domainOfExpertiseGroup.IsDeprecated = reader.ReadBoolean(); break; case 8: - domainOfExpertiseGroup.ShortName = reader.ReadString(); + domainOfExpertiseGroup.Name = reader.ReadString(); break; case 9: + domainOfExpertiseGroup.ShortName = reader.ReadString(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertiseGroup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertiseGroup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: domainOfExpertiseGroup.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: domainOfExpertiseGroup.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { domainOfExpertiseGroup.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs index 058a4968a..226e06322 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertise domainOfEx throw new ArgumentNullException(nameof(domainOfExpertise), "The DomainOfExpertise may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(domainOfExpertise.Iid.ToByteArray()); writer.Write(domainOfExpertise.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertise domainOfEx { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(domainOfExpertise.Attachment.Count); + foreach (var identifier in domainOfExpertise.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(domainOfExpertise.Category.Count); foreach (var identifier in domainOfExpertise.Category.OrderBy(x => x, guidComparer)) { @@ -199,53 +205,60 @@ public DomainOfExpertise Deserialize(ref MessagePackReader reader, MessagePackSe valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - domainOfExpertise.Category.Add(reader.ReadBytes().ToGuid()); + domainOfExpertise.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - domainOfExpertise.Definition.Add(reader.ReadBytes().ToGuid()); + domainOfExpertise.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - domainOfExpertise.HyperLink.Add(reader.ReadBytes().ToGuid()); + domainOfExpertise.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - domainOfExpertise.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + domainOfExpertise.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - domainOfExpertise.Name = reader.ReadString(); + domainOfExpertise.IsDeprecated = reader.ReadBoolean(); break; case 8: - domainOfExpertise.ShortName = reader.ReadString(); + domainOfExpertise.Name = reader.ReadString(); break; case 9: + domainOfExpertise.ShortName = reader.ReadString(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertise.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertise.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: domainOfExpertise.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: domainOfExpertise.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { domainOfExpertise.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs index f984ff36a..289fd630b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,22 +34,24 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | containedElement | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | parameter | Guid | 0..* | 1.0.0 | - | 10 | parameterGroup | Guid | 0..* | 1.0.0 | - | 11 | referencedElement | Guid | 0..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | containedElement | Guid | 0..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | parameter | Guid | 0..* | 1.0.0 | + | 11 | parameterGroup | Guid | 0..* | 1.0.0 | + | 12 | referencedElement | Guid | 0..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | + | 20 | behavior | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -102,7 +104,7 @@ public void Serialize(ref MessagePackWriter writer, ElementDefinition elementDef throw new ArgumentNullException(nameof(elementDefinition), "The ElementDefinition may not be null"); } - writer.WriteArrayHeader(19); + writer.WriteArrayHeader(21); writer.Write(elementDefinition.Iid.ToByteArray()); writer.Write(elementDefinition.RevisionNumber); @@ -112,6 +114,11 @@ public void Serialize(ref MessagePackWriter writer, ElementDefinition elementDef { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(elementDefinition.Attachment.Count); + foreach (var identifier in elementDefinition.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(elementDefinition.Category.Count); foreach (var identifier in elementDefinition.Category.OrderBy(x => x, guidComparer)) { @@ -175,6 +182,11 @@ public void Serialize(ref MessagePackWriter writer, ElementDefinition elementDef { writer.WriteNil(); } + writer.WriteArrayHeader(elementDefinition.Behavior.Count); + foreach (var identifier in elementDefinition.Behavior.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -229,88 +241,95 @@ public ElementDefinition Deserialize(ref MessagePackReader reader, MessagePackSe valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - elementDefinition.Category.Add(reader.ReadBytes().ToGuid()); + elementDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - elementDefinition.ContainedElement.Add(reader.ReadBytes().ToGuid()); + elementDefinition.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - elementDefinition.Definition.Add(reader.ReadBytes().ToGuid()); + elementDefinition.ContainedElement.Add(reader.ReadBytes().ToGuid()); } break; case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - elementDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); + elementDefinition.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 7: - elementDefinition.Name = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + elementDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 8: - elementDefinition.Owner = reader.ReadBytes().ToGuid(); + elementDefinition.Name = reader.ReadString(); break; case 9: + elementDefinition.Owner = reader.ReadBytes().ToGuid(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.Parameter.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ParameterGroup.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ReferencedElement.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: elementDefinition.ShortName = reader.ReadString(); break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: elementDefinition.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.OrganizationalParticipant.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 18: elementDefinition.ThingPreference = reader.ReadString(); break; - case 18: + case 19: if (reader.TryReadNil()) { elementDefinition.Actor = null; @@ -320,6 +339,13 @@ public ElementDefinition Deserialize(ref MessagePackReader reader, MessagePackSe elementDefinition.Actor = reader.ReadBytes().ToGuid(); } break; + case 20: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + elementDefinition.Behavior.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs index c189a3575..667acf7eb 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,21 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | elementDefinition | Guid | 1..1 | 1.0.0 | - | 6 | excludeOption | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | owner | Guid | 1..1 | 1.0.0 | - | 11 | parameterOverride | Guid | 0..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | elementDefinition | Guid | 1..1 | 1.0.0 | + | 7 | excludeOption | Guid | 0..* | 1.0.0 | + | 8 | hyperLink | Guid | 0..* | 1.0.0 | + | 9 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | owner | Guid | 1..1 | 1.0.0 | + | 12 | parameterOverride | Guid | 0..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -101,7 +102,7 @@ public void Serialize(ref MessagePackWriter writer, ElementUsage elementUsage, M throw new ArgumentNullException(nameof(elementUsage), "The ElementUsage may not be null"); } - writer.WriteArrayHeader(18); + writer.WriteArrayHeader(19); writer.Write(elementUsage.Iid.ToByteArray()); writer.Write(elementUsage.RevisionNumber); @@ -111,6 +112,11 @@ public void Serialize(ref MessagePackWriter writer, ElementUsage elementUsage, M { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(elementUsage.Attachment.Count); + foreach (var identifier in elementUsage.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(elementUsage.Category.Count); foreach (var identifier in elementUsage.Category.OrderBy(x => x, guidComparer)) { @@ -215,73 +221,80 @@ public ElementUsage Deserialize(ref MessagePackReader reader, MessagePackSeriali valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - elementUsage.Category.Add(reader.ReadBytes().ToGuid()); + elementUsage.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - elementUsage.Definition.Add(reader.ReadBytes().ToGuid()); + elementUsage.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: - elementUsage.ElementDefinition = reader.ReadBytes().ToGuid(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + elementUsage.Definition.Add(reader.ReadBytes().ToGuid()); + } break; case 6: + elementUsage.ElementDefinition = reader.ReadBytes().ToGuid(); + break; + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ExcludeOption.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: elementUsage.InterfaceEnd = (CDP4Common.EngineeringModelData.InterfaceEndKind)Enum.Parse(typeof(CDP4Common.EngineeringModelData.InterfaceEndKind), reader.ReadString(), true); break; - case 9: + case 10: elementUsage.Name = reader.ReadString(); break; - case 10: + case 11: elementUsage.Owner = reader.ReadBytes().ToGuid(); break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ParameterOverride.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: elementUsage.ShortName = reader.ReadString(); break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: elementUsage.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 17: elementUsage.ThingPreference = reader.ReadString(); break; - case 17: + case 18: if (reader.TryReadNil()) { elementUsage.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EmailAddressMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EmailAddressMessagePackFormatter.cs index 68d3c734f..9073bca3f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EmailAddressMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EmailAddressMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataDiscussionItemMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataDiscussionItemMessagePackFormatter.cs index ae265322c..b93904850 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataDiscussionItemMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataDiscussionItemMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataNoteMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataNoteMessagePackFormatter.cs index 8c4c30c20..4df21f417 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataNoteMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelDataNoteMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelMessagePackFormatter.cs index 6ab7b8152..cbec39259 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs index e0eac818e..d2199585a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -35,24 +35,25 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | activeDomain | Guid | 1..* | 1.0.0 | | 3 | alias | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | engineeringModelIid | Guid | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | iterationSetup | Guid | 1..* | 1.0.0 | - | 8 | kind | EngineeringModelKind | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | participant | Guid | 1..* | 1.0.0 | - | 11 | requiredRdl | Guid | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | - | 14 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | - | 19 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 20 | thingPreference | string | 0..1 | 1.2.0 | - | 21 | actor | Guid | 0..1 | 1.3.0 | + | 4 | attachment | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | engineeringModelIid | Guid | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | iterationSetup | Guid | 1..* | 1.0.0 | + | 9 | kind | EngineeringModelKind | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | participant | Guid | 1..* | 1.0.0 | + | 12 | requiredRdl | Guid | 1..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | + | 15 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | + | 16 | excludedDomain | Guid | 0..* | 1.1.0 | + | 17 | excludedPerson | Guid | 0..* | 1.1.0 | + | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 19 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | + | 20 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -105,7 +106,7 @@ public void Serialize(ref MessagePackWriter writer, EngineeringModelSetup engine throw new ArgumentNullException(nameof(engineeringModelSetup), "The EngineeringModelSetup may not be null"); } - writer.WriteArrayHeader(22); + writer.WriteArrayHeader(23); writer.Write(engineeringModelSetup.Iid.ToByteArray()); writer.Write(engineeringModelSetup.RevisionNumber); @@ -120,6 +121,11 @@ public void Serialize(ref MessagePackWriter writer, EngineeringModelSetup engine { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(engineeringModelSetup.Attachment.Count); + foreach (var identifier in engineeringModelSetup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(engineeringModelSetup.Definition.Count); foreach (var identifier in engineeringModelSetup.Definition.OrderBy(x => x, guidComparer)) { @@ -252,50 +258,57 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - engineeringModelSetup.Definition.Add(reader.ReadBytes().ToGuid()); + engineeringModelSetup.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 5: - engineeringModelSetup.EngineeringModelIid = reader.ReadBytes().ToGuid(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + engineeringModelSetup.Definition.Add(reader.ReadBytes().ToGuid()); + } break; case 6: + engineeringModelSetup.EngineeringModelIid = reader.ReadBytes().ToGuid(); + break; + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.IterationSetup.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: engineeringModelSetup.Kind = (CDP4Common.SiteDirectoryData.EngineeringModelKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.EngineeringModelKind), reader.ReadString(), true); break; - case 9: + case 10: engineeringModelSetup.Name = reader.ReadString(); break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.Participant.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.RequiredRdl.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: engineeringModelSetup.ShortName = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { engineeringModelSetup.SourceEngineeringModelSetupIid = null; @@ -305,27 +318,27 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa engineeringModelSetup.SourceEngineeringModelSetupIid = reader.ReadBytes().ToGuid(); } break; - case 14: + case 15: engineeringModelSetup.StudyPhase = (CDP4Common.SiteDirectoryData.StudyPhaseKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.StudyPhaseKind), reader.ReadString(), true); break; - case 15: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 18: engineeringModelSetup.ModifiedOn = reader.ReadDateTime(); break; - case 18: + case 19: if (reader.TryReadNil()) { engineeringModelSetup.DefaultOrganizationalParticipant = null; @@ -335,17 +348,17 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa engineeringModelSetup.DefaultOrganizationalParticipant = reader.ReadBytes().ToGuid(); } break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.OrganizationalParticipant.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: engineeringModelSetup.ThingPreference = reader.ReadString(); break; - case 21: + case 22: if (reader.TryReadNil()) { engineeringModelSetup.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs index e489e00ac..8c729f6f9 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -35,19 +35,20 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | | 3 | allowMultiSelect | bool | 1..1 | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | valueDefinition | Guid | 1..* | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 4 | attachment | Guid | 0..* | 1.0.0 | + | 5 | category | Guid | 0..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | symbol | string | 1..1 | 1.0.0 | + | 12 | valueDefinition | Guid | 1..* | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -100,7 +101,7 @@ public void Serialize(ref MessagePackWriter writer, EnumerationParameterType enu throw new ArgumentNullException(nameof(enumerationParameterType), "The EnumerationParameterType may not be null"); } - writer.WriteArrayHeader(17); + writer.WriteArrayHeader(18); writer.Write(enumerationParameterType.Iid.ToByteArray()); writer.Write(enumerationParameterType.RevisionNumber); @@ -111,6 +112,11 @@ public void Serialize(ref MessagePackWriter writer, EnumerationParameterType enu writer.Write(identifier.ToByteArray()); } writer.Write(enumerationParameterType.AllowMultiSelect); + writer.WriteArrayHeader(enumerationParameterType.Attachment.Count); + foreach (var identifier in enumerationParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(enumerationParameterType.Category.Count); foreach (var identifier in enumerationParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -214,36 +220,43 @@ public EnumerationParameterType Deserialize(ref MessagePackReader reader, Messag valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - enumerationParameterType.Category.Add(reader.ReadBytes().ToGuid()); + enumerationParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - enumerationParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + enumerationParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - enumerationParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + enumerationParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 7: - enumerationParameterType.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + enumerationParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 8: - enumerationParameterType.Name = reader.ReadString(); + enumerationParameterType.IsDeprecated = reader.ReadBoolean(); break; case 9: - enumerationParameterType.ShortName = reader.ReadString(); + enumerationParameterType.Name = reader.ReadString(); break; case 10: - enumerationParameterType.Symbol = reader.ReadString(); + enumerationParameterType.ShortName = reader.ReadString(); break; case 11: + enumerationParameterType.Symbol = reader.ReadString(); + break; + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -254,27 +267,27 @@ public EnumerationParameterType Deserialize(ref MessagePackReader reader, Messag enumerationParameterType.ValueDefinition.Add(orderedItem); } break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: enumerationParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 16: enumerationParameterType.ThingPreference = reader.ReadString(); break; - case 16: + case 17: if (reader.TryReadNil()) { enumerationParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs index 8501e246e..245cb98de 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,15 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | shortName | string | 1..1 | 1.0.0 | - | 7 | excludedDomain | Guid | 0..* | 1.1.0 | - | 8 | excludedPerson | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | thingPreference | string | 0..1 | 1.2.0 | - | 11 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -95,7 +96,7 @@ public void Serialize(ref MessagePackWriter writer, EnumerationValueDefinition e throw new ArgumentNullException(nameof(enumerationValueDefinition), "The EnumerationValueDefinition may not be null"); } - writer.WriteArrayHeader(12); + writer.WriteArrayHeader(13); writer.Write(enumerationValueDefinition.Iid.ToByteArray()); writer.Write(enumerationValueDefinition.RevisionNumber); @@ -105,6 +106,11 @@ public void Serialize(ref MessagePackWriter writer, EnumerationValueDefinition e { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(enumerationValueDefinition.Attachment.Count); + foreach (var identifier in enumerationValueDefinition.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(enumerationValueDefinition.Definition.Count); foreach (var identifier in enumerationValueDefinition.Definition.OrderBy(x => x, guidComparer)) { @@ -191,43 +197,50 @@ public EnumerationValueDefinition Deserialize(ref MessagePackReader reader, Mess valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - enumerationValueDefinition.Definition.Add(reader.ReadBytes().ToGuid()); + enumerationValueDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - enumerationValueDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); + enumerationValueDefinition.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - enumerationValueDefinition.Name = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + enumerationValueDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - enumerationValueDefinition.ShortName = reader.ReadString(); + enumerationValueDefinition.Name = reader.ReadString(); break; case 7: + enumerationValueDefinition.ShortName = reader.ReadString(); + break; + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationValueDefinition.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationValueDefinition.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: enumerationValueDefinition.ModifiedOn = reader.ReadDateTime(); break; - case 10: + case 11: enumerationValueDefinition.ThingPreference = reader.ReadString(); break; - case 11: + case 12: if (reader.TryReadNil()) { enumerationValueDefinition.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExclusiveOrExpressionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExclusiveOrExpressionMessagePackFormatter.cs index a109f902f..e6d0d6485 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExclusiveOrExpressionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExclusiveOrExpressionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExternalIdentifierMapMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExternalIdentifierMapMessagePackFormatter.cs index 0592ac751..7714b42b4 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExternalIdentifierMapMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ExternalIdentifierMapMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileMessagePackFormatter.cs index 41d6a839d..4ef02e7c4 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileRevisionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileRevisionMessagePackFormatter.cs index 483977717..7c25b8ffd 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileRevisionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileRevisionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs index ad66151c9..f0504a00e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | extension | string | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | extension | string | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, FileType fileType, MessagePa throw new ArgumentNullException(nameof(fileType), "The FileType may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(fileType.Iid.ToByteArray()); writer.Write(fileType.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, FileType fileType, MessagePa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(fileType.Attachment.Count); + foreach (var identifier in fileType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(fileType.Category.Count); foreach (var identifier in fileType.Category.OrderBy(x => x, guidComparer)) { @@ -201,56 +207,63 @@ public FileType Deserialize(ref MessagePackReader reader, MessagePackSerializerO valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - fileType.Category.Add(reader.ReadBytes().ToGuid()); + fileType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - fileType.Definition.Add(reader.ReadBytes().ToGuid()); + fileType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: - fileType.Extension = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + fileType.Definition.Add(reader.ReadBytes().ToGuid()); + } break; case 6: + fileType.Extension = reader.ReadString(); + break; + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: fileType.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: fileType.Name = reader.ReadString(); break; - case 9: + case 10: fileType.ShortName = reader.ReadString(); break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: fileType.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: fileType.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { fileType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FolderMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FolderMessagePackFormatter.cs index c8629b343..75d857e6d 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FolderMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FolderMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs index 8108d0b0c..4e7a34ad3 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | term | Guid | 0..* | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | term | Guid | 0..* | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, Glossary glossary, MessagePa throw new ArgumentNullException(nameof(glossary), "The Glossary may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(glossary.Iid.ToByteArray()); writer.Write(glossary.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, Glossary glossary, MessagePa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(glossary.Attachment.Count); + foreach (var identifier in glossary.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(glossary.Category.Count); foreach (var identifier in glossary.Category.OrderBy(x => x, guidComparer)) { @@ -205,60 +211,67 @@ public Glossary Deserialize(ref MessagePackReader reader, MessagePackSerializerO valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - glossary.Category.Add(reader.ReadBytes().ToGuid()); + glossary.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - glossary.Definition.Add(reader.ReadBytes().ToGuid()); + glossary.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - glossary.HyperLink.Add(reader.ReadBytes().ToGuid()); + glossary.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - glossary.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + glossary.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - glossary.Name = reader.ReadString(); + glossary.IsDeprecated = reader.ReadBoolean(); break; case 8: - glossary.ShortName = reader.ReadString(); + glossary.Name = reader.ReadString(); break; case 9: + glossary.ShortName = reader.ReadString(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.Term.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: glossary.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: glossary.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { glossary.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs index ef942f2d3..b6c74cb5e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,16 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, Goal goal, MessagePackSerial throw new ArgumentNullException(nameof(goal), "The Goal may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(goal.Iid.ToByteArray()); writer.Write(goal.RevisionNumber); @@ -106,6 +107,11 @@ public void Serialize(ref MessagePackWriter writer, Goal goal, MessagePackSerial { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(goal.Attachment.Count); + foreach (var identifier in goal.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(goal.Category.Count); foreach (var identifier in goal.Category.OrderBy(x => x, guidComparer)) { @@ -197,50 +203,57 @@ public Goal Deserialize(ref MessagePackReader reader, MessagePackSerializerOptio valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - goal.Category.Add(reader.ReadBytes().ToGuid()); + goal.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - goal.Definition.Add(reader.ReadBytes().ToGuid()); + goal.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - goal.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + goal.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - goal.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + goal.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - goal.HyperLink.Add(reader.ReadBytes().ToGuid()); + goal.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; case 8: - goal.ModifiedOn = reader.ReadDateTime(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + goal.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 9: - goal.Name = reader.ReadString(); + goal.ModifiedOn = reader.ReadDateTime(); break; case 10: - goal.ShortName = reader.ReadString(); + goal.Name = reader.ReadString(); break; case 11: - goal.ThingPreference = reader.ReadString(); + goal.ShortName = reader.ReadString(); break; case 12: + goal.ThingPreference = reader.ReadString(); + break; + case 13: if (reader.TryReadNil()) { goal.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/HyperLinkMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/HyperLinkMessagePackFormatter.cs index 69726ede1..01de66e91 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/HyperLinkMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/HyperLinkMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IdCorrespondenceMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IdCorrespondenceMessagePackFormatter.cs index 7d6794003..117f4f7cb 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IdCorrespondenceMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IdCorrespondenceMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IndependentParameterTypeAssignmentMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IndependentParameterTypeAssignmentMessagePackFormatter.cs index bd3519b43..47f4df382 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IndependentParameterTypeAssignmentMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IndependentParameterTypeAssignmentMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs index 2d34dd54a..45f3fb776 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,26 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 15 | shortName | string | 1..1 | 1.0.0 | - | 16 | unit | Guid | 1..1 | 1.0.0 | - | 17 | valueDefinition | Guid | 0..* | 1.0.0 | - | 18 | excludedDomain | Guid | 0..* | 1.1.0 | - | 19 | excludedPerson | Guid | 0..* | 1.1.0 | - | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 21 | thingPreference | string | 0..1 | 1.2.0 | - | 22 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -106,7 +107,7 @@ public void Serialize(ref MessagePackWriter writer, IntervalScale intervalScale, throw new ArgumentNullException(nameof(intervalScale), "The IntervalScale may not be null"); } - writer.WriteArrayHeader(23); + writer.WriteArrayHeader(24); writer.Write(intervalScale.Iid.ToByteArray()); writer.Write(intervalScale.RevisionNumber); @@ -116,6 +117,11 @@ public void Serialize(ref MessagePackWriter writer, IntervalScale intervalScale, { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(intervalScale.Attachment.Count); + foreach (var identifier in intervalScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(intervalScale.Definition.Count); foreach (var identifier in intervalScale.Definition.OrderBy(x => x, guidComparer)) { @@ -221,84 +227,91 @@ public IntervalScale Deserialize(ref MessagePackReader reader, MessagePackSerial valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - intervalScale.Definition.Add(reader.ReadBytes().ToGuid()); + intervalScale.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - intervalScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + intervalScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - intervalScale.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + intervalScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - intervalScale.IsMaximumInclusive = reader.ReadBoolean(); + intervalScale.IsDeprecated = reader.ReadBoolean(); break; case 7: - intervalScale.IsMinimumInclusive = reader.ReadBoolean(); + intervalScale.IsMaximumInclusive = reader.ReadBoolean(); break; case 8: + intervalScale.IsMinimumInclusive = reader.ReadBoolean(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: intervalScale.MaximumPermissibleValue = reader.ReadString(); break; - case 10: + case 11: intervalScale.MinimumPermissibleValue = reader.ReadString(); break; - case 11: + case 12: intervalScale.Name = reader.ReadString(); break; - case 12: + case 13: intervalScale.NegativeValueConnotation = reader.ReadString(); break; - case 13: + case 14: intervalScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 14: + case 15: intervalScale.PositiveValueConnotation = reader.ReadString(); break; - case 15: + case 16: intervalScale.ShortName = reader.ReadString(); break; - case 16: + case 17: intervalScale.Unit = reader.ReadBytes().ToGuid(); break; - case 17: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: intervalScale.ModifiedOn = reader.ReadDateTime(); break; - case 21: + case 22: intervalScale.ThingPreference = reader.ReadString(); break; - case 22: + case 23: if (reader.TryReadNil()) { intervalScale.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationMessagePackFormatter.cs index 1aeb78c60..548a8c7c2 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationSetupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationSetupMessagePackFormatter.cs index 579bbe299..3bd67ed3f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationSetupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IterationSetupMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs index d5dcac39d..cb0ec5958 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | conversionFactor | string | 1..1 | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | conversionFactor | string | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, LinearConversionUnit linearC throw new ArgumentNullException(nameof(linearConversionUnit), "The LinearConversionUnit may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(linearConversionUnit.Iid.ToByteArray()); writer.Write(linearConversionUnit.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, LinearConversionUnit linearC { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(linearConversionUnit.Attachment.Count); + foreach (var identifier in linearConversionUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Write(linearConversionUnit.ConversionFactor); writer.WriteArrayHeader(linearConversionUnit.Definition.Count); foreach (var identifier in linearConversionUnit.Definition.OrderBy(x => x, guidComparer)) @@ -194,55 +200,62 @@ public LinearConversionUnit Deserialize(ref MessagePackReader reader, MessagePac } break; case 3: - linearConversionUnit.ConversionFactor = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + linearConversionUnit.Attachment.Add(reader.ReadBytes().ToGuid()); + } break; case 4: + linearConversionUnit.ConversionFactor = reader.ReadString(); + break; + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: linearConversionUnit.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 8: linearConversionUnit.Name = reader.ReadString(); break; - case 8: + case 9: linearConversionUnit.ReferenceUnit = reader.ReadBytes().ToGuid(); break; - case 9: + case 10: linearConversionUnit.ShortName = reader.ReadString(); break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: linearConversionUnit.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: linearConversionUnit.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { linearConversionUnit.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogEntryChangelogItemMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogEntryChangelogItemMessagePackFormatter.cs index 20d54dfb7..7698298d8 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogEntryChangelogItemMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogEntryChangelogItemMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs index e06fb8a86..fffaa6599 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,31 +34,32 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | exponent | string | 1..1 | 1.0.0 | - | 5 | factor | string | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 9 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 10 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | - | 11 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 12 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 13 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 14 | name | string | 1..1 | 1.0.0 | - | 15 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 16 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 17 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 18 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | - | 19 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | - | 20 | shortName | string | 1..1 | 1.0.0 | - | 21 | unit | Guid | 1..1 | 1.0.0 | - | 22 | valueDefinition | Guid | 0..* | 1.0.0 | - | 23 | excludedDomain | Guid | 0..* | 1.1.0 | - | 24 | excludedPerson | Guid | 0..* | 1.1.0 | - | 25 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 26 | thingPreference | string | 0..1 | 1.2.0 | - | 27 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | exponent | string | 1..1 | 1.0.0 | + | 6 | factor | string | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 10 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 11 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | + | 12 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 13 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 14 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 15 | name | string | 1..1 | 1.0.0 | + | 16 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 17 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 18 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 19 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | + | 20 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | + | 21 | shortName | string | 1..1 | 1.0.0 | + | 22 | unit | Guid | 1..1 | 1.0.0 | + | 23 | valueDefinition | Guid | 0..* | 1.0.0 | + | 24 | excludedDomain | Guid | 0..* | 1.1.0 | + | 25 | excludedPerson | Guid | 0..* | 1.1.0 | + | 26 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 27 | thingPreference | string | 0..1 | 1.2.0 | + | 28 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -111,7 +112,7 @@ public void Serialize(ref MessagePackWriter writer, LogarithmicScale logarithmic throw new ArgumentNullException(nameof(logarithmicScale), "The LogarithmicScale may not be null"); } - writer.WriteArrayHeader(28); + writer.WriteArrayHeader(29); writer.Write(logarithmicScale.Iid.ToByteArray()); writer.Write(logarithmicScale.RevisionNumber); @@ -121,6 +122,11 @@ public void Serialize(ref MessagePackWriter writer, LogarithmicScale logarithmic { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(logarithmicScale.Attachment.Count); + foreach (var identifier in logarithmicScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(logarithmicScale.Definition.Count); foreach (var identifier in logarithmicScale.Definition.OrderBy(x => x, guidComparer)) { @@ -235,103 +241,110 @@ public LogarithmicScale Deserialize(ref MessagePackReader reader, MessagePackSer valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - logarithmicScale.Definition.Add(reader.ReadBytes().ToGuid()); + logarithmicScale.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: - logarithmicScale.Exponent = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + logarithmicScale.Definition.Add(reader.ReadBytes().ToGuid()); + } break; case 5: - logarithmicScale.Factor = reader.ReadString(); + logarithmicScale.Exponent = reader.ReadString(); break; case 6: + logarithmicScale.Factor = reader.ReadString(); + break; + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: logarithmicScale.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: logarithmicScale.IsMaximumInclusive = reader.ReadBoolean(); break; - case 9: + case 10: logarithmicScale.IsMinimumInclusive = reader.ReadBoolean(); break; - case 10: + case 11: logarithmicScale.LogarithmBase = (CDP4Common.SiteDirectoryData.LogarithmBaseKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.LogarithmBaseKind), reader.ReadString(), true); break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: logarithmicScale.MaximumPermissibleValue = reader.ReadString(); break; - case 13: + case 14: logarithmicScale.MinimumPermissibleValue = reader.ReadString(); break; - case 14: + case 15: logarithmicScale.Name = reader.ReadString(); break; - case 15: + case 16: logarithmicScale.NegativeValueConnotation = reader.ReadString(); break; - case 16: + case 17: logarithmicScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 17: + case 18: logarithmicScale.PositiveValueConnotation = reader.ReadString(); break; - case 18: + case 19: logarithmicScale.ReferenceQuantityKind = reader.ReadBytes().ToGuid(); break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ReferenceQuantityValue.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: logarithmicScale.ShortName = reader.ReadString(); break; - case 21: + case 22: logarithmicScale.Unit = reader.ReadBytes().ToGuid(); break; - case 22: + case 23: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 23: + case 24: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 24: + case 25: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 25: + case 26: logarithmicScale.ModifiedOn = reader.ReadDateTime(); break; - case 26: + case 27: logarithmicScale.ThingPreference = reader.ReadString(); break; - case 27: + case 28: if (reader.TryReadNil()) { logarithmicScale.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MappingToReferenceScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MappingToReferenceScaleMessagePackFormatter.cs index af7c5de85..1cfb49788 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MappingToReferenceScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MappingToReferenceScaleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelLogEntryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelLogEntryMessagePackFormatter.cs index ec01008d1..5a67a73fa 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelLogEntryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelLogEntryMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs index ab8ccce0e..7ff2091d4 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,28 +34,29 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 4 | baseUnit | Guid | 0..* | 1.0.0 | - | 5 | constant | Guid | 0..* | 1.0.0 | - | 6 | definedCategory | Guid | 0..* | 1.0.0 | - | 7 | definition | Guid | 0..* | 1.0.0 | - | 8 | fileType | Guid | 0..* | 1.0.0 | - | 9 | glossary | Guid | 0..* | 1.0.0 | - | 10 | hyperLink | Guid | 0..* | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | parameterType | Guid | 0..* | 1.0.0 | - | 13 | referenceSource | Guid | 0..* | 1.0.0 | - | 14 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 15 | rule | Guid | 0..* | 1.0.0 | - | 16 | scale | Guid | 0..* | 1.0.0 | - | 17 | shortName | string | 1..1 | 1.0.0 | - | 18 | unit | Guid | 0..* | 1.0.0 | - | 19 | unitPrefix | Guid | 0..* | 1.0.0 | - | 20 | excludedDomain | Guid | 0..* | 1.1.0 | - | 21 | excludedPerson | Guid | 0..* | 1.1.0 | - | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 23 | thingPreference | string | 0..1 | 1.2.0 | - | 24 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 5 | baseUnit | Guid | 0..* | 1.0.0 | + | 6 | constant | Guid | 0..* | 1.0.0 | + | 7 | definedCategory | Guid | 0..* | 1.0.0 | + | 8 | definition | Guid | 0..* | 1.0.0 | + | 9 | fileType | Guid | 0..* | 1.0.0 | + | 10 | glossary | Guid | 0..* | 1.0.0 | + | 11 | hyperLink | Guid | 0..* | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | parameterType | Guid | 0..* | 1.0.0 | + | 14 | referenceSource | Guid | 0..* | 1.0.0 | + | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 16 | rule | Guid | 0..* | 1.0.0 | + | 17 | scale | Guid | 0..* | 1.0.0 | + | 18 | shortName | string | 1..1 | 1.0.0 | + | 19 | unit | Guid | 0..* | 1.0.0 | + | 20 | unitPrefix | Guid | 0..* | 1.0.0 | + | 21 | excludedDomain | Guid | 0..* | 1.1.0 | + | 22 | excludedPerson | Guid | 0..* | 1.1.0 | + | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 24 | thingPreference | string | 0..1 | 1.2.0 | + | 25 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,7 +109,7 @@ public void Serialize(ref MessagePackWriter writer, ModelReferenceDataLibrary mo throw new ArgumentNullException(nameof(modelReferenceDataLibrary), "The ModelReferenceDataLibrary may not be null"); } - writer.WriteArrayHeader(25); + writer.WriteArrayHeader(26); writer.Write(modelReferenceDataLibrary.Iid.ToByteArray()); writer.Write(modelReferenceDataLibrary.RevisionNumber); @@ -118,6 +119,11 @@ public void Serialize(ref MessagePackWriter writer, ModelReferenceDataLibrary mo { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(modelReferenceDataLibrary.Attachment.Count); + foreach (var identifier in modelReferenceDataLibrary.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(modelReferenceDataLibrary.BaseQuantityKind.Count); foreach (var orderedItem in modelReferenceDataLibrary.BaseQuantityKind.OrderBy(x => x, orderedItemComparer)) { @@ -271,6 +277,13 @@ public ModelReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messa } break; case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + modelReferenceDataLibrary.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -281,73 +294,73 @@ public ModelReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messa modelReferenceDataLibrary.BaseQuantityKind.Add(orderedItem); } break; - case 4: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.BaseUnit.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Constant.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.DefinedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.FileType.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Glossary.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: modelReferenceDataLibrary.Name = reader.ReadString(); break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ParameterType.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ReferenceSource.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: if (reader.TryReadNil()) { modelReferenceDataLibrary.RequiredRdl = null; @@ -357,58 +370,58 @@ public ModelReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messa modelReferenceDataLibrary.RequiredRdl = reader.ReadBytes().ToGuid(); } break; - case 15: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Rule.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Scale.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 18: modelReferenceDataLibrary.ShortName = reader.ReadString(); break; - case 18: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Unit.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.UnitPrefix.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 22: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 22: + case 23: modelReferenceDataLibrary.ModifiedOn = reader.ReadDateTime(); break; - case 23: + case 24: modelReferenceDataLibrary.ThingPreference = reader.ReadString(); break; - case 24: + case 25: if (reader.TryReadNil()) { modelReferenceDataLibrary.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModellingThingReferenceMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModellingThingReferenceMessagePackFormatter.cs index 589146b23..7f18114f4 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModellingThingReferenceMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModellingThingReferenceMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipMessagePackFormatter.cs index 2f6569322..c91ef680a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs index 45dfdd408..7759cbdce 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,20 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | maxRelated | int | 1..1 | 1.0.0 | - | 7 | minRelated | int | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | relatedCategory | Guid | 1..* | 1.0.0 | - | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | maxRelated | int | 1..1 | 1.0.0 | + | 8 | minRelated | int | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | relatedCategory | Guid | 1..* | 1.0.0 | + | 11 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -100,7 +101,7 @@ public void Serialize(ref MessagePackWriter writer, MultiRelationshipRule multiR throw new ArgumentNullException(nameof(multiRelationshipRule), "The MultiRelationshipRule may not be null"); } - writer.WriteArrayHeader(17); + writer.WriteArrayHeader(18); writer.Write(multiRelationshipRule.Iid.ToByteArray()); writer.Write(multiRelationshipRule.RevisionNumber); @@ -110,6 +111,11 @@ public void Serialize(ref MessagePackWriter writer, MultiRelationshipRule multiR { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(multiRelationshipRule.Attachment.Count); + foreach (var identifier in multiRelationshipRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(multiRelationshipRule.Definition.Count); foreach (var identifier in multiRelationshipRule.Definition.OrderBy(x => x, guidComparer)) { @@ -205,62 +211,69 @@ public MultiRelationshipRule Deserialize(ref MessagePackReader reader, MessagePa valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - multiRelationshipRule.Definition.Add(reader.ReadBytes().ToGuid()); + multiRelationshipRule.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - multiRelationshipRule.HyperLink.Add(reader.ReadBytes().ToGuid()); + multiRelationshipRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - multiRelationshipRule.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + multiRelationshipRule.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - multiRelationshipRule.MaxRelated = reader.ReadInt32(); + multiRelationshipRule.IsDeprecated = reader.ReadBoolean(); break; case 7: - multiRelationshipRule.MinRelated = reader.ReadInt32(); + multiRelationshipRule.MaxRelated = reader.ReadInt32(); break; case 8: - multiRelationshipRule.Name = reader.ReadString(); + multiRelationshipRule.MinRelated = reader.ReadInt32(); break; case 9: + multiRelationshipRule.Name = reader.ReadString(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.RelatedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: multiRelationshipRule.RelationshipCategory = reader.ReadBytes().ToGuid(); break; - case 11: + case 12: multiRelationshipRule.ShortName = reader.ReadString(); break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: multiRelationshipRule.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 16: multiRelationshipRule.ThingPreference = reader.ReadString(); break; - case 16: + case 17: if (reader.TryReadNil()) { multiRelationshipRule.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NaturalLanguageMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NaturalLanguageMessagePackFormatter.cs index bb7ff6e36..f54ee88a9 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NaturalLanguageMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NaturalLanguageMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedElementMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedElementMessagePackFormatter.cs index 6c7595b9c..ed3336ede 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedElementMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedElementMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedParameterMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedParameterMessagePackFormatter.cs index 49145c519..36165bf2b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedParameterMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NestedParameterMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NotExpressionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NotExpressionMessagePackFormatter.cs index 2eea96924..b3645f45f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NotExpressionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/NotExpressionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs index 83281a05c..aef710c91 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | nestedElement | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | nestedElement | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, Option option, MessagePackSe throw new ArgumentNullException(nameof(option), "The Option may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(option.Iid.ToByteArray()); writer.Write(option.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, Option option, MessagePackSe { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(option.Attachment.Count); + foreach (var identifier in option.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(option.Category.Count); foreach (var identifier in option.Category.OrderBy(x => x, guidComparer)) { @@ -203,57 +209,64 @@ public Option Deserialize(ref MessagePackReader reader, MessagePackSerializerOpt valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - option.Category.Add(reader.ReadBytes().ToGuid()); + option.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - option.Definition.Add(reader.ReadBytes().ToGuid()); + option.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - option.HyperLink.Add(reader.ReadBytes().ToGuid()); + option.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - option.Name = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + option.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: + option.Name = reader.ReadString(); + break; + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.NestedElement.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: option.ShortName = reader.ReadString(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: option.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: option.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { option.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrExpressionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrExpressionMessagePackFormatter.cs index c5e5f506b..911e8971a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrExpressionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrExpressionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs index 1aca58af9..3aa77d30e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,27 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 15 | shortName | string | 1..1 | 1.0.0 | - | 16 | unit | Guid | 1..1 | 1.0.0 | - | 17 | useShortNameValues | bool | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | - | 23 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | useShortNameValues | bool | 1..1 | 1.0.0 | + | 19 | valueDefinition | Guid | 0..* | 1.0.0 | + | 20 | excludedDomain | Guid | 0..* | 1.1.0 | + | 21 | excludedPerson | Guid | 0..* | 1.1.0 | + | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 23 | thingPreference | string | 0..1 | 1.2.0 | + | 24 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,7 +108,7 @@ public void Serialize(ref MessagePackWriter writer, OrdinalScale ordinalScale, M throw new ArgumentNullException(nameof(ordinalScale), "The OrdinalScale may not be null"); } - writer.WriteArrayHeader(24); + writer.WriteArrayHeader(25); writer.Write(ordinalScale.Iid.ToByteArray()); writer.Write(ordinalScale.RevisionNumber); @@ -117,6 +118,11 @@ public void Serialize(ref MessagePackWriter writer, OrdinalScale ordinalScale, M { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(ordinalScale.Attachment.Count); + foreach (var identifier in ordinalScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(ordinalScale.Definition.Count); foreach (var identifier in ordinalScale.Definition.OrderBy(x => x, guidComparer)) { @@ -223,87 +229,94 @@ public OrdinalScale Deserialize(ref MessagePackReader reader, MessagePackSeriali valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - ordinalScale.Definition.Add(reader.ReadBytes().ToGuid()); + ordinalScale.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - ordinalScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + ordinalScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - ordinalScale.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + ordinalScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - ordinalScale.IsMaximumInclusive = reader.ReadBoolean(); + ordinalScale.IsDeprecated = reader.ReadBoolean(); break; case 7: - ordinalScale.IsMinimumInclusive = reader.ReadBoolean(); + ordinalScale.IsMaximumInclusive = reader.ReadBoolean(); break; case 8: + ordinalScale.IsMinimumInclusive = reader.ReadBoolean(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: ordinalScale.MaximumPermissibleValue = reader.ReadString(); break; - case 10: + case 11: ordinalScale.MinimumPermissibleValue = reader.ReadString(); break; - case 11: + case 12: ordinalScale.Name = reader.ReadString(); break; - case 12: + case 13: ordinalScale.NegativeValueConnotation = reader.ReadString(); break; - case 13: + case 14: ordinalScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 14: + case 15: ordinalScale.PositiveValueConnotation = reader.ReadString(); break; - case 15: + case 16: ordinalScale.ShortName = reader.ReadString(); break; - case 16: + case 17: ordinalScale.Unit = reader.ReadBytes().ToGuid(); break; - case 17: + case 18: ordinalScale.UseShortNameValues = reader.ReadBoolean(); break; - case 18: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 22: ordinalScale.ModifiedOn = reader.ReadDateTime(); break; - case 22: + case 23: ordinalScale.ThingPreference = reader.ReadString(); break; - case 23: + case 24: if (reader.TryReadNil()) { ordinalScale.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationMessagePackFormatter.cs index 3f5018a09..45cb03d9a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationalParticipantMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationalParticipantMessagePackFormatter.cs index dba35bf6e..3df33a373 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationalParticipantMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrganizationalParticipantMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OwnedStyleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OwnedStyleMessagePackFormatter.cs index 514b125cb..a32e36830 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OwnedStyleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OwnedStyleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PageMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PageMessagePackFormatter.cs index b95dfd843..24f20ec9b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PageMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PageMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterGroupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterGroupMessagePackFormatter.cs index 1bb692690..97d50190f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterGroupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterGroupMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterMessagePackFormatter.cs index 4b76dd050..9668c0ac3 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideMessagePackFormatter.cs index b6f96d5b1..da383166a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideValueSetMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideValueSetMessagePackFormatter.cs index 0a507d287..28922faa9 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideValueSetMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterOverrideValueSetMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionMessagePackFormatter.cs index 30543c8b1..65809c90e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionValueSetMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionValueSetMessagePackFormatter.cs index b303f3305..1fd0e86fd 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionValueSetMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterSubscriptionValueSetMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterTypeComponentMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterTypeComponentMessagePackFormatter.cs index d99b48f81..7f5153745 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterTypeComponentMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterTypeComponentMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterValueSetMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterValueSetMessagePackFormatter.cs index ffd408299..a87c52bda 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterValueSetMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterValueSetMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs index 39f427fc2..a4d6a7db5 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 1..1 | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | parameterType | Guid | 1..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | parameterType | Guid | 1..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, ParameterizedCategoryRule pa throw new ArgumentNullException(nameof(parameterizedCategoryRule), "The ParameterizedCategoryRule may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(parameterizedCategoryRule.Iid.ToByteArray()); writer.Write(parameterizedCategoryRule.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, ParameterizedCategoryRule pa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(parameterizedCategoryRule.Attachment.Count); + foreach (var identifier in parameterizedCategoryRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Write(parameterizedCategoryRule.Category.ToByteArray()); writer.WriteArrayHeader(parameterizedCategoryRule.Definition.Count); foreach (var identifier in parameterizedCategoryRule.Definition.OrderBy(x => x, guidComparer)) @@ -198,59 +204,66 @@ public ParameterizedCategoryRule Deserialize(ref MessagePackReader reader, Messa } break; case 3: - parameterizedCategoryRule.Category = reader.ReadBytes().ToGuid(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + parameterizedCategoryRule.Attachment.Add(reader.ReadBytes().ToGuid()); + } break; case 4: + parameterizedCategoryRule.Category = reader.ReadBytes().ToGuid(); + break; + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: parameterizedCategoryRule.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 8: parameterizedCategoryRule.Name = reader.ReadString(); break; - case 8: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.ParameterType.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: parameterizedCategoryRule.ShortName = reader.ReadString(); break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: parameterizedCategoryRule.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: parameterizedCategoryRule.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { parameterizedCategoryRule.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParametricConstraintMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParametricConstraintMessagePackFormatter.cs index 806987df1..f033cf49c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParametricConstraintMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParametricConstraintMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantMessagePackFormatter.cs index af76967fe..4ef32fe9a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantPermissionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantPermissionMessagePackFormatter.cs index 76b42a9b7..ab0d8c2a5 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantPermissionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantPermissionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs index a4ed5922c..442150b8c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | participantPermission | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | participantPermission | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, ParticipantRole participantR throw new ArgumentNullException(nameof(participantRole), "The ParticipantRole may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(participantRole.Iid.ToByteArray()); writer.Write(participantRole.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, ParticipantRole participantR { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(participantRole.Attachment.Count); + foreach (var identifier in participantRole.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(participantRole.Definition.Count); foreach (var identifier in participantRole.Definition.OrderBy(x => x, guidComparer)) { @@ -199,53 +205,60 @@ public ParticipantRole Deserialize(ref MessagePackReader reader, MessagePackSeri valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - participantRole.Definition.Add(reader.ReadBytes().ToGuid()); + participantRole.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - participantRole.HyperLink.Add(reader.ReadBytes().ToGuid()); + participantRole.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - participantRole.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + participantRole.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - participantRole.Name = reader.ReadString(); + participantRole.IsDeprecated = reader.ReadBoolean(); break; case 7: + participantRole.Name = reader.ReadString(); + break; + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.ParticipantPermission.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: participantRole.ShortName = reader.ReadString(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: participantRole.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: participantRole.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { participantRole.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonMessagePackFormatter.cs index d1721bf39..8e815ee9a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonPermissionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonPermissionMessagePackFormatter.cs index 327c92a43..246fcfa6a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonPermissionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonPermissionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs index 7614fbd73..9b5975c4e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | personPermission | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | personPermission | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, PersonRole personRole, Messa throw new ArgumentNullException(nameof(personRole), "The PersonRole may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(personRole.Iid.ToByteArray()); writer.Write(personRole.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, PersonRole personRole, Messa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(personRole.Attachment.Count); + foreach (var identifier in personRole.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(personRole.Definition.Count); foreach (var identifier in personRole.Definition.OrderBy(x => x, guidComparer)) { @@ -199,53 +205,60 @@ public PersonRole Deserialize(ref MessagePackReader reader, MessagePackSerialize valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - personRole.Definition.Add(reader.ReadBytes().ToGuid()); + personRole.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - personRole.HyperLink.Add(reader.ReadBytes().ToGuid()); + personRole.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - personRole.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + personRole.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - personRole.Name = reader.ReadString(); + personRole.IsDeprecated = reader.ReadBoolean(); break; case 7: + personRole.Name = reader.ReadString(); + break; + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.PersonPermission.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: personRole.ShortName = reader.ReadString(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: personRole.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: personRole.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { personRole.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PointMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PointMessagePackFormatter.cs index 4ef54b2b4..a49f7673f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PointMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PointMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs index c0b5cd170..d8c5aaa63 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,19 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultState | Guid | 0..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | possibleState | Guid | 1..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultState | Guid | 0..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | possibleState | Guid | 1..* | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -99,7 +100,7 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteStateList poss throw new ArgumentNullException(nameof(possibleFiniteStateList), "The PossibleFiniteStateList may not be null"); } - writer.WriteArrayHeader(16); + writer.WriteArrayHeader(17); writer.Write(possibleFiniteStateList.Iid.ToByteArray()); writer.Write(possibleFiniteStateList.RevisionNumber); @@ -109,6 +110,11 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteStateList poss { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(possibleFiniteStateList.Attachment.Count); + foreach (var identifier in possibleFiniteStateList.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(possibleFiniteStateList.Category.Count); foreach (var identifier in possibleFiniteStateList.Category.OrderBy(x => x, guidComparer)) { @@ -216,10 +222,17 @@ public PossibleFiniteStateList Deserialize(ref MessagePackReader reader, Message valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - possibleFiniteStateList.Category.Add(reader.ReadBytes().ToGuid()); + possibleFiniteStateList.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + possibleFiniteStateList.Category.Add(reader.ReadBytes().ToGuid()); + } + break; + case 5: if (reader.TryReadNil()) { possibleFiniteStateList.DefaultState = null; @@ -229,27 +242,27 @@ public PossibleFiniteStateList Deserialize(ref MessagePackReader reader, Message possibleFiniteStateList.DefaultState = reader.ReadBytes().ToGuid(); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: possibleFiniteStateList.Name = reader.ReadString(); break; - case 8: + case 9: possibleFiniteStateList.Owner = reader.ReadBytes().ToGuid(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -260,30 +273,30 @@ public PossibleFiniteStateList Deserialize(ref MessagePackReader reader, Message possibleFiniteStateList.PossibleState.Add(orderedItem); } break; - case 10: + case 11: possibleFiniteStateList.ShortName = reader.ReadString(); break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: possibleFiniteStateList.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 15: possibleFiniteStateList.ThingPreference = reader.ReadString(); break; - case 15: + case 16: if (reader.TryReadNil()) { possibleFiniteStateList.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs index 9085aa9ab..672022516 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,15 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | shortName | string | 1..1 | 1.0.0 | - | 7 | excludedDomain | Guid | 0..* | 1.1.0 | - | 8 | excludedPerson | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | thingPreference | string | 0..1 | 1.2.0 | - | 11 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -95,7 +96,7 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteState possible throw new ArgumentNullException(nameof(possibleFiniteState), "The PossibleFiniteState may not be null"); } - writer.WriteArrayHeader(12); + writer.WriteArrayHeader(13); writer.Write(possibleFiniteState.Iid.ToByteArray()); writer.Write(possibleFiniteState.RevisionNumber); @@ -105,6 +106,11 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteState possible { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(possibleFiniteState.Attachment.Count); + foreach (var identifier in possibleFiniteState.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(possibleFiniteState.Definition.Count); foreach (var identifier in possibleFiniteState.Definition.OrderBy(x => x, guidComparer)) { @@ -191,43 +197,50 @@ public PossibleFiniteState Deserialize(ref MessagePackReader reader, MessagePack valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - possibleFiniteState.Definition.Add(reader.ReadBytes().ToGuid()); + possibleFiniteState.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - possibleFiniteState.HyperLink.Add(reader.ReadBytes().ToGuid()); + possibleFiniteState.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - possibleFiniteState.Name = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + possibleFiniteState.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - possibleFiniteState.ShortName = reader.ReadString(); + possibleFiniteState.Name = reader.ReadString(); break; case 7: + possibleFiniteState.ShortName = reader.ReadString(); + break; + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteState.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteState.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: possibleFiniteState.ModifiedOn = reader.ReadDateTime(); break; - case 10: + case 11: possibleFiniteState.ThingPreference = reader.ReadString(); break; - case 11: + case 12: if (reader.TryReadNil()) { possibleFiniteState.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs index 5b9743915..99b34814b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,16 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | prefix | Guid | 1..1 | 1.0.0 | - | 7 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | prefix | Guid | 1..1 | 1.0.0 | + | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, PrefixedUnit prefixedUnit, M throw new ArgumentNullException(nameof(prefixedUnit), "The PrefixedUnit may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(prefixedUnit.Iid.ToByteArray()); writer.Write(prefixedUnit.RevisionNumber); @@ -106,6 +107,11 @@ public void Serialize(ref MessagePackWriter writer, PrefixedUnit prefixedUnit, M { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(prefixedUnit.Attachment.Count); + foreach (var identifier in prefixedUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(prefixedUnit.Definition.Count); foreach (var identifier in prefixedUnit.Definition.OrderBy(x => x, guidComparer)) { @@ -193,46 +199,53 @@ public PrefixedUnit Deserialize(ref MessagePackReader reader, MessagePackSeriali valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - prefixedUnit.Definition.Add(reader.ReadBytes().ToGuid()); + prefixedUnit.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - prefixedUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); + prefixedUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - prefixedUnit.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + prefixedUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - prefixedUnit.Prefix = reader.ReadBytes().ToGuid(); + prefixedUnit.IsDeprecated = reader.ReadBoolean(); break; case 7: - prefixedUnit.ReferenceUnit = reader.ReadBytes().ToGuid(); + prefixedUnit.Prefix = reader.ReadBytes().ToGuid(); break; case 8: + prefixedUnit.ReferenceUnit = reader.ReadBytes().ToGuid(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { prefixedUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { prefixedUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: prefixedUnit.ModifiedOn = reader.ReadDateTime(); break; - case 11: + case 12: prefixedUnit.ThingPreference = reader.ReadString(); break; - case 12: + case 13: if (reader.TryReadNil()) { prefixedUnit.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PublicationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PublicationMessagePackFormatter.cs index 3d6b2824a..905927e48 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PublicationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PublicationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/QuantityKindFactorMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/QuantityKindFactorMessagePackFormatter.cs index 10e6ccd70..f2361b880 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/QuantityKindFactorMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/QuantityKindFactorMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs index 9c4ab7e17..744ade7ed 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,26 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 15 | shortName | string | 1..1 | 1.0.0 | - | 16 | unit | Guid | 1..1 | 1.0.0 | - | 17 | valueDefinition | Guid | 0..* | 1.0.0 | - | 18 | excludedDomain | Guid | 0..* | 1.1.0 | - | 19 | excludedPerson | Guid | 0..* | 1.1.0 | - | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 21 | thingPreference | string | 0..1 | 1.2.0 | - | 22 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -106,7 +107,7 @@ public void Serialize(ref MessagePackWriter writer, RatioScale ratioScale, Messa throw new ArgumentNullException(nameof(ratioScale), "The RatioScale may not be null"); } - writer.WriteArrayHeader(23); + writer.WriteArrayHeader(24); writer.Write(ratioScale.Iid.ToByteArray()); writer.Write(ratioScale.RevisionNumber); @@ -116,6 +117,11 @@ public void Serialize(ref MessagePackWriter writer, RatioScale ratioScale, Messa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(ratioScale.Attachment.Count); + foreach (var identifier in ratioScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(ratioScale.Definition.Count); foreach (var identifier in ratioScale.Definition.OrderBy(x => x, guidComparer)) { @@ -221,84 +227,91 @@ public RatioScale Deserialize(ref MessagePackReader reader, MessagePackSerialize valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - ratioScale.Definition.Add(reader.ReadBytes().ToGuid()); + ratioScale.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - ratioScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + ratioScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - ratioScale.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + ratioScale.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - ratioScale.IsMaximumInclusive = reader.ReadBoolean(); + ratioScale.IsDeprecated = reader.ReadBoolean(); break; case 7: - ratioScale.IsMinimumInclusive = reader.ReadBoolean(); + ratioScale.IsMaximumInclusive = reader.ReadBoolean(); break; case 8: + ratioScale.IsMinimumInclusive = reader.ReadBoolean(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: ratioScale.MaximumPermissibleValue = reader.ReadString(); break; - case 10: + case 11: ratioScale.MinimumPermissibleValue = reader.ReadString(); break; - case 11: + case 12: ratioScale.Name = reader.ReadString(); break; - case 12: + case 13: ratioScale.NegativeValueConnotation = reader.ReadString(); break; - case 13: + case 14: ratioScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 14: + case 15: ratioScale.PositiveValueConnotation = reader.ReadString(); break; - case 15: + case 16: ratioScale.ShortName = reader.ReadString(); break; - case 16: + case 17: ratioScale.Unit = reader.ReadBytes().ToGuid(); break; - case 17: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: ratioScale.ModifiedOn = reader.ReadDateTime(); break; - case 21: + case 22: ratioScale.ThingPreference = reader.ReadString(); break; - case 22: + case 23: if (reader.TryReadNil()) { ratioScale.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs index fec15a1d8..ee3470d7c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,24 +34,25 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | author | string | 0..1 | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | language | string | 0..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | publicationYear | int | 0..1 | 1.0.0 | - | 11 | publishedIn | Guid | 0..1 | 1.0.0 | - | 12 | publisher | Guid | 0..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | versionDate | DateTime | 0..1 | 1.0.0 | - | 15 | versionIdentifier | string | 0..1 | 1.0.0 | - | 16 | excludedDomain | Guid | 0..* | 1.1.0 | - | 17 | excludedPerson | Guid | 0..* | 1.1.0 | - | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 19 | thingPreference | string | 0..1 | 1.2.0 | - | 20 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | author | string | 0..1 | 1.0.0 | + | 5 | category | Guid | 0..* | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | language | string | 0..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | publicationYear | int | 0..1 | 1.0.0 | + | 12 | publishedIn | Guid | 0..1 | 1.0.0 | + | 13 | publisher | Guid | 0..1 | 1.0.0 | + | 14 | shortName | string | 1..1 | 1.0.0 | + | 15 | versionDate | DateTime | 0..1 | 1.0.0 | + | 16 | versionIdentifier | string | 0..1 | 1.0.0 | + | 17 | excludedDomain | Guid | 0..* | 1.1.0 | + | 18 | excludedPerson | Guid | 0..* | 1.1.0 | + | 19 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -104,7 +105,7 @@ public void Serialize(ref MessagePackWriter writer, ReferenceSource referenceSou throw new ArgumentNullException(nameof(referenceSource), "The ReferenceSource may not be null"); } - writer.WriteArrayHeader(21); + writer.WriteArrayHeader(22); writer.Write(referenceSource.Iid.ToByteArray()); writer.Write(referenceSource.RevisionNumber); @@ -114,6 +115,11 @@ public void Serialize(ref MessagePackWriter writer, ReferenceSource referenceSou { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(referenceSource.Attachment.Count); + foreach (var identifier in referenceSource.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Write(referenceSource.Author); writer.WriteArrayHeader(referenceSource.Category.Count); foreach (var identifier in referenceSource.Category.OrderBy(x => x, guidComparer)) @@ -238,39 +244,46 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri } break; case 3: - referenceSource.Author = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + referenceSource.Attachment.Add(reader.ReadBytes().ToGuid()); + } break; case 4: + referenceSource.Author = reader.ReadString(); + break; + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: referenceSource.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: referenceSource.Language = reader.ReadString(); break; - case 9: + case 10: referenceSource.Name = reader.ReadString(); break; - case 10: + case 11: if (reader.TryReadNil()) { referenceSource.PublicationYear = null; @@ -280,7 +293,7 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.PublicationYear = reader.ReadInt32(); } break; - case 11: + case 12: if (reader.TryReadNil()) { referenceSource.PublishedIn = null; @@ -290,7 +303,7 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.PublishedIn = reader.ReadBytes().ToGuid(); } break; - case 12: + case 13: if (reader.TryReadNil()) { referenceSource.Publisher = null; @@ -300,10 +313,10 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.Publisher = reader.ReadBytes().ToGuid(); } break; - case 13: + case 14: referenceSource.ShortName = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { referenceSource.VersionDate = null; @@ -313,30 +326,30 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.VersionDate = reader.ReadDateTime(); } break; - case 15: + case 16: referenceSource.VersionIdentifier = reader.ReadString(); break; - case 16: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 19: referenceSource.ModifiedOn = reader.ReadDateTime(); break; - case 19: + case 20: referenceSource.ThingPreference = reader.ReadString(); break; - case 20: + case 21: if (reader.TryReadNil()) { referenceSource.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs index 2759ac9e1..7c5c5d295 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,20 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | maxReferenced | int | 1..1 | 1.0.0 | - | 7 | minReferenced | int | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | referencedCategory | Guid | 1..* | 1.0.0 | - | 10 | referencingCategory | Guid | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | maxReferenced | int | 1..1 | 1.0.0 | + | 8 | minReferenced | int | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | referencedCategory | Guid | 1..* | 1.0.0 | + | 11 | referencingCategory | Guid | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -100,7 +101,7 @@ public void Serialize(ref MessagePackWriter writer, ReferencerRule referencerRul throw new ArgumentNullException(nameof(referencerRule), "The ReferencerRule may not be null"); } - writer.WriteArrayHeader(17); + writer.WriteArrayHeader(18); writer.Write(referencerRule.Iid.ToByteArray()); writer.Write(referencerRule.RevisionNumber); @@ -110,6 +111,11 @@ public void Serialize(ref MessagePackWriter writer, ReferencerRule referencerRul { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(referencerRule.Attachment.Count); + foreach (var identifier in referencerRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(referencerRule.Definition.Count); foreach (var identifier in referencerRule.Definition.OrderBy(x => x, guidComparer)) { @@ -205,62 +211,69 @@ public ReferencerRule Deserialize(ref MessagePackReader reader, MessagePackSeria valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - referencerRule.Definition.Add(reader.ReadBytes().ToGuid()); + referencerRule.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - referencerRule.HyperLink.Add(reader.ReadBytes().ToGuid()); + referencerRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - referencerRule.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + referencerRule.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - referencerRule.MaxReferenced = reader.ReadInt32(); + referencerRule.IsDeprecated = reader.ReadBoolean(); break; case 7: - referencerRule.MinReferenced = reader.ReadInt32(); + referencerRule.MaxReferenced = reader.ReadInt32(); break; case 8: - referencerRule.Name = reader.ReadString(); + referencerRule.MinReferenced = reader.ReadInt32(); break; case 9: + referencerRule.Name = reader.ReadString(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.ReferencedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: referencerRule.ReferencingCategory = reader.ReadBytes().ToGuid(); break; - case 11: + case 12: referencerRule.ShortName = reader.ReadString(); break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: referencerRule.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 16: referencerRule.ThingPreference = reader.ReadString(); break; - case 16: + case 17: if (reader.TryReadNil()) { referencerRule.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationalExpressionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationalExpressionMessagePackFormatter.cs index 337a66574..adeec945f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationalExpressionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationalExpressionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationshipParameterValueMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationshipParameterValueMessagePackFormatter.cs index 739d5997b..60dbb5b90 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationshipParameterValueMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RelationshipParameterValueMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForDeviationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForDeviationMessagePackFormatter.cs index 2572fd33c..9a0acdef3 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForDeviationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForDeviationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForWaiverMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForWaiverMessagePackFormatter.cs index f39ca5593..b04349558 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForWaiverMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequestForWaiverMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs index ad1832c92..b8f0a5f29 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,21 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | group | Guid | 0..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | parameterValue | Guid | 0..* | 1.0.0 | - | 11 | parametricConstraint | Guid | 0..* | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | group | Guid | 0..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | owner | Guid | 1..1 | 1.0.0 | + | 11 | parameterValue | Guid | 0..* | 1.0.0 | + | 12 | parametricConstraint | Guid | 0..* | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -101,7 +102,7 @@ public void Serialize(ref MessagePackWriter writer, Requirement requirement, Mes throw new ArgumentNullException(nameof(requirement), "The Requirement may not be null"); } - writer.WriteArrayHeader(18); + writer.WriteArrayHeader(19); writer.Write(requirement.Iid.ToByteArray()); writer.Write(requirement.RevisionNumber); @@ -111,6 +112,11 @@ public void Serialize(ref MessagePackWriter writer, Requirement requirement, Mes { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(requirement.Attachment.Count); + foreach (var identifier in requirement.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(requirement.Category.Count); foreach (var identifier in requirement.Category.OrderBy(x => x, guidComparer)) { @@ -224,17 +230,24 @@ public Requirement Deserialize(ref MessagePackReader reader, MessagePackSerializ valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirement.Category.Add(reader.ReadBytes().ToGuid()); + requirement.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirement.Definition.Add(reader.ReadBytes().ToGuid()); + requirement.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + requirement.Definition.Add(reader.ReadBytes().ToGuid()); + } + break; + case 6: if (reader.TryReadNil()) { requirement.Group = null; @@ -244,30 +257,30 @@ public Requirement Deserialize(ref MessagePackReader reader, MessagePackSerializ requirement.Group = reader.ReadBytes().ToGuid(); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: requirement.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: requirement.Name = reader.ReadString(); break; - case 9: + case 10: requirement.Owner = reader.ReadBytes().ToGuid(); break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.ParameterValue.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -278,30 +291,30 @@ public Requirement Deserialize(ref MessagePackReader reader, MessagePackSerializ requirement.ParametricConstraint.Add(orderedItem); } break; - case 12: + case 13: requirement.ShortName = reader.ReadString(); break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: requirement.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 17: requirement.ThingPreference = reader.ReadString(); break; - case 17: + case 18: if (reader.TryReadNil()) { requirement.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsContainerParameterValueMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsContainerParameterValueMessagePackFormatter.cs index ae16ee047..79576d352 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsContainerParameterValueMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsContainerParameterValueMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs index 937b648f3..a447c67dd 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,19 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | group | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | owner | Guid | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | category | Guid | 0..* | 1.1.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | parameterValue | Guid | 0..* | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | group | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | category | Guid | 0..* | 1.1.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | parameterValue | Guid | 0..* | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -99,7 +100,7 @@ public void Serialize(ref MessagePackWriter writer, RequirementsGroup requiremen throw new ArgumentNullException(nameof(requirementsGroup), "The RequirementsGroup may not be null"); } - writer.WriteArrayHeader(16); + writer.WriteArrayHeader(17); writer.Write(requirementsGroup.Iid.ToByteArray()); writer.Write(requirementsGroup.RevisionNumber); @@ -109,6 +110,11 @@ public void Serialize(ref MessagePackWriter writer, RequirementsGroup requiremen { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(requirementsGroup.Attachment.Count); + foreach (var identifier in requirementsGroup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(requirementsGroup.Definition.Count); foreach (var identifier in requirementsGroup.Definition.OrderBy(x => x, guidComparer)) { @@ -211,67 +217,74 @@ public RequirementsGroup Deserialize(ref MessagePackReader reader, MessagePackSe valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirementsGroup.Definition.Add(reader.ReadBytes().ToGuid()); + requirementsGroup.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirementsGroup.Group.Add(reader.ReadBytes().ToGuid()); + requirementsGroup.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirementsGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); + requirementsGroup.Group.Add(reader.ReadBytes().ToGuid()); } break; case 6: - requirementsGroup.Name = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + requirementsGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - requirementsGroup.Owner = reader.ReadBytes().ToGuid(); + requirementsGroup.Name = reader.ReadString(); break; case 8: - requirementsGroup.ShortName = reader.ReadString(); + requirementsGroup.Owner = reader.ReadBytes().ToGuid(); break; case 9: + requirementsGroup.ShortName = reader.ReadString(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: requirementsGroup.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.ParameterValue.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: requirementsGroup.ThingPreference = reader.ReadString(); break; - case 15: + case 16: if (reader.TryReadNil()) { requirementsGroup.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs index 4423271dc..7f4dcd795 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,21 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | group | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | requirement | Guid | 0..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | category | Guid | 0..* | 1.1.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | parameterValue | Guid | 0..* | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | group | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | requirement | Guid | 0..* | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | category | Guid | 0..* | 1.1.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | parameterValue | Guid | 0..* | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -101,7 +102,7 @@ public void Serialize(ref MessagePackWriter writer, RequirementsSpecification re throw new ArgumentNullException(nameof(requirementsSpecification), "The RequirementsSpecification may not be null"); } - writer.WriteArrayHeader(18); + writer.WriteArrayHeader(19); writer.Write(requirementsSpecification.Iid.ToByteArray()); writer.Write(requirementsSpecification.RevisionNumber); @@ -111,6 +112,11 @@ public void Serialize(ref MessagePackWriter writer, RequirementsSpecification re { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(requirementsSpecification.Attachment.Count); + foreach (var identifier in requirementsSpecification.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(requirementsSpecification.Definition.Count); foreach (var identifier in requirementsSpecification.Definition.OrderBy(x => x, guidComparer)) { @@ -219,77 +225,84 @@ public RequirementsSpecification Deserialize(ref MessagePackReader reader, Messa valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirementsSpecification.Definition.Add(reader.ReadBytes().ToGuid()); + requirementsSpecification.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirementsSpecification.Group.Add(reader.ReadBytes().ToGuid()); + requirementsSpecification.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - requirementsSpecification.HyperLink.Add(reader.ReadBytes().ToGuid()); + requirementsSpecification.Group.Add(reader.ReadBytes().ToGuid()); } break; case 6: - requirementsSpecification.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + requirementsSpecification.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - requirementsSpecification.Name = reader.ReadString(); + requirementsSpecification.IsDeprecated = reader.ReadBoolean(); break; case 8: - requirementsSpecification.Owner = reader.ReadBytes().ToGuid(); + requirementsSpecification.Name = reader.ReadString(); break; case 9: + requirementsSpecification.Owner = reader.ReadBytes().ToGuid(); + break; + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.Requirement.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: requirementsSpecification.ShortName = reader.ReadString(); break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: requirementsSpecification.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.ParameterValue.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 17: requirementsSpecification.ThingPreference = reader.ReadString(); break; - case 17: + case 18: if (reader.TryReadNil()) { requirementsSpecification.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReviewItemDiscrepancyMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReviewItemDiscrepancyMessagePackFormatter.cs index 58c8527b1..ea38a2337 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReviewItemDiscrepancyMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReviewItemDiscrepancyMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs index 97b123126..33f2e5317 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | owner | Guid | 1..1 | 1.0.0 | - | 7 | ruleVerification | Guid | 0..* | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | owner | Guid | 1..1 | 1.0.0 | + | 8 | ruleVerification | Guid | 0..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, RuleVerificationList ruleVer throw new ArgumentNullException(nameof(ruleVerificationList), "The RuleVerificationList may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(ruleVerificationList.Iid.ToByteArray()); writer.Write(ruleVerificationList.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, RuleVerificationList ruleVer { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(ruleVerificationList.Attachment.Count); + foreach (var identifier in ruleVerificationList.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(ruleVerificationList.Definition.Count); foreach (var identifier in ruleVerificationList.Definition.OrderBy(x => x, guidComparer)) { @@ -201,23 +207,30 @@ public RuleVerificationList Deserialize(ref MessagePackReader reader, MessagePac valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - ruleVerificationList.Definition.Add(reader.ReadBytes().ToGuid()); + ruleVerificationList.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - ruleVerificationList.HyperLink.Add(reader.ReadBytes().ToGuid()); + ruleVerificationList.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - ruleVerificationList.Name = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + ruleVerificationList.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - ruleVerificationList.Owner = reader.ReadBytes().ToGuid(); + ruleVerificationList.Name = reader.ReadString(); break; case 7: + ruleVerificationList.Owner = reader.ReadBytes().ToGuid(); + break; + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -228,30 +241,30 @@ public RuleVerificationList Deserialize(ref MessagePackReader reader, MessagePac ruleVerificationList.RuleVerification.Add(orderedItem); } break; - case 8: + case 9: ruleVerificationList.ShortName = reader.ReadString(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ruleVerificationList.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ruleVerificationList.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: ruleVerificationList.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: ruleVerificationList.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { ruleVerificationList.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleViolationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleViolationMessagePackFormatter.cs index ca72b9f4d..c96c92d5f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleViolationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleViolationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs index a586ada0b..4637f17a3 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -37,19 +37,20 @@ | 3 | excludedPerson | Guid | 0..* | 1.1.0 | | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 5 | alias | Guid | 0..* | 1.2.0 | - | 6 | category | Guid | 0..* | 1.2.0 | - | 7 | definition | Guid | 0..* | 1.2.0 | - | 8 | degreeOfInterpolation | int | 0..1 | 1.2.0 | - | 9 | dependentParameterType | Guid | 1..* | 1.2.0 | - | 10 | hyperLink | Guid | 0..* | 1.2.0 | - | 11 | independentParameterType | Guid | 1..* | 1.2.0 | - | 12 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | - | 13 | isDeprecated | bool | 1..1 | 1.2.0 | - | 14 | name | string | 1..1 | 1.2.0 | - | 15 | shortName | string | 1..1 | 1.2.0 | - | 16 | symbol | string | 1..1 | 1.2.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 6 | attachment | Guid | 0..* | 1.2.0 | + | 7 | category | Guid | 0..* | 1.2.0 | + | 8 | definition | Guid | 0..* | 1.2.0 | + | 9 | degreeOfInterpolation | int | 0..1 | 1.2.0 | + | 10 | dependentParameterType | Guid | 1..* | 1.2.0 | + | 11 | hyperLink | Guid | 0..* | 1.2.0 | + | 12 | independentParameterType | Guid | 1..* | 1.2.0 | + | 13 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | + | 14 | isDeprecated | bool | 1..1 | 1.2.0 | + | 15 | name | string | 1..1 | 1.2.0 | + | 16 | shortName | string | 1..1 | 1.2.0 | + | 17 | symbol | string | 1..1 | 1.2.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -102,7 +103,7 @@ public void Serialize(ref MessagePackWriter writer, SampledFunctionParameterType throw new ArgumentNullException(nameof(sampledFunctionParameterType), "The SampledFunctionParameterType may not be null"); } - writer.WriteArrayHeader(19); + writer.WriteArrayHeader(20); writer.Write(sampledFunctionParameterType.Iid.ToByteArray()); writer.Write(sampledFunctionParameterType.RevisionNumber); @@ -123,6 +124,11 @@ public void Serialize(ref MessagePackWriter writer, SampledFunctionParameterType { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(sampledFunctionParameterType.Attachment.Count); + foreach (var identifier in sampledFunctionParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(sampledFunctionParameterType.Category.Count); foreach (var identifier in sampledFunctionParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -249,17 +255,24 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - sampledFunctionParameterType.Category.Add(reader.ReadBytes().ToGuid()); + sampledFunctionParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - sampledFunctionParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + sampledFunctionParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 8: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + sampledFunctionParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + } + break; + case 9: if (reader.TryReadNil()) { sampledFunctionParameterType.DegreeOfInterpolation = null; @@ -269,7 +282,7 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me sampledFunctionParameterType.DegreeOfInterpolation = reader.ReadInt32(); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -280,14 +293,14 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me sampledFunctionParameterType.DependentParameterType.Add(orderedItem); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { sampledFunctionParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -298,7 +311,7 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me sampledFunctionParameterType.IndependentParameterType.Add(orderedItem); } break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); var sampledFunctionParameterTypeInterpolationPeriod = new List(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) @@ -307,22 +320,22 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me } sampledFunctionParameterType.InterpolationPeriod = new ValueArray(sampledFunctionParameterTypeInterpolationPeriod); break; - case 13: + case 14: sampledFunctionParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 14: + case 15: sampledFunctionParameterType.Name = reader.ReadString(); break; - case 15: + case 16: sampledFunctionParameterType.ShortName = reader.ReadString(); break; - case 16: + case 17: sampledFunctionParameterType.Symbol = reader.ReadString(); break; - case 17: + case 18: sampledFunctionParameterType.ThingPreference = reader.ReadString(); break; - case 18: + case 19: if (reader.TryReadNil()) { sampledFunctionParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleReferenceQuantityValueMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleReferenceQuantityValueMessagePackFormatter.cs index 5c728bb46..4a5d60ae7 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleReferenceQuantityValueMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleReferenceQuantityValueMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs index 790114bdb..b56fce392 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,16 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | name | string | 1..1 | 1.0.0 | - | 6 | shortName | string | 1..1 | 1.0.0 | - | 7 | value | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | value | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, ScaleValueDefinition scaleVa throw new ArgumentNullException(nameof(scaleValueDefinition), "The ScaleValueDefinition may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(scaleValueDefinition.Iid.ToByteArray()); writer.Write(scaleValueDefinition.RevisionNumber); @@ -106,6 +107,11 @@ public void Serialize(ref MessagePackWriter writer, ScaleValueDefinition scaleVa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(scaleValueDefinition.Attachment.Count); + foreach (var identifier in scaleValueDefinition.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(scaleValueDefinition.Definition.Count); foreach (var identifier in scaleValueDefinition.Definition.OrderBy(x => x, guidComparer)) { @@ -193,46 +199,53 @@ public ScaleValueDefinition Deserialize(ref MessagePackReader reader, MessagePac valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - scaleValueDefinition.Definition.Add(reader.ReadBytes().ToGuid()); + scaleValueDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - scaleValueDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); + scaleValueDefinition.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - scaleValueDefinition.Name = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + scaleValueDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - scaleValueDefinition.ShortName = reader.ReadString(); + scaleValueDefinition.Name = reader.ReadString(); break; case 7: - scaleValueDefinition.Value = reader.ReadString(); + scaleValueDefinition.ShortName = reader.ReadString(); break; case 8: + scaleValueDefinition.Value = reader.ReadString(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { scaleValueDefinition.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { scaleValueDefinition.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: scaleValueDefinition.ModifiedOn = reader.ReadDateTime(); break; - case 11: + case 12: scaleValueDefinition.ThingPreference = reader.ReadString(); break; - case 12: + case 13: if (reader.TryReadNil()) { scaleValueDefinition.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SectionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SectionMessagePackFormatter.cs index 3491ee699..c8963b257 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SectionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SectionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SharedStyleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SharedStyleMessagePackFormatter.cs index ae4b91a89..69952073c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SharedStyleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SharedStyleMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleParameterValueMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleParameterValueMessagePackFormatter.cs index 4f315405f..eebfd4483 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleParameterValueMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleParameterValueMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs index 016aeead6..3f89f0350 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,21 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultScale | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | possibleScale | Guid | 0..* | 1.0.0 | - | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | symbol | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultScale | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | possibleScale | Guid | 0..* | 1.0.0 | + | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -101,7 +102,7 @@ public void Serialize(ref MessagePackWriter writer, SimpleQuantityKind simpleQua throw new ArgumentNullException(nameof(simpleQuantityKind), "The SimpleQuantityKind may not be null"); } - writer.WriteArrayHeader(18); + writer.WriteArrayHeader(19); writer.Write(simpleQuantityKind.Iid.ToByteArray()); writer.Write(simpleQuantityKind.RevisionNumber); @@ -111,6 +112,11 @@ public void Serialize(ref MessagePackWriter writer, SimpleQuantityKind simpleQua { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(simpleQuantityKind.Attachment.Count); + foreach (var identifier in simpleQuantityKind.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(simpleQuantityKind.Category.Count); foreach (var identifier in simpleQuantityKind.Category.OrderBy(x => x, guidComparer)) { @@ -211,69 +217,76 @@ public SimpleQuantityKind Deserialize(ref MessagePackReader reader, MessagePackS valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - simpleQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); + simpleQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: - simpleQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + simpleQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); + } break; case 5: + simpleQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); + break; + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: simpleQuantityKind.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 9: simpleQuantityKind.Name = reader.ReadString(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.PossibleScale.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: simpleQuantityKind.QuantityDimensionSymbol = reader.ReadString(); break; - case 11: + case 12: simpleQuantityKind.ShortName = reader.ReadString(); break; - case 12: + case 13: simpleQuantityKind.Symbol = reader.ReadString(); break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: simpleQuantityKind.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 17: simpleQuantityKind.ThingPreference = reader.ReadString(); break; - case 17: + case 18: if (reader.TryReadNil()) { simpleQuantityKind.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs index 125910bfc..23b9a19c8 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,16 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, SimpleUnit simpleUnit, Messa throw new ArgumentNullException(nameof(simpleUnit), "The SimpleUnit may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(simpleUnit.Iid.ToByteArray()); writer.Write(simpleUnit.RevisionNumber); @@ -106,6 +107,11 @@ public void Serialize(ref MessagePackWriter writer, SimpleUnit simpleUnit, Messa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(simpleUnit.Attachment.Count); + foreach (var identifier in simpleUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(simpleUnit.Definition.Count); foreach (var identifier in simpleUnit.Definition.OrderBy(x => x, guidComparer)) { @@ -193,46 +199,53 @@ public SimpleUnit Deserialize(ref MessagePackReader reader, MessagePackSerialize valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - simpleUnit.Definition.Add(reader.ReadBytes().ToGuid()); + simpleUnit.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - simpleUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); + simpleUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - simpleUnit.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + simpleUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - simpleUnit.Name = reader.ReadString(); + simpleUnit.IsDeprecated = reader.ReadBoolean(); break; case 7: - simpleUnit.ShortName = reader.ReadString(); + simpleUnit.Name = reader.ReadString(); break; case 8: + simpleUnit.ShortName = reader.ReadString(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: simpleUnit.ModifiedOn = reader.ReadDateTime(); break; - case 11: + case 12: simpleUnit.ThingPreference = reader.ReadString(); break; - case 12: + case 13: if (reader.TryReadNil()) { simpleUnit.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataAnnotationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataAnnotationMessagePackFormatter.cs index 27d81bf70..12f5a77c8 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataAnnotationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataAnnotationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataDiscussionItemMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataDiscussionItemMessagePackFormatter.cs index c5a7d5819..4055d576c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataDiscussionItemMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryDataDiscussionItemMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryMessagePackFormatter.cs index 129cae945..d24744e58 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryThingReferenceMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryThingReferenceMessagePackFormatter.cs index f56de1979..2c7ebb2b4 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryThingReferenceMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteDirectoryThingReferenceMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteLogEntryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteLogEntryMessagePackFormatter.cs index a0f2454aa..85c33dc76 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteLogEntryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteLogEntryMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs index c9f1d9973..535226075 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,29 +34,30 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 4 | baseUnit | Guid | 0..* | 1.0.0 | - | 5 | constant | Guid | 0..* | 1.0.0 | - | 6 | definedCategory | Guid | 0..* | 1.0.0 | - | 7 | definition | Guid | 0..* | 1.0.0 | - | 8 | fileType | Guid | 0..* | 1.0.0 | - | 9 | glossary | Guid | 0..* | 1.0.0 | - | 10 | hyperLink | Guid | 0..* | 1.0.0 | - | 11 | isDeprecated | bool | 1..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | parameterType | Guid | 0..* | 1.0.0 | - | 14 | referenceSource | Guid | 0..* | 1.0.0 | - | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 16 | rule | Guid | 0..* | 1.0.0 | - | 17 | scale | Guid | 0..* | 1.0.0 | - | 18 | shortName | string | 1..1 | 1.0.0 | - | 19 | unit | Guid | 0..* | 1.0.0 | - | 20 | unitPrefix | Guid | 0..* | 1.0.0 | - | 21 | excludedDomain | Guid | 0..* | 1.1.0 | - | 22 | excludedPerson | Guid | 0..* | 1.1.0 | - | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 24 | thingPreference | string | 0..1 | 1.2.0 | - | 25 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 5 | baseUnit | Guid | 0..* | 1.0.0 | + | 6 | constant | Guid | 0..* | 1.0.0 | + | 7 | definedCategory | Guid | 0..* | 1.0.0 | + | 8 | definition | Guid | 0..* | 1.0.0 | + | 9 | fileType | Guid | 0..* | 1.0.0 | + | 10 | glossary | Guid | 0..* | 1.0.0 | + | 11 | hyperLink | Guid | 0..* | 1.0.0 | + | 12 | isDeprecated | bool | 1..1 | 1.0.0 | + | 13 | name | string | 1..1 | 1.0.0 | + | 14 | parameterType | Guid | 0..* | 1.0.0 | + | 15 | referenceSource | Guid | 0..* | 1.0.0 | + | 16 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 17 | rule | Guid | 0..* | 1.0.0 | + | 18 | scale | Guid | 0..* | 1.0.0 | + | 19 | shortName | string | 1..1 | 1.0.0 | + | 20 | unit | Guid | 0..* | 1.0.0 | + | 21 | unitPrefix | Guid | 0..* | 1.0.0 | + | 22 | excludedDomain | Guid | 0..* | 1.1.0 | + | 23 | excludedPerson | Guid | 0..* | 1.1.0 | + | 24 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 25 | thingPreference | string | 0..1 | 1.2.0 | + | 26 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,7 +110,7 @@ public void Serialize(ref MessagePackWriter writer, SiteReferenceDataLibrary sit throw new ArgumentNullException(nameof(siteReferenceDataLibrary), "The SiteReferenceDataLibrary may not be null"); } - writer.WriteArrayHeader(26); + writer.WriteArrayHeader(27); writer.Write(siteReferenceDataLibrary.Iid.ToByteArray()); writer.Write(siteReferenceDataLibrary.RevisionNumber); @@ -119,6 +120,11 @@ public void Serialize(ref MessagePackWriter writer, SiteReferenceDataLibrary sit { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(siteReferenceDataLibrary.Attachment.Count); + foreach (var identifier in siteReferenceDataLibrary.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(siteReferenceDataLibrary.BaseQuantityKind.Count); foreach (var orderedItem in siteReferenceDataLibrary.BaseQuantityKind.OrderBy(x => x, orderedItemComparer)) { @@ -273,6 +279,13 @@ public SiteReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messag } break; case 3: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + siteReferenceDataLibrary.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -283,76 +296,76 @@ public SiteReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messag siteReferenceDataLibrary.BaseQuantityKind.Add(orderedItem); } break; - case 4: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.BaseUnit.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Constant.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.DefinedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.FileType.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Glossary.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: siteReferenceDataLibrary.IsDeprecated = reader.ReadBoolean(); break; - case 12: + case 13: siteReferenceDataLibrary.Name = reader.ReadString(); break; - case 13: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ParameterType.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ReferenceSource.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: if (reader.TryReadNil()) { siteReferenceDataLibrary.RequiredRdl = null; @@ -362,58 +375,58 @@ public SiteReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messag siteReferenceDataLibrary.RequiredRdl = reader.ReadBytes().ToGuid(); } break; - case 16: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Rule.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Scale.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 19: siteReferenceDataLibrary.ShortName = reader.ReadString(); break; - case 19: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Unit.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 21: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.UnitPrefix.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 22: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 22: + case 23: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 23: + case 24: siteReferenceDataLibrary.ModifiedOn = reader.ReadDateTime(); break; - case 24: + case 25: siteReferenceDataLibrary.ThingPreference = reader.ReadString(); break; - case 25: + case 26: if (reader.TryReadNil()) { siteReferenceDataLibrary.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SolutionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SolutionMessagePackFormatter.cs index b0f60bec0..a45091f99 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SolutionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SolutionMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs index 89c96998a..365f5805b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,22 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | defaultScale | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | general | Guid | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | possibleScale | Guid | 0..* | 1.0.0 | - | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | defaultScale | Guid | 1..1 | 1.0.0 | + | 6 | definition | Guid | 0..* | 1.0.0 | + | 7 | general | Guid | 1..1 | 1.0.0 | + | 8 | hyperLink | Guid | 0..* | 1.0.0 | + | 9 | isDeprecated | bool | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | possibleScale | Guid | 0..* | 1.0.0 | + | 12 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | symbol | string | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | thingPreference | string | 0..1 | 1.2.0 | + | 19 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -102,7 +103,7 @@ public void Serialize(ref MessagePackWriter writer, SpecializedQuantityKind spec throw new ArgumentNullException(nameof(specializedQuantityKind), "The SpecializedQuantityKind may not be null"); } - writer.WriteArrayHeader(19); + writer.WriteArrayHeader(20); writer.Write(specializedQuantityKind.Iid.ToByteArray()); writer.Write(specializedQuantityKind.RevisionNumber); @@ -112,6 +113,11 @@ public void Serialize(ref MessagePackWriter writer, SpecializedQuantityKind spec { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(specializedQuantityKind.Attachment.Count); + foreach (var identifier in specializedQuantityKind.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(specializedQuantityKind.Category.Count); foreach (var identifier in specializedQuantityKind.Category.OrderBy(x => x, guidComparer)) { @@ -213,72 +219,79 @@ public SpecializedQuantityKind Deserialize(ref MessagePackReader reader, Message valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - specializedQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); + specializedQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: - specializedQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + specializedQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); + } break; case 5: + specializedQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); + break; + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: specializedQuantityKind.General = reader.ReadBytes().ToGuid(); break; - case 7: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 9: specializedQuantityKind.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 10: specializedQuantityKind.Name = reader.ReadString(); break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.PossibleScale.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: specializedQuantityKind.QuantityDimensionSymbol = reader.ReadString(); break; - case 12: + case 13: specializedQuantityKind.ShortName = reader.ReadString(); break; - case 13: + case 14: specializedQuantityKind.Symbol = reader.ReadString(); break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 17: specializedQuantityKind.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 18: specializedQuantityKind.ThingPreference = reader.ReadString(); break; - case 18: + case 19: if (reader.TryReadNil()) { specializedQuantityKind.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs index 84c749932..3a382f3be 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,21 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | goal | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | requirement | Guid | 0..* | 1.1.0 | - | 12 | settings | Guid | 1..1 | 1.1.0 | - | 13 | shortName | string | 1..1 | 1.1.0 | - | 14 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 15 | valueGroup | Guid | 0..* | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | goal | Guid | 0..* | 1.1.0 | + | 9 | hyperLink | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | name | string | 1..1 | 1.1.0 | + | 12 | requirement | Guid | 0..* | 1.1.0 | + | 13 | settings | Guid | 1..1 | 1.1.0 | + | 14 | shortName | string | 1..1 | 1.1.0 | + | 15 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 16 | valueGroup | Guid | 0..* | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -101,7 +102,7 @@ public void Serialize(ref MessagePackWriter writer, StakeHolderValueMap stakeHol throw new ArgumentNullException(nameof(stakeHolderValueMap), "The StakeHolderValueMap may not be null"); } - writer.WriteArrayHeader(18); + writer.WriteArrayHeader(19); writer.Write(stakeHolderValueMap.Iid.ToByteArray()); writer.Write(stakeHolderValueMap.RevisionNumber); @@ -111,6 +112,11 @@ public void Serialize(ref MessagePackWriter writer, StakeHolderValueMap stakeHol { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(stakeHolderValueMap.Attachment.Count); + foreach (var identifier in stakeHolderValueMap.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(stakeHolderValueMap.Category.Count); foreach (var identifier in stakeHolderValueMap.Category.OrderBy(x => x, guidComparer)) { @@ -227,85 +233,92 @@ public StakeHolderValueMap Deserialize(ref MessagePackReader reader, MessagePack valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeHolderValueMap.Category.Add(reader.ReadBytes().ToGuid()); + stakeHolderValueMap.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeHolderValueMap.Definition.Add(reader.ReadBytes().ToGuid()); + stakeHolderValueMap.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeHolderValueMap.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + stakeHolderValueMap.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeHolderValueMap.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + stakeHolderValueMap.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeHolderValueMap.Goal.Add(reader.ReadBytes().ToGuid()); + stakeHolderValueMap.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeHolderValueMap.HyperLink.Add(reader.ReadBytes().ToGuid()); + stakeHolderValueMap.Goal.Add(reader.ReadBytes().ToGuid()); } break; case 9: - stakeHolderValueMap.ModifiedOn = reader.ReadDateTime(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + stakeHolderValueMap.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 10: - stakeHolderValueMap.Name = reader.ReadString(); + stakeHolderValueMap.ModifiedOn = reader.ReadDateTime(); break; case 11: + stakeHolderValueMap.Name = reader.ReadString(); + break; + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.Requirement.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.Settings.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 14: stakeHolderValueMap.ShortName = reader.ReadString(); break; - case 14: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.StakeholderValue.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.ValueGroup.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 17: stakeHolderValueMap.ThingPreference = reader.ReadString(); break; - case 17: + case 18: if (reader.TryReadNil()) { stakeHolderValueMap.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapSettingsMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapSettingsMessagePackFormatter.cs index fe54ef8f9..276922752 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapSettingsMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapSettingsMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs index 85739bd35..3287748cb 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, Stakeholder stakeholder, Mes throw new ArgumentNullException(nameof(stakeholder), "The Stakeholder may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(stakeholder.Iid.ToByteArray()); writer.Write(stakeholder.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, Stakeholder stakeholder, Mes { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(stakeholder.Attachment.Count); + foreach (var identifier in stakeholder.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(stakeholder.Category.Count); foreach (var identifier in stakeholder.Category.OrderBy(x => x, guidComparer)) { @@ -203,57 +209,64 @@ public Stakeholder Deserialize(ref MessagePackReader reader, MessagePackSerializ valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholder.Category.Add(reader.ReadBytes().ToGuid()); + stakeholder.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholder.Definition.Add(reader.ReadBytes().ToGuid()); + stakeholder.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholder.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + stakeholder.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholder.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + stakeholder.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholder.HyperLink.Add(reader.ReadBytes().ToGuid()); + stakeholder.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; case 8: - stakeholder.ModifiedOn = reader.ReadDateTime(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + stakeholder.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 9: - stakeholder.Name = reader.ReadString(); + stakeholder.ModifiedOn = reader.ReadDateTime(); break; case 10: - stakeholder.ShortName = reader.ReadString(); + stakeholder.Name = reader.ReadString(); break; case 11: + stakeholder.ShortName = reader.ReadString(); + break; + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholder.StakeholderValue.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: stakeholder.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { stakeholder.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs index 8de0b0313..d2bcc0a9f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,16 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, StakeholderValue stakeholder throw new ArgumentNullException(nameof(stakeholderValue), "The StakeholderValue may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(stakeholderValue.Iid.ToByteArray()); writer.Write(stakeholderValue.RevisionNumber); @@ -106,6 +107,11 @@ public void Serialize(ref MessagePackWriter writer, StakeholderValue stakeholder { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(stakeholderValue.Attachment.Count); + foreach (var identifier in stakeholderValue.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(stakeholderValue.Category.Count); foreach (var identifier in stakeholderValue.Category.OrderBy(x => x, guidComparer)) { @@ -197,50 +203,57 @@ public StakeholderValue Deserialize(ref MessagePackReader reader, MessagePackSer valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholderValue.Category.Add(reader.ReadBytes().ToGuid()); + stakeholderValue.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholderValue.Definition.Add(reader.ReadBytes().ToGuid()); + stakeholderValue.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholderValue.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + stakeholderValue.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholderValue.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + stakeholderValue.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - stakeholderValue.HyperLink.Add(reader.ReadBytes().ToGuid()); + stakeholderValue.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; case 8: - stakeholderValue.ModifiedOn = reader.ReadDateTime(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + stakeholderValue.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 9: - stakeholderValue.Name = reader.ReadString(); + stakeholderValue.ModifiedOn = reader.ReadDateTime(); break; case 10: - stakeholderValue.ShortName = reader.ReadString(); + stakeholderValue.Name = reader.ReadString(); break; case 11: - stakeholderValue.ThingPreference = reader.ReadString(); + stakeholderValue.ShortName = reader.ReadString(); break; case 12: + stakeholderValue.ThingPreference = reader.ReadString(); + break; + case 13: if (reader.TryReadNil()) { stakeholderValue.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TelephoneNumberMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TelephoneNumberMessagePackFormatter.cs index b42f12dd4..aa43c2d5e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TelephoneNumberMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TelephoneNumberMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs index 988166cdd..d8996b101 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,16 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | definition | Guid | 0..* | 1.0.0 | - | 4 | hyperLink | Guid | 0..* | 1.0.0 | - | 5 | isDeprecated | bool | 1..1 | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, Term term, MessagePackSerial throw new ArgumentNullException(nameof(term), "The Term may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(term.Iid.ToByteArray()); writer.Write(term.RevisionNumber); @@ -106,6 +107,11 @@ public void Serialize(ref MessagePackWriter writer, Term term, MessagePackSerial { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(term.Attachment.Count); + foreach (var identifier in term.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(term.Definition.Count); foreach (var identifier in term.Definition.OrderBy(x => x, guidComparer)) { @@ -193,46 +199,53 @@ public Term Deserialize(ref MessagePackReader reader, MessagePackSerializerOptio valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - term.Definition.Add(reader.ReadBytes().ToGuid()); + term.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - term.HyperLink.Add(reader.ReadBytes().ToGuid()); + term.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 5: - term.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + term.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 6: - term.Name = reader.ReadString(); + term.IsDeprecated = reader.ReadBoolean(); break; case 7: - term.ShortName = reader.ReadString(); + term.Name = reader.ReadString(); break; case 8: + term.ShortName = reader.ReadString(); + break; + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { term.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { term.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: term.ModifiedOn = reader.ReadDateTime(); break; - case 11: + case 12: term.ThingPreference = reader.ReadString(); break; - case 12: + case 13: if (reader.TryReadNil()) { term.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs index 21e5ec3c2..0791266f1 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, TextParameterType textParame throw new ArgumentNullException(nameof(textParameterType), "The TextParameterType may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(textParameterType.Iid.ToByteArray()); writer.Write(textParameterType.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, TextParameterType textParame { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(textParameterType.Attachment.Count); + foreach (var identifier in textParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(textParameterType.Category.Count); foreach (var identifier in textParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -201,56 +207,63 @@ public TextParameterType Deserialize(ref MessagePackReader reader, MessagePackSe valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - textParameterType.Category.Add(reader.ReadBytes().ToGuid()); + textParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - textParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + textParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - textParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + textParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - textParameterType.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + textParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - textParameterType.Name = reader.ReadString(); + textParameterType.IsDeprecated = reader.ReadBoolean(); break; case 8: - textParameterType.ShortName = reader.ReadString(); + textParameterType.Name = reader.ReadString(); break; case 9: - textParameterType.Symbol = reader.ReadString(); + textParameterType.ShortName = reader.ReadString(); break; case 10: + textParameterType.Symbol = reader.ReadString(); + break; + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { textParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { textParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: textParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: textParameterType.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { textParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextualNoteMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextualNoteMessagePackFormatter.cs index 4a7ed3a6e..9c9c9123e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextualNoteMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextualNoteMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs index adbacde49..79d14511a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,18 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | category | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | symbol | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, TimeOfDayParameterType timeO throw new ArgumentNullException(nameof(timeOfDayParameterType), "The TimeOfDayParameterType may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(timeOfDayParameterType.Iid.ToByteArray()); writer.Write(timeOfDayParameterType.RevisionNumber); @@ -108,6 +109,11 @@ public void Serialize(ref MessagePackWriter writer, TimeOfDayParameterType timeO { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(timeOfDayParameterType.Attachment.Count); + foreach (var identifier in timeOfDayParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(timeOfDayParameterType.Category.Count); foreach (var identifier in timeOfDayParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -201,56 +207,63 @@ public TimeOfDayParameterType Deserialize(ref MessagePackReader reader, MessageP valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - timeOfDayParameterType.Category.Add(reader.ReadBytes().ToGuid()); + timeOfDayParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - timeOfDayParameterType.Definition.Add(reader.ReadBytes().ToGuid()); + timeOfDayParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - timeOfDayParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + timeOfDayParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: - timeOfDayParameterType.IsDeprecated = reader.ReadBoolean(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + timeOfDayParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 7: - timeOfDayParameterType.Name = reader.ReadString(); + timeOfDayParameterType.IsDeprecated = reader.ReadBoolean(); break; case 8: - timeOfDayParameterType.ShortName = reader.ReadString(); + timeOfDayParameterType.Name = reader.ReadString(); break; case 9: - timeOfDayParameterType.Symbol = reader.ReadString(); + timeOfDayParameterType.ShortName = reader.ReadString(); break; case 10: + timeOfDayParameterType.Symbol = reader.ReadString(); + break; + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { timeOfDayParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { timeOfDayParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 13: timeOfDayParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 14: timeOfDayParameterType.ThingPreference = reader.ReadString(); break; - case 14: + case 15: if (reader.TryReadNil()) { timeOfDayParameterType.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitFactorMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitFactorMessagePackFormatter.cs index 48c83cb46..96b8800b3 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitFactorMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitFactorMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs index 3cd083bed..06f772447 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,17 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | conversionFactor | string | 1..1 | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.0.0 | + | 4 | conversionFactor | string | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -97,7 +98,7 @@ public void Serialize(ref MessagePackWriter writer, UnitPrefix unitPrefix, Messa throw new ArgumentNullException(nameof(unitPrefix), "The UnitPrefix may not be null"); } - writer.WriteArrayHeader(14); + writer.WriteArrayHeader(15); writer.Write(unitPrefix.Iid.ToByteArray()); writer.Write(unitPrefix.RevisionNumber); @@ -107,6 +108,11 @@ public void Serialize(ref MessagePackWriter writer, UnitPrefix unitPrefix, Messa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(unitPrefix.Attachment.Count); + foreach (var identifier in unitPrefix.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Write(unitPrefix.ConversionFactor); writer.WriteArrayHeader(unitPrefix.Definition.Count); foreach (var identifier in unitPrefix.Definition.OrderBy(x => x, guidComparer)) @@ -192,52 +198,59 @@ public UnitPrefix Deserialize(ref MessagePackReader reader, MessagePackSerialize } break; case 3: - unitPrefix.ConversionFactor = reader.ReadString(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + unitPrefix.Attachment.Add(reader.ReadBytes().ToGuid()); + } break; case 4: + unitPrefix.ConversionFactor = reader.ReadString(); + break; + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 7: unitPrefix.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 8: unitPrefix.Name = reader.ReadString(); break; - case 8: + case 9: unitPrefix.ShortName = reader.ReadString(); break; - case 9: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 12: unitPrefix.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 13: unitPrefix.ThingPreference = reader.ReadString(); break; - case 13: + case 14: if (reader.TryReadNil()) { unitPrefix.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserPreferenceMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserPreferenceMessagePackFormatter.cs index 10ddc8dc8..7fd1d3a45 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserPreferenceMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserPreferenceMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserRuleVerificationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserRuleVerificationMessagePackFormatter.cs index 432dcf603..a2a1fbb55 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserRuleVerificationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UserRuleVerificationMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs index 8a0336b85..ddd018e3b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -34,16 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | category | Guid | 0..* | 1.1.0 | - | 4 | definition | Guid | 0..* | 1.1.0 | - | 5 | excludedDomain | Guid | 0..* | 1.1.0 | - | 6 | excludedPerson | Guid | 0..* | 1.1.0 | - | 7 | hyperLink | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | shortName | string | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | attachment | Guid | 0..* | 1.1.0 | + | 4 | category | Guid | 0..* | 1.1.0 | + | 5 | definition | Guid | 0..* | 1.1.0 | + | 6 | excludedDomain | Guid | 0..* | 1.1.0 | + | 7 | excludedPerson | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | shortName | string | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, ValueGroup valueGroup, Messa throw new ArgumentNullException(nameof(valueGroup), "The ValueGroup may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(valueGroup.Iid.ToByteArray()); writer.Write(valueGroup.RevisionNumber); @@ -106,6 +107,11 @@ public void Serialize(ref MessagePackWriter writer, ValueGroup valueGroup, Messa { writer.Write(identifier.ToByteArray()); } + writer.WriteArrayHeader(valueGroup.Attachment.Count); + foreach (var identifier in valueGroup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(valueGroup.Category.Count); foreach (var identifier in valueGroup.Category.OrderBy(x => x, guidComparer)) { @@ -197,50 +203,57 @@ public ValueGroup Deserialize(ref MessagePackReader reader, MessagePackSerialize valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - valueGroup.Category.Add(reader.ReadBytes().ToGuid()); + valueGroup.Attachment.Add(reader.ReadBytes().ToGuid()); } break; case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - valueGroup.Definition.Add(reader.ReadBytes().ToGuid()); + valueGroup.Category.Add(reader.ReadBytes().ToGuid()); } break; case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - valueGroup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); + valueGroup.Definition.Add(reader.ReadBytes().ToGuid()); } break; case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - valueGroup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); + valueGroup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { - valueGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); + valueGroup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; case 8: - valueGroup.ModifiedOn = reader.ReadDateTime(); + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + valueGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); + } break; case 9: - valueGroup.Name = reader.ReadString(); + valueGroup.ModifiedOn = reader.ReadDateTime(); break; case 10: - valueGroup.ShortName = reader.ReadString(); + valueGroup.Name = reader.ReadString(); break; case 11: - valueGroup.ThingPreference = reader.ReadString(); + valueGroup.ShortName = reader.ReadString(); break; case 12: + valueGroup.ThingPreference = reader.ReadString(); + break; + case 13: if (reader.TryReadNil()) { valueGroup.Actor = null; diff --git a/CDP4MessagePackSerializer/AutoGenPayload/Payload.cs b/CDP4MessagePackSerializer/AutoGenPayload/Payload.cs index 2825edf28..462ef3ad2 100644 --- a/CDP4MessagePackSerializer/AutoGenPayload/Payload.cs +++ b/CDP4MessagePackSerializer/AutoGenPayload/Payload.cs @@ -2,8 +2,8 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, -// Nathanael Smiechowski, Antoine Théate, Omar Elabiary +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -178,6 +178,13 @@ | 144 | LogEntryChangelogItem | 1.2.0 | | 145 | OrganizationalParticipant | 1.2.0 | | 146 | SampledFunctionParameterType | 1.2.0 | + | 147 | ArchitectureDiagram | 1.4.0 | + | 148 | ArchitectureElement | 1.4.0 | + | 149 | Attachment | 1.4.0 | + | 150 | Behavior | 1.4.0 | + | 151 | BehavioralParameter | 1.4.0 | + | 152 | DiagramFrame | 1.4.0 | + | 153 | DiagramPort | 1.4.0 | * ------------------------------------------- | ------- */ namespace CDP4MessagePackSerializer @@ -187,8 +194,6 @@ namespace CDP4MessagePackSerializer using CDP4Common.DTO; - using MessagePack; - /// /// The acts as envelope around the classes and is used as /// construct to transport the objects using MessagePack @@ -929,6 +934,41 @@ internal class Payload /// Gets or sets the list of . /// internal List SampledFunctionParameterType { get; set; } = new List(); + + /// + /// Gets or sets the list of . + /// + internal List ArchitectureDiagram { get; set; } = new List(); + + /// + /// Gets or sets the list of . + /// + internal List ArchitectureElement { get; set; } = new List(); + + /// + /// Gets or sets the list of . + /// + internal List Attachment { get; set; } = new List(); + + /// + /// Gets or sets the list of . + /// + internal List Behavior { get; set; } = new List(); + + /// + /// Gets or sets the list of . + /// + internal List BehavioralParameter { get; set; } = new List(); + + /// + /// Gets or sets the list of . + /// + internal List DiagramFrame { get; set; } = new List(); + + /// + /// Gets or sets the list of . + /// + internal List DiagramPort { get; set; } = new List(); } } diff --git a/CDP4MessagePackSerializer/AutoGenPayload/PayloadFactory.cs b/CDP4MessagePackSerializer/AutoGenPayload/PayloadFactory.cs index 21f1fa96a..78631a0f6 100644 --- a/CDP4MessagePackSerializer/AutoGenPayload/PayloadFactory.cs +++ b/CDP4MessagePackSerializer/AutoGenPayload/PayloadFactory.cs @@ -2,8 +2,8 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, -// Nathanael Smiechowski, Antoine Théate, Omar Elabiary +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -66,6 +66,149 @@ internal static Payload ToPayload(this IEnumerable things) { switch (thing) { + + + case ArchitectureDiagram architectureDiagram: + payload.ArchitectureDiagram.Add(architectureDiagram); + break; + case ArchitectureElement architectureElement: + payload.ArchitectureElement.Add(architectureElement); + break; + case Attachment attachment: + payload.Attachment.Add(attachment); + break; + case Behavior behavior: + payload.Behavior.Add(behavior); + break; + case BehavioralParameter behavioralParameter: + payload.BehavioralParameter.Add(behavioralParameter); + break; + case DiagramFrame diagramFrame: + payload.DiagramFrame.Add(diagramFrame); + break; + case DiagramPort diagramPort: + payload.DiagramPort.Add(diagramPort); + break; + case DependentParameterTypeAssignment dependentParameterTypeAssignment: + payload.DependentParameterTypeAssignment.Add(dependentParameterTypeAssignment); + break; + case IndependentParameterTypeAssignment independentParameterTypeAssignment: + payload.IndependentParameterTypeAssignment.Add(independentParameterTypeAssignment); + break; + case LogEntryChangelogItem logEntryChangelogItem: + payload.LogEntryChangelogItem.Add(logEntryChangelogItem); + break; + case OrganizationalParticipant organizationalParticipant: + payload.OrganizationalParticipant.Add(organizationalParticipant); + break; + case SampledFunctionParameterType sampledFunctionParameterType: + payload.SampledFunctionParameterType.Add(sampledFunctionParameterType); + break; + case ActionItem actionItem: + payload.ActionItem.Add(actionItem); + break; + case Approval approval: + payload.Approval.Add(approval); + break; + case BinaryNote binaryNote: + payload.BinaryNote.Add(binaryNote); + break; + case Book book: + payload.Book.Add(book); + break; + case Bounds bounds: + payload.Bounds.Add(bounds); + break; + case ChangeProposal changeProposal: + payload.ChangeProposal.Add(changeProposal); + break; + case ChangeRequest changeRequest: + payload.ChangeRequest.Add(changeRequest); + break; + case ContractChangeNotice contractChangeNotice: + payload.ContractChangeNotice.Add(contractChangeNotice); + break; + case DiagramCanvas diagramCanvas: + payload.DiagramCanvas.Add(diagramCanvas); + break; + case DiagramEdge diagramEdge: + payload.DiagramEdge.Add(diagramEdge); + break; + case DiagramObject diagramObject: + payload.DiagramObject.Add(diagramObject); + break; + case EngineeringModelDataDiscussionItem engineeringModelDataDiscussionItem: + payload.EngineeringModelDataDiscussionItem.Add(engineeringModelDataDiscussionItem); + break; + case EngineeringModelDataNote engineeringModelDataNote: + payload.EngineeringModelDataNote.Add(engineeringModelDataNote); + break; + case Goal goal: + payload.Goal.Add(goal); + break; + case ModellingThingReference modellingThingReference: + payload.ModellingThingReference.Add(modellingThingReference); + break; + case OwnedStyle ownedStyle: + payload.OwnedStyle.Add(ownedStyle); + break; + case Page page: + payload.Page.Add(page); + break; + case Point point: + payload.Point.Add(point); + break; + case RelationshipParameterValue relationshipParameterValue: + payload.RelationshipParameterValue.Add(relationshipParameterValue); + break; + case RequestForDeviation requestForDeviation: + payload.RequestForDeviation.Add(requestForDeviation); + break; + case RequestForWaiver requestForWaiver: + payload.RequestForWaiver.Add(requestForWaiver); + break; + case RequirementsContainerParameterValue requirementsContainerParameterValue: + payload.RequirementsContainerParameterValue.Add(requirementsContainerParameterValue); + break; + case ReviewItemDiscrepancy reviewItemDiscrepancy: + payload.ReviewItemDiscrepancy.Add(reviewItemDiscrepancy); + break; + case Section section: + payload.Section.Add(section); + break; + case SharedStyle sharedStyle: + payload.SharedStyle.Add(sharedStyle); + break; + case SiteDirectoryDataAnnotation siteDirectoryDataAnnotation: + payload.SiteDirectoryDataAnnotation.Add(siteDirectoryDataAnnotation); + break; + case SiteDirectoryDataDiscussionItem siteDirectoryDataDiscussionItem: + payload.SiteDirectoryDataDiscussionItem.Add(siteDirectoryDataDiscussionItem); + break; + case SiteDirectoryThingReference siteDirectoryThingReference: + payload.SiteDirectoryThingReference.Add(siteDirectoryThingReference); + break; + case Solution solution: + payload.Solution.Add(solution); + break; + case Stakeholder stakeholder: + payload.Stakeholder.Add(stakeholder); + break; + case StakeholderValue stakeholderValue: + payload.StakeholderValue.Add(stakeholderValue); + break; + case StakeHolderValueMap stakeHolderValueMap: + payload.StakeHolderValueMap.Add(stakeHolderValueMap); + break; + case StakeHolderValueMapSettings stakeHolderValueMapSettings: + payload.StakeHolderValueMapSettings.Add(stakeHolderValueMapSettings); + break; + case TextualNote textualNote: + payload.TextualNote.Add(textualNote); + break; + case ValueGroup valueGroup: + payload.ValueGroup.Add(valueGroup); + break; case ActualFiniteState actualFiniteState: payload.ActualFiniteState.Add(actualFiniteState); break; @@ -384,126 +527,6 @@ internal static Payload ToPayload(this IEnumerable things) case UserRuleVerification userRuleVerification: payload.UserRuleVerification.Add(userRuleVerification); break; - case ActionItem actionItem: - payload.ActionItem.Add(actionItem); - break; - case Approval approval: - payload.Approval.Add(approval); - break; - case BinaryNote binaryNote: - payload.BinaryNote.Add(binaryNote); - break; - case Book book: - payload.Book.Add(book); - break; - case Bounds bounds: - payload.Bounds.Add(bounds); - break; - case ChangeProposal changeProposal: - payload.ChangeProposal.Add(changeProposal); - break; - case ChangeRequest changeRequest: - payload.ChangeRequest.Add(changeRequest); - break; - case ContractChangeNotice contractChangeNotice: - payload.ContractChangeNotice.Add(contractChangeNotice); - break; - case DiagramCanvas diagramCanvas: - payload.DiagramCanvas.Add(diagramCanvas); - break; - case DiagramEdge diagramEdge: - payload.DiagramEdge.Add(diagramEdge); - break; - case DiagramObject diagramObject: - payload.DiagramObject.Add(diagramObject); - break; - case EngineeringModelDataDiscussionItem engineeringModelDataDiscussionItem: - payload.EngineeringModelDataDiscussionItem.Add(engineeringModelDataDiscussionItem); - break; - case EngineeringModelDataNote engineeringModelDataNote: - payload.EngineeringModelDataNote.Add(engineeringModelDataNote); - break; - case Goal goal: - payload.Goal.Add(goal); - break; - case ModellingThingReference modellingThingReference: - payload.ModellingThingReference.Add(modellingThingReference); - break; - case OwnedStyle ownedStyle: - payload.OwnedStyle.Add(ownedStyle); - break; - case Page page: - payload.Page.Add(page); - break; - case Point point: - payload.Point.Add(point); - break; - case RelationshipParameterValue relationshipParameterValue: - payload.RelationshipParameterValue.Add(relationshipParameterValue); - break; - case RequestForDeviation requestForDeviation: - payload.RequestForDeviation.Add(requestForDeviation); - break; - case RequestForWaiver requestForWaiver: - payload.RequestForWaiver.Add(requestForWaiver); - break; - case RequirementsContainerParameterValue requirementsContainerParameterValue: - payload.RequirementsContainerParameterValue.Add(requirementsContainerParameterValue); - break; - case ReviewItemDiscrepancy reviewItemDiscrepancy: - payload.ReviewItemDiscrepancy.Add(reviewItemDiscrepancy); - break; - case Section section: - payload.Section.Add(section); - break; - case SharedStyle sharedStyle: - payload.SharedStyle.Add(sharedStyle); - break; - case SiteDirectoryDataAnnotation siteDirectoryDataAnnotation: - payload.SiteDirectoryDataAnnotation.Add(siteDirectoryDataAnnotation); - break; - case SiteDirectoryDataDiscussionItem siteDirectoryDataDiscussionItem: - payload.SiteDirectoryDataDiscussionItem.Add(siteDirectoryDataDiscussionItem); - break; - case SiteDirectoryThingReference siteDirectoryThingReference: - payload.SiteDirectoryThingReference.Add(siteDirectoryThingReference); - break; - case Solution solution: - payload.Solution.Add(solution); - break; - case Stakeholder stakeholder: - payload.Stakeholder.Add(stakeholder); - break; - case StakeholderValue stakeholderValue: - payload.StakeholderValue.Add(stakeholderValue); - break; - case StakeHolderValueMap stakeHolderValueMap: - payload.StakeHolderValueMap.Add(stakeHolderValueMap); - break; - case StakeHolderValueMapSettings stakeHolderValueMapSettings: - payload.StakeHolderValueMapSettings.Add(stakeHolderValueMapSettings); - break; - case TextualNote textualNote: - payload.TextualNote.Add(textualNote); - break; - case ValueGroup valueGroup: - payload.ValueGroup.Add(valueGroup); - break; - case DependentParameterTypeAssignment dependentParameterTypeAssignment: - payload.DependentParameterTypeAssignment.Add(dependentParameterTypeAssignment); - break; - case IndependentParameterTypeAssignment independentParameterTypeAssignment: - payload.IndependentParameterTypeAssignment.Add(independentParameterTypeAssignment); - break; - case LogEntryChangelogItem logEntryChangelogItem: - payload.LogEntryChangelogItem.Add(logEntryChangelogItem); - break; - case OrganizationalParticipant organizationalParticipant: - payload.OrganizationalParticipant.Add(organizationalParticipant); - break; - case SampledFunctionParameterType sampledFunctionParameterType: - payload.SampledFunctionParameterType.Add(sampledFunctionParameterType); - break; } } @@ -674,6 +697,13 @@ internal static IEnumerable ToThings(this Payload payload) result.AddRange(payload.LogEntryChangelogItem); result.AddRange(payload.OrganizationalParticipant); result.AddRange(payload.SampledFunctionParameterType); + result.AddRange(payload.ArchitectureDiagram); + result.AddRange(payload.ArchitectureElement); + result.AddRange(payload.Attachment); + result.AddRange(payload.Behavior); + result.AddRange(payload.BehavioralParameter); + result.AddRange(payload.DiagramFrame); + result.AddRange(payload.DiagramPort); return result; } diff --git a/CDP4MessagePackSerializer/AutoGenPayload/PayloadMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenPayload/PayloadMessagePackFormatter.cs index 5127788bb..a4eaff6a4 100644 --- a/CDP4MessagePackSerializer/AutoGenPayload/PayloadMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenPayload/PayloadMessagePackFormatter.cs @@ -2,8 +2,8 @@ // // Copyright (c) 2015-2023 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft, -// Nathanael Smiechowski, Antoine Théate, Omar Elabiary +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -178,6 +178,13 @@ | 144 | LogEntryChangelogItem | 1.2.0 | | 145 | OrganizationalParticipant | 1.2.0 | | 146 | SampledFunctionParameterType | 1.2.0 | + | 147 | ArchitectureDiagram | 1.4.0 | + | 148 | ArchitectureElement | 1.4.0 | + | 149 | Attachment | 1.4.0 | + | 150 | Behavior | 1.4.0 | + | 151 | BehavioralParameter | 1.4.0 | + | 152 | DiagramFrame | 1.4.0 | + | 153 | DiagramPort | 1.4.0 | * ------------------------------------------- | ------- */ namespace CDP4MessagePackSerializer @@ -216,7 +223,7 @@ public void Serialize(ref MessagePackWriter writer, Payload payload, MessagePack var formatterResolver = options.Resolver; - writer.WriteArrayHeader(147); + writer.WriteArrayHeader(154); writer.Write(payload.Created); @@ -373,8 +380,7 @@ public void Serialize(ref MessagePackWriter writer, Payload payload, MessagePack writer.WriteArrayHeader(payload.ElementDefinition.Count); foreach (var elementDefinition in payload.ElementDefinition) { - var x = formatterResolver.GetFormatterWithVerify(); - x.Serialize(ref writer, elementDefinition, options); + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, elementDefinition, options); } writer.WriteArrayHeader(payload.ElementUsage.Count); @@ -1097,6 +1103,48 @@ public void Serialize(ref MessagePackWriter writer, Payload payload, MessagePack formatterResolver.GetFormatterWithVerify().Serialize(ref writer, sampledFunctionParameterType, options); } + writer.WriteArrayHeader(payload.ArchitectureDiagram.Count); + foreach (var architectureDiagram in payload.ArchitectureDiagram) + { + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, architectureDiagram, options); + } + + writer.WriteArrayHeader(payload.ArchitectureElement.Count); + foreach (var architectureElement in payload.ArchitectureElement) + { + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, architectureElement, options); + } + + writer.WriteArrayHeader(payload.Attachment.Count); + foreach (var attachment in payload.Attachment) + { + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, attachment, options); + } + + writer.WriteArrayHeader(payload.Behavior.Count); + foreach (var behavior in payload.Behavior) + { + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, behavior, options); + } + + writer.WriteArrayHeader(payload.BehavioralParameter.Count); + foreach (var behavioralParameter in payload.BehavioralParameter) + { + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, behavioralParameter, options); + } + + writer.WriteArrayHeader(payload.DiagramFrame.Count); + foreach (var diagramFrame in payload.DiagramFrame) + { + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, diagramFrame, options); + } + + writer.WriteArrayHeader(payload.DiagramPort.Count); + foreach (var diagramPort in payload.DiagramPort) + { + formatterResolver.GetFormatterWithVerify().Serialize(ref writer, diagramPort, options); + } + writer.Flush(); } @@ -2305,6 +2353,62 @@ public Payload Deserialize(ref MessagePackReader reader, MessagePackSerializerOp payload.SampledFunctionParameterType.Add(sampledFunctionParameterType); } break; + case 147: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + var architectureDiagram = formatterResolver.GetFormatterWithVerify().Deserialize(ref reader, options); + payload.ArchitectureDiagram.Add(architectureDiagram); + } + break; + case 148: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + var architectureElement = formatterResolver.GetFormatterWithVerify().Deserialize(ref reader, options); + payload.ArchitectureElement.Add(architectureElement); + } + break; + case 149: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + var attachment = formatterResolver.GetFormatterWithVerify().Deserialize(ref reader, options); + payload.Attachment.Add(attachment); + } + break; + case 150: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + var behavior = formatterResolver.GetFormatterWithVerify().Deserialize(ref reader, options); + payload.Behavior.Add(behavior); + } + break; + case 151: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + var behavioralParameter = formatterResolver.GetFormatterWithVerify().Deserialize(ref reader, options); + payload.BehavioralParameter.Add(behavioralParameter); + } + break; + case 152: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + var diagramFrame = formatterResolver.GetFormatterWithVerify().Deserialize(ref reader, options); + payload.DiagramFrame.Add(diagramFrame); + } + break; + case 153: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + var diagramPort = formatterResolver.GetFormatterWithVerify().Deserialize(ref reader, options); + payload.DiagramPort.Add(diagramPort); + } + break; } } diff --git a/CDP4MessagePackSerializer/AutoGenThingResolverGetFormatterHelper/ThingResolverGetFormatterHelper.cs b/CDP4MessagePackSerializer/AutoGenThingResolverGetFormatterHelper/ThingResolverGetFormatterHelper.cs index b3691561b..f48fd6371 100644 --- a/CDP4MessagePackSerializer/AutoGenThingResolverGetFormatterHelper/ThingResolverGetFormatterHelper.cs +++ b/CDP4MessagePackSerializer/AutoGenThingResolverGetFormatterHelper/ThingResolverGetFormatterHelper.cs @@ -3,7 +3,7 @@ // Copyright (c) 2015-2023 RHEA System S.A. // // Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elabiary, Jaime Bernar +// Antoine Théate, Omar Elebiary, Jaime Bernar // // This file is part of CDP4-COMET SDK Community Edition // This is an auto-generated class. Any manual changes to this file will be overwritten! @@ -191,6 +191,13 @@ internal static class ThingResolverGetFormatterHelper {typeof(LogEntryChangelogItem), new LogEntryChangelogItemMessagePackFormatter()}, {typeof(OrganizationalParticipant), new OrganizationalParticipantMessagePackFormatter()}, {typeof(SampledFunctionParameterType), new SampledFunctionParameterTypeMessagePackFormatter()}, + {typeof(ArchitectureDiagram), new ArchitectureDiagramMessagePackFormatter()}, + {typeof(ArchitectureElement), new ArchitectureElementMessagePackFormatter()}, + {typeof(Attachment), new AttachmentMessagePackFormatter()}, + {typeof(Behavior), new BehaviorMessagePackFormatter()}, + {typeof(BehavioralParameter), new BehavioralParameterMessagePackFormatter()}, + {typeof(DiagramFrame), new DiagramFrameMessagePackFormatter()}, + {typeof(DiagramPort), new DiagramPortMessagePackFormatter()}, }; /// From 3ca794de3953278b6f9075b82b6f95856401310a Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Fri, 19 Jan 2024 11:05:51 +0100 Subject: [PATCH 02/10] Add GCD manual file changes, fix bugs and unit tests --- .../Helpers/TypeResolverTestFixture.cs | 8 +- .../MetaInfo/MetadataProviderTestFixture.cs | 9 +- .../Poco/ParticipantRoleTestFixture.cs | 8 +- .../Helpers/TypeResolverTestFixture.cs | 10 +- .../MetaInfo/MetadataProviderTestFixture.cs | 11 +- .../Poco/ParticipantRoleTestFixture.cs | 10 +- CDP4Common/AutoGenDto/DefinedThing.cs | 1 + CDP4Common/AutoGenPoco/DefinedThing.cs | 1 + CDP4Common/Dto/Attachment.cs | 37 ++++++ CDP4Common/Dto/FileRevision.cs | 37 ++++++ CDP4Common/Dto/ILocalFile.cs | 42 ++++++ CDP4Common/Poco/Attachment.cs | 72 ++++++++++ CDP4Common/Poco/ILocalFile.cs | 8 +- CDP4Dal/DAL/Dal.cs | 12 +- CDP4Dal/Operations/ThingTransaction.cs | 10 +- CDP4Dal/Session.cs | 11 +- .../JsonFileDalTestFixture.cs | 8 +- .../JsonFileDalTestFixture.cs | 6 +- CDP4JsonFileDal/JsonFileDal.cs | 4 +- .../TestData/jsonTestSample.json | 6 +- .../TestData/jsonTestSample.json | 6 +- .../ArrayParameterTypeMessagePackFormatter.cs | 88 ++++++------- ...aryRelationshipRuleMessagePackFormatter.cs | 84 ++++++------ ...ooleanParameterTypeMessagePackFormatter.cs | 72 +++++----- .../CategoryMessagePackFormatter.cs | 76 +++++------ ...mpoundParameterTypeMessagePackFormatter.cs | 80 +++++------ .../ConstantMessagePackFormatter.cs | 80 +++++------ .../CyclicRatioScaleMessagePackFormatter.cs | 108 +++++++-------- .../DateParameterTypeMessagePackFormatter.cs | 72 +++++----- ...teTimeParameterTypeMessagePackFormatter.cs | 72 +++++----- .../DecompositionRuleMessagePackFormatter.cs | 80 +++++------ ...DerivedQuantityKindMessagePackFormatter.cs | 88 ++++++------- .../DerivedUnitMessagePackFormatter.cs | 68 +++++----- ...ainOfExpertiseGroupMessagePackFormatter.cs | 68 +++++----- .../DomainOfExpertiseMessagePackFormatter.cs | 68 +++++----- .../ElementDefinitionMessagePackFormatter.cs | 88 ++++++------- .../ElementUsageMessagePackFormatter.cs | 84 ++++++------ ...gineeringModelSetupMessagePackFormatter.cs | 96 +++++++------- ...rationParameterTypeMessagePackFormatter.cs | 76 +++++------ ...tionValueDefinitionMessagePackFormatter.cs | 60 ++++----- .../FileTypeMessagePackFormatter.cs | 72 +++++----- .../GlossaryMessagePackFormatter.cs | 72 +++++----- .../GoalMessagePackFormatter.cs | 64 ++++----- .../IntervalScaleMessagePackFormatter.cs | 104 +++++++-------- ...inearConversionUnitMessagePackFormatter.cs | 72 +++++----- .../LogarithmicScaleMessagePackFormatter.cs | 124 +++++++++--------- ...eferenceDataLibraryMessagePackFormatter.cs | 112 ++++++++-------- ...ltiRelationshipRuleMessagePackFormatter.cs | 80 +++++------ .../OptionMessagePackFormatter.cs | 68 +++++----- .../OrdinalScaleMessagePackFormatter.cs | 108 +++++++-------- ...terizedCategoryRuleMessagePackFormatter.cs | 72 +++++----- .../ParticipantRoleMessagePackFormatter.cs | 68 +++++----- .../PersonRoleMessagePackFormatter.cs | 68 +++++----- ...ibleFiniteStateListMessagePackFormatter.cs | 76 +++++------ ...PossibleFiniteStateMessagePackFormatter.cs | 60 ++++----- .../PrefixedUnitMessagePackFormatter.cs | 64 ++++----- .../RatioScaleMessagePackFormatter.cs | 104 +++++++-------- .../ReferenceSourceMessagePackFormatter.cs | 96 +++++++------- .../ReferencerRuleMessagePackFormatter.cs | 80 +++++------ .../RequirementMessagePackFormatter.cs | 84 ++++++------ .../RequirementsGroupMessagePackFormatter.cs | 76 +++++------ ...ementsSpecificationMessagePackFormatter.cs | 84 ++++++------ ...uleVerificationListMessagePackFormatter.cs | 68 +++++----- ...nctionParameterTypeMessagePackFormatter.cs | 76 +++++------ ...caleValueDefinitionMessagePackFormatter.cs | 64 ++++----- .../SimpleQuantityKindMessagePackFormatter.cs | 84 ++++++------ .../SimpleUnitMessagePackFormatter.cs | 64 ++++----- ...eferenceDataLibraryMessagePackFormatter.cs | 116 ++++++++-------- ...ializedQuantityKindMessagePackFormatter.cs | 88 ++++++------- ...StakeHolderValueMapMessagePackFormatter.cs | 84 ++++++------ .../StakeholderMessagePackFormatter.cs | 68 +++++----- .../StakeholderValueMessagePackFormatter.cs | 64 ++++----- .../TermMessagePackFormatter.cs | 64 ++++----- .../TextParameterTypeMessagePackFormatter.cs | 72 +++++----- ...eOfDayParameterTypeMessagePackFormatter.cs | 72 +++++----- .../UnitPrefixMessagePackFormatter.cs | 68 +++++----- .../ValueGroupMessagePackFormatter.cs | 64 ++++----- .../CdpServicesDalTestFixture.cs | 2 +- .../CdpServicesDalTestFixture.cs | 2 +- CDP4ServicesDal/CdpServicesDal.cs | 10 +- CDP4ServicesDal/Headers.cs | 10 +- 81 files changed, 2485 insertions(+), 2288 deletions(-) create mode 100644 CDP4Common/Dto/Attachment.cs create mode 100644 CDP4Common/Dto/FileRevision.cs create mode 100644 CDP4Common/Dto/ILocalFile.cs create mode 100644 CDP4Common/Poco/Attachment.cs diff --git a/CDP4Common.NetCore.Tests/Helpers/TypeResolverTestFixture.cs b/CDP4Common.NetCore.Tests/Helpers/TypeResolverTestFixture.cs index 67b3099ba..566ebc085 100644 --- a/CDP4Common.NetCore.Tests/Helpers/TypeResolverTestFixture.cs +++ b/CDP4Common.NetCore.Tests/Helpers/TypeResolverTestFixture.cs @@ -4,14 +4,14 @@ // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -49,7 +49,7 @@ public void Verify_that_GetDerivedTypes_returns_expected_results() var subtypes = TypeResolver.GetDerivedTypes(subjectType, assembly).ToList(); - Assert.That(subtypes.Count, Is.EqualTo(67)); + Assert.That(subtypes.Count, Is.EqualTo(68)); } [Test] diff --git a/CDP4Common.NetCore.Tests/MetaInfo/MetadataProviderTestFixture.cs b/CDP4Common.NetCore.Tests/MetaInfo/MetadataProviderTestFixture.cs index 2a830da38..068f331fb 100644 --- a/CDP4Common.NetCore.Tests/MetaInfo/MetadataProviderTestFixture.cs +++ b/CDP4Common.NetCore.Tests/MetaInfo/MetadataProviderTestFixture.cs @@ -4,14 +4,14 @@ // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -48,6 +48,7 @@ public void verify_that_correct_versions_are_returned() new Version(1, 1, 0), new Version(1, 2, 0), new Version(1, 3, 0), + new Version(1, 4, 0), }; var versions = new MetaDataProvider().QuerySupportedModelVersions(); @@ -58,7 +59,7 @@ public void verify_that_correct_versions_are_returned() [Test] public void verify_that_correct_max_version_is_returned() { - var expected = new Version(1, 3, 0); + var expected = new Version(1, 4, 0); var version = new MetaDataProvider().GetMaxSupportedModelVersion(); diff --git a/CDP4Common.NetCore.Tests/Poco/ParticipantRoleTestFixture.cs b/CDP4Common.NetCore.Tests/Poco/ParticipantRoleTestFixture.cs index 582d51771..589118219 100644 --- a/CDP4Common.NetCore.Tests/Poco/ParticipantRoleTestFixture.cs +++ b/CDP4Common.NetCore.Tests/Poco/ParticipantRoleTestFixture.cs @@ -4,14 +4,14 @@ // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -38,7 +38,7 @@ internal class ParticipantRoleTestFixture public void VerifyPopulateParticipantPermissions() { var participantRole = new ParticipantRole(); - Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(48)); + Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(49)); Assert.IsTrue(participantRole.ParticipantPermission.All(x => x.AccessRight == ParticipantAccessRightKind.NONE)); } } diff --git a/CDP4Common.Tests/Helpers/TypeResolverTestFixture.cs b/CDP4Common.Tests/Helpers/TypeResolverTestFixture.cs index 5eb119f4a..fc064cdfa 100644 --- a/CDP4Common.Tests/Helpers/TypeResolverTestFixture.cs +++ b/CDP4Common.Tests/Helpers/TypeResolverTestFixture.cs @@ -2,16 +2,16 @@ // // Copyright (c) 2015-2024 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou +// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -47,7 +47,7 @@ public void Verify_that_GetDerivedTypes_returns_expected_results() var subtypes = TypeResolver.GetDerivedTypes(subjectType, assembly).ToList(); - Assert.That(subtypes.Count, Is.EqualTo(67)); + Assert.That(subtypes.Count, Is.EqualTo(68)); } [Test] diff --git a/CDP4Common.Tests/MetaInfo/MetadataProviderTestFixture.cs b/CDP4Common.Tests/MetaInfo/MetadataProviderTestFixture.cs index 4249911d3..3a8a98194 100644 --- a/CDP4Common.Tests/MetaInfo/MetadataProviderTestFixture.cs +++ b/CDP4Common.Tests/MetaInfo/MetadataProviderTestFixture.cs @@ -2,16 +2,16 @@ // // Copyright (c) 2015-2024 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou +// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDKK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -48,6 +48,7 @@ public void verify_that_correct_versions_are_extracted_drom_dto_classes() new Version(1, 1, 0), new Version(1, 2, 0), new Version(1, 3, 0), + new Version(1, 4, 0), }; var versions = new MetaDataProvider().QuerySupportedModelVersions(); @@ -58,7 +59,7 @@ public void verify_that_correct_versions_are_extracted_drom_dto_classes() [Test] public void verify_that_correct_max_version_is_returned() { - var expected = new Version(1, 3, 0); + var expected = new Version(1, 4, 0); var version = new MetaDataProvider().GetMaxSupportedModelVersion(); diff --git a/CDP4Common.Tests/Poco/ParticipantRoleTestFixture.cs b/CDP4Common.Tests/Poco/ParticipantRoleTestFixture.cs index 582d51771..e7980c3ff 100644 --- a/CDP4Common.Tests/Poco/ParticipantRoleTestFixture.cs +++ b/CDP4Common.Tests/Poco/ParticipantRoleTestFixture.cs @@ -2,16 +2,16 @@ // // Copyright (c) 2015-2024 RHEA System S.A. // -// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou +// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft // -// This file is part of CDP4-COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -38,7 +38,7 @@ internal class ParticipantRoleTestFixture public void VerifyPopulateParticipantPermissions() { var participantRole = new ParticipantRole(); - Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(48)); + Assert.That(participantRole.ParticipantPermission.Count, Is.EqualTo(49)); Assert.IsTrue(participantRole.ParticipantPermission.All(x => x.AccessRight == ParticipantAccessRightKind.NONE)); } } diff --git a/CDP4Common/AutoGenDto/DefinedThing.cs b/CDP4Common/AutoGenDto/DefinedThing.cs index 83e2d7dd7..62688866d 100644 --- a/CDP4Common/AutoGenDto/DefinedThing.cs +++ b/CDP4Common/AutoGenDto/DefinedThing.cs @@ -88,6 +88,7 @@ protected DefinedThing(Guid iid, int rev) : base(iid: iid, rev: rev) /// /// Gets or sets the unique identifiers of the contained Attachment instances. /// + [CDPVersion("1.4.0")] [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] [DataMember] public virtual List Attachment { get; set; } diff --git a/CDP4Common/AutoGenPoco/DefinedThing.cs b/CDP4Common/AutoGenPoco/DefinedThing.cs index f98993366..0d0dbcdea 100644 --- a/CDP4Common/AutoGenPoco/DefinedThing.cs +++ b/CDP4Common/AutoGenPoco/DefinedThing.cs @@ -107,6 +107,7 @@ protected DefinedThing(Guid iid, ConcurrentDictionary /// Reference to one or more Attachments that are linked to this DefinedThing /// + [CDPVersion("1.4.0")] [UmlInformation(aggregation: AggregationKind.Composite, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public virtual ContainerList Attachment { get; protected set; } diff --git a/CDP4Common/Dto/Attachment.cs b/CDP4Common/Dto/Attachment.cs new file mode 100644 index 000000000..47d68043d --- /dev/null +++ b/CDP4Common/Dto/Attachment.cs @@ -0,0 +1,37 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2024 RHEA System S.A. +// +// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft +// +// This file is part of CDP4-COMET SDK Community Edition +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace CDP4Common.DTO +{ + /// + /// The extended part of the auto-generated + /// + public partial class Attachment : ILocalFile + { + /// + /// Contains the path of the file in the context of the User's PC + /// + public string LocalPath { get; set; } + } +} diff --git a/CDP4Common/Dto/FileRevision.cs b/CDP4Common/Dto/FileRevision.cs new file mode 100644 index 000000000..3cb88b0f2 --- /dev/null +++ b/CDP4Common/Dto/FileRevision.cs @@ -0,0 +1,37 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2024 RHEA System S.A. +// +// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft +// +// This file is part of CDP4-COMET SDK Community Edition +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace CDP4Common.DTO +{ + /// + /// The extended part of the auto-generated + /// + public partial class FileRevision : ILocalFile + { + /// + /// Contains the path of the file in the context of the User's PC + /// + public string LocalPath { get; set; } + } +} diff --git a/CDP4Common/Dto/ILocalFile.cs b/CDP4Common/Dto/ILocalFile.cs new file mode 100644 index 000000000..8457b957d --- /dev/null +++ b/CDP4Common/Dto/ILocalFile.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2024 RHEA System S.A. +// +// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft +// +// This file is part of CDP4-COMET SDK Community Edition +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace CDP4Common.DTO +{ + /// + /// An interface for DTO classes containing data that's needed in a file upload scenario. + /// Typically used for objects. + /// + public interface ILocalFile + { + /// + /// Gets or sets the ContentHash. + /// + /// + /// SHA-1 hash code of the content (byte stream) of this object + /// Note: The SHA-1 cryptographic hash is described in http://en.wikipedia.org/wiki/SHA-1. It provides a unique hash to the file content of the file and was selected for future compatibility with a GIT (http://git-scm.com/) version controlled file store. Implementations of E-TM-10-25 need to provide a way to associate a SHA-1 hash to the content of a file. Whether or not the content of two FileRevisions differs can then be determined by just comparing the SHA-1 hashes without the need for having access to the actual file content itself. + /// + string ContentHash { get; } + } +} \ No newline at end of file diff --git a/CDP4Common/Poco/Attachment.cs b/CDP4Common/Poco/Attachment.cs new file mode 100644 index 000000000..38a52e4f7 --- /dev/null +++ b/CDP4Common/Poco/Attachment.cs @@ -0,0 +1,72 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2024 RHEA System S.A. +// +// Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft +// +// This file is part of CDP4-COMET SDK Community Edition +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace CDP4Common.EngineeringModelData +{ + using System; + using System.Linq; + using System.Text; + + /// + /// Extended part for the auto-generated + /// + public partial class Attachment : ILocalFile + { + /// + /// Gets or sets the Path. + /// + /// + /// full path name including folder path and type extension(s) + /// Note: The path is derived to be the concatenation of the path of the containingFolder (if any) followed by a forward slash and the name of this FileRevision and then a dot separated concatenation of the extensions of the associated FileTypes. This yields a path that is similar to that of a "file://" URL starting from the containing FileStore. + /// + /// + /// The Path property is a derived property; when the getter and setter are invoked an InvalidOperationException will be thrown. + /// + public string Path => this.GetDerivedPath(); + + /// + /// Returns the derived value + /// + /// The value + private string GetDerivedPath() + { + var path = new StringBuilder(); + + path.Append(this.FileName); + + foreach (var fileType in this.FileType.Where(x => !string.IsNullOrWhiteSpace(x.Extension))) + { + path.Append("."); + path.Append(fileType.Extension); + } + + return path.ToString(); + } + + /// + /// Gets or sets the (temporary) LocalPath of the file + /// + public string LocalPath { get; set; } + } +} diff --git a/CDP4Common/Poco/ILocalFile.cs b/CDP4Common/Poco/ILocalFile.cs index 9b45a290e..e56e60353 100644 --- a/CDP4Common/Poco/ILocalFile.cs +++ b/CDP4Common/Poco/ILocalFile.cs @@ -1,17 +1,17 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2020 RHEA System S.A. +// Copyright (c) 2015-2024 RHEA System S.A. // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft // -// This file is part of CDP4-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. diff --git a/CDP4Dal/DAL/Dal.cs b/CDP4Dal/DAL/Dal.cs index 7a913a6cd..a22f39f5b 100644 --- a/CDP4Dal/DAL/Dal.cs +++ b/CDP4Dal/DAL/Dal.cs @@ -1,17 +1,17 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2021 RHEA System S.A. +// Copyright (c) 2015-2024 RHEA System S.A. // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -472,9 +472,7 @@ protected void OperationContainerFileVerification(OperationContainer operationCo foreach (var operation in operationContainer.Operations) { - var fileRevision = operation.ModifiedThing as CDP4Common.DTO.FileRevision; - - if (fileRevision != null && fileRevision.ContentHash == hash) + if (operation.ModifiedThing is ILocalFile fileRevision && fileRevision.ContentHash == hash) { contentFoundInAnOperation = true; break; diff --git a/CDP4Dal/Operations/ThingTransaction.cs b/CDP4Dal/Operations/ThingTransaction.cs index 2a12d04c0..1766c9624 100644 --- a/CDP4Dal/Operations/ThingTransaction.cs +++ b/CDP4Dal/Operations/ThingTransaction.cs @@ -1,17 +1,17 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2020 RHEA System S.A. +// Copyright (c) 2015-2024 RHEA System S.A. // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexander van Delft // -// This file is part of CDP4-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details.copy @@ -625,7 +625,7 @@ public string[] GetFiles() { var files = new List(); - foreach (var thing in this.AddedThing.OfType().Union(this.UpdatedThing.OfType()).Where(x => x.LocalPath != null)) + foreach (var thing in this.AddedThing.OfType().Where(x => x.LocalPath != null)) { if (string.IsNullOrWhiteSpace(thing.ContentHash)) { diff --git a/CDP4Dal/Session.cs b/CDP4Dal/Session.cs index 2e39dc3f1..d2f0d605c 100644 --- a/CDP4Dal/Session.cs +++ b/CDP4Dal/Session.cs @@ -851,9 +851,12 @@ private static bool CanCancel(CancellationTokenSource cancellationTokenSource) /// public bool CanCancel() { - foreach (var cancellationTokenSourceKey in this.cancellationTokenSourceDictionary.Keys) + foreach (var cancellationTokenSourceKey in this.cancellationTokenSourceDictionary.Keys.ToList()) { - this.cancellationTokenSourceDictionary.TryGetValue(cancellationTokenSourceKey, out var cancellationTokenSource); + if (!this.cancellationTokenSourceDictionary.TryGetValue(cancellationTokenSourceKey, out var cancellationTokenSource)) + { + continue; + } if (!CanCancel(cancellationTokenSource)) { @@ -871,9 +874,9 @@ public bool CanCancel() /// public void Cancel() { - foreach (var cancellationTokenSourceKey in this.cancellationTokenSourceDictionary.Keys) + foreach (var cancellationTokenSourceKey in this.cancellationTokenSourceDictionary.Keys.ToList()) { - if (this.cancellationTokenSourceDictionary.TryRemove(cancellationTokenSourceKey, out var cancellationTokenSource)) + if (this.cancellationTokenSourceDictionary.TryGetValue(cancellationTokenSourceKey, out var cancellationTokenSource)) { if (CanCancel(cancellationTokenSource)) { diff --git a/CDP4JsonFileDal.NetCore.Tests/JsonFileDalTestFixture.cs b/CDP4JsonFileDal.NetCore.Tests/JsonFileDalTestFixture.cs index da59d33a8..24522083b 100644 --- a/CDP4JsonFileDal.NetCore.Tests/JsonFileDalTestFixture.cs +++ b/CDP4JsonFileDal.NetCore.Tests/JsonFileDalTestFixture.cs @@ -10,7 +10,7 @@ // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. -// +// // The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -422,7 +422,7 @@ public void VerifyCtorWithVersion() this.dal = new JsonFileDal(null); Assert.That(this.dal.DalVersion.Major, Is.EqualTo(1)); - Assert.That(this.dal.DalVersion.Minor, Is.EqualTo(3)); + Assert.That(this.dal.DalVersion.Minor, Is.EqualTo(4)); Assert.That(this.dal.DalVersion.Build, Is.EqualTo(0)); } @@ -564,7 +564,7 @@ public async Task VerifyWriteOfIncompatibleVersionFile() [Test] public async Task VerifyWriteOfCompatibleVersionFile() { - this.dal = new JsonFileDal(new Version("1.3.0")) + this.dal = new JsonFileDal(new Version("1.4.0")) { Session = this.session.Object }; @@ -580,7 +580,7 @@ public async Task VerifyWriteOfCompatibleVersionFile() Assert.DoesNotThrowAsync(async () => await Task.Run(() => this.dal.Write(operationContainers))); //Part 2 read newly created file - var newDal = new JsonFileDal(new Version("1.3.0")); + var newDal = new JsonFileDal(new Version("1.4.0")); var newSession = new Session(newDal, zipCredentials, this.messageBus); await newSession.Open(); diff --git a/CDP4JsonFileDal.Tests/JsonFileDalTestFixture.cs b/CDP4JsonFileDal.Tests/JsonFileDalTestFixture.cs index 2dbb757b0..27ad05186 100644 --- a/CDP4JsonFileDal.Tests/JsonFileDalTestFixture.cs +++ b/CDP4JsonFileDal.Tests/JsonFileDalTestFixture.cs @@ -422,7 +422,7 @@ public void VerifyCtorWithVersion() this.dal = new JsonFileDal(null); Assert.That(this.dal.DalVersion.Major, Is.EqualTo(1)); - Assert.That(this.dal.DalVersion.Minor, Is.EqualTo(3)); + Assert.That(this.dal.DalVersion.Minor, Is.EqualTo(4)); Assert.That(this.dal.DalVersion.Build, Is.EqualTo(0)); } @@ -562,7 +562,7 @@ public async Task VerifyWriteOfIncompatibleVersionFile() [Test] public async Task VerifyWriteOfCompatibleVersionFile() { - this.dal = new JsonFileDal(new Version("1.3.0")) + this.dal = new JsonFileDal(new Version("1.4.0")) { Session = this.session.Object }; @@ -578,7 +578,7 @@ public async Task VerifyWriteOfCompatibleVersionFile() Assert.DoesNotThrowAsync(async () => await Task.Run(() => this.dal.Write(operationContainers))); //Part 2 read newly created file - var newDal = new JsonFileDal(new Version("1.3.0")); + var newDal = new JsonFileDal(new Version("1.4.0")); var newSession = new Session(newDal, zipCredentials, this.messageBus); await newSession.Open(); diff --git a/CDP4JsonFileDal/JsonFileDal.cs b/CDP4JsonFileDal/JsonFileDal.cs index 9b6baaa76..84d236aca 100644 --- a/CDP4JsonFileDal/JsonFileDal.cs +++ b/CDP4JsonFileDal/JsonFileDal.cs @@ -1,6 +1,6 @@ // ------------------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2023 RHEA System S.A. +// Copyright (c) 2015-2024 RHEA System S.A. // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexandervan Delft, Nathanael Smiechowski, Ahmed Abulwafa Ahmed // @@ -65,7 +65,7 @@ namespace CDP4JsonFileDal /// /// Provides the Data Access Layer for file based import/export /// - [DalExport("JSON File Based", "A file based JSON Data Access Layer", "1.3.0", DalType.File)] + [DalExport("JSON File Based", "A file based JSON Data Access Layer", "1.4.0", DalType.File)] #if NETFRAMEWORK [PartCreationPolicy(CreationPolicy.NonShared)] #endif diff --git a/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json b/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json index 7b8ad8b3c..60092cc8c 100644 --- a/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json +++ b/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json @@ -14,7 +14,8 @@ "name": "test", "shortName": "test1", "alias": [], - "definition": [], + "attachment": [], + "definition": [], "hyperLink": [ "049abaf8-d550-44b1-b32b-c74b333f5d73" ], "category": [], "owner": "049abaf8-d550-44b1-3333-c74b358f5d73", @@ -37,7 +38,8 @@ "name": "array", "shortName": "array1", "alias": [], - "definition": [], + "attachment": [], + "definition": [], "hyperLink": [], "isDeprecated": false, "category": [ "049abaf8-d550-44b1-b32b-c74ab58f5d73", "0cdabaf8-d550-44b1-b32b-c74b358f5d73" ], diff --git a/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json b/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json index 7b8ad8b3c..60092cc8c 100644 --- a/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json +++ b/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json @@ -14,7 +14,8 @@ "name": "test", "shortName": "test1", "alias": [], - "definition": [], + "attachment": [], + "definition": [], "hyperLink": [ "049abaf8-d550-44b1-b32b-c74b333f5d73" ], "category": [], "owner": "049abaf8-d550-44b1-3333-c74b358f5d73", @@ -37,7 +38,8 @@ "name": "array", "shortName": "array1", "alias": [], - "definition": [], + "attachment": [], + "definition": [], "hyperLink": [], "isDeprecated": false, "category": [ "049abaf8-d550-44b1-b32b-c74ab58f5d73", "0cdabaf8-d550-44b1-b32b-c74b358f5d73" ], diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs index d643c5fab..0f1e42726 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArrayParameterTypeMessagePackFormatter.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | component | Guid | 1..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | dimension | int | 1..* | 1.0.0 | - | 8 | hyperLink | Guid | 0..* | 1.0.0 | - | 9 | isDeprecated | bool | 1..1 | 1.0.0 | - | 10 | isFinalized | bool | 1..1 | 1.0.0 | - | 11 | isTensor | bool | 1..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | symbol | string | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | component | Guid | 1..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | dimension | int | 1..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | isFinalized | bool | 1..1 | 1.0.0 | + | 10 | isTensor | bool | 1..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -113,11 +113,6 @@ public void Serialize(ref MessagePackWriter writer, ArrayParameterType arrayPara { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(arrayParameterType.Attachment.Count); - foreach (var identifier in arrayParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(arrayParameterType.Category.Count); foreach (var identifier in arrayParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -173,6 +168,11 @@ public void Serialize(ref MessagePackWriter writer, ArrayParameterType arrayPara { writer.WriteNil(); } + writer.WriteArrayHeader(arrayParameterType.Attachment.Count); + foreach (var identifier in arrayParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -224,20 +224,13 @@ public ArrayParameterType Deserialize(ref MessagePackReader reader, MessagePackS } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - arrayParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -248,14 +241,14 @@ public ArrayParameterType Deserialize(ref MessagePackReader reader, MessagePackS arrayParameterType.Component.Add(orderedItem); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -266,52 +259,52 @@ public ArrayParameterType Deserialize(ref MessagePackReader reader, MessagePackS arrayParameterType.Dimension.Add(orderedItem); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: arrayParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 10: + case 9: arrayParameterType.IsFinalized = reader.ReadBoolean(); break; - case 11: + case 10: arrayParameterType.IsTensor = reader.ReadBoolean(); break; - case 12: + case 11: arrayParameterType.Name = reader.ReadString(); break; - case 13: + case 12: arrayParameterType.ShortName = reader.ReadString(); break; - case 14: + case 13: arrayParameterType.Symbol = reader.ReadString(); break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { arrayParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 16: arrayParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 18: + case 17: arrayParameterType.ThingPreference = reader.ReadString(); break; - case 19: + case 18: if (reader.TryReadNil()) { arrayParameterType.Actor = null; @@ -321,6 +314,13 @@ public ArrayParameterType Deserialize(ref MessagePackReader reader, MessagePackS arrayParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 19: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + arrayParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs index 502880092..b8218b0b7 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BinaryRelationshipRuleMessagePackFormatter.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | forwardRelationshipName | string | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | inverseRelationshipName | string | 1..1 | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | sourceCategory | Guid | 1..1 | 1.0.0 | - | 13 | targetCategory | Guid | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | forwardRelationshipName | string | 1..1 | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | inverseRelationshipName | string | 1..1 | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | sourceCategory | Guid | 1..1 | 1.0.0 | + | 12 | targetCategory | Guid | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -112,11 +112,6 @@ public void Serialize(ref MessagePackWriter writer, BinaryRelationshipRule binar { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(binaryRelationshipRule.Attachment.Count); - foreach (var identifier in binaryRelationshipRule.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(binaryRelationshipRule.Definition.Count); foreach (var identifier in binaryRelationshipRule.Definition.OrderBy(x => x, guidComparer)) { @@ -155,6 +150,11 @@ public void Serialize(ref MessagePackWriter writer, BinaryRelationshipRule binar { writer.WriteNil(); } + writer.WriteArrayHeader(binaryRelationshipRule.Attachment.Count); + foreach (var identifier in binaryRelationshipRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -206,71 +206,64 @@ public BinaryRelationshipRule Deserialize(ref MessagePackReader reader, MessageP } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - binaryRelationshipRule.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { binaryRelationshipRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: binaryRelationshipRule.ForwardRelationshipName = reader.ReadString(); break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { binaryRelationshipRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: binaryRelationshipRule.InverseRelationshipName = reader.ReadString(); break; - case 8: + case 7: binaryRelationshipRule.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: binaryRelationshipRule.Name = reader.ReadString(); break; - case 10: + case 9: binaryRelationshipRule.RelationshipCategory = reader.ReadBytes().ToGuid(); break; - case 11: + case 10: binaryRelationshipRule.ShortName = reader.ReadString(); break; - case 12: + case 11: binaryRelationshipRule.SourceCategory = reader.ReadBytes().ToGuid(); break; - case 13: + case 12: binaryRelationshipRule.TargetCategory = reader.ReadBytes().ToGuid(); break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { binaryRelationshipRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { binaryRelationshipRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: binaryRelationshipRule.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 16: binaryRelationshipRule.ThingPreference = reader.ReadString(); break; - case 18: + case 17: if (reader.TryReadNil()) { binaryRelationshipRule.Actor = null; @@ -280,6 +273,13 @@ public BinaryRelationshipRule Deserialize(ref MessagePackReader reader, MessageP binaryRelationshipRule.Actor = reader.ReadBytes().ToGuid(); } break; + case 18: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + binaryRelationshipRule.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs index 4846d8cb9..66f922755 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/BooleanParameterTypeMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, BooleanParameterType boolean { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(booleanParameterType.Attachment.Count); - foreach (var identifier in booleanParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(booleanParameterType.Category.Count); foreach (var identifier in booleanParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, BooleanParameterType boolean { writer.WriteNil(); } + writer.WriteArrayHeader(booleanParameterType.Attachment.Count); + foreach (var identifier in booleanParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,66 +204,59 @@ public BooleanParameterType Deserialize(ref MessagePackReader reader, MessagePac } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - booleanParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { booleanParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { booleanParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { booleanParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: booleanParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: booleanParameterType.Name = reader.ReadString(); break; - case 9: + case 8: booleanParameterType.ShortName = reader.ReadString(); break; - case 10: + case 9: booleanParameterType.Symbol = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { booleanParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { booleanParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: booleanParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: booleanParameterType.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { booleanParameterType.Actor = null; @@ -273,6 +266,13 @@ public BooleanParameterType Deserialize(ref MessagePackReader reader, MessagePac booleanParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + booleanParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs index 5216d061b..8d104333f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CategoryMessagePackFormatter.cs @@ -34,20 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isAbstract | bool | 1..1 | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | permissibleClass | ClassKind | 1..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | superCategory | Guid | 0..* | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isAbstract | bool | 1..1 | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | permissibleClass | ClassKind | 1..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | superCategory | Guid | 0..* | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | + | 16 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -110,11 +110,6 @@ public void Serialize(ref MessagePackWriter writer, Category category, MessagePa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(category.Attachment.Count); - foreach (var identifier in category.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(category.Definition.Count); foreach (var identifier in category.Definition.OrderBy(x => x, guidComparer)) { @@ -159,6 +154,11 @@ public void Serialize(ref MessagePackWriter writer, Category category, MessagePa { writer.WriteNil(); } + writer.WriteArrayHeader(category.Attachment.Count); + foreach (var identifier in category.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -210,36 +210,29 @@ public Category Deserialize(ref MessagePackReader reader, MessagePackSerializerO } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - category.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: category.IsAbstract = reader.ReadBoolean(); break; - case 7: + case 6: category.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: category.Name = reader.ReadString(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -247,37 +240,37 @@ public Category Deserialize(ref MessagePackReader reader, MessagePackSerializerO category.PermissibleClass.Add(@enum); } break; - case 10: + case 9: category.ShortName = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.SuperCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { category.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: category.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 14: category.ThingPreference = reader.ReadString(); break; - case 16: + case 15: if (reader.TryReadNil()) { category.Actor = null; @@ -287,6 +280,13 @@ public Category Deserialize(ref MessagePackReader reader, MessagePackSerializerO category.Actor = reader.ReadBytes().ToGuid(); } break; + case 16: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + category.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs index 7125ae67c..1c03b9b59 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CompoundParameterTypeMessagePackFormatter.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | component | Guid | 1..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | isFinalized | bool | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | symbol | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | component | Guid | 1..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | isFinalized | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | symbol | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -111,11 +111,6 @@ public void Serialize(ref MessagePackWriter writer, CompoundParameterType compou { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(compoundParameterType.Attachment.Count); - foreach (var identifier in compoundParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(compoundParameterType.Category.Count); foreach (var identifier in compoundParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -163,6 +158,11 @@ public void Serialize(ref MessagePackWriter writer, CompoundParameterType compou { writer.WriteNil(); } + writer.WriteArrayHeader(compoundParameterType.Attachment.Count); + foreach (var identifier in compoundParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -214,20 +214,13 @@ public CompoundParameterType Deserialize(ref MessagePackReader reader, MessagePa } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - compoundParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -238,56 +231,56 @@ public CompoundParameterType Deserialize(ref MessagePackReader reader, MessagePa compoundParameterType.Component.Add(orderedItem); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: compoundParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: compoundParameterType.IsFinalized = reader.ReadBoolean(); break; - case 10: + case 9: compoundParameterType.Name = reader.ReadString(); break; - case 11: + case 10: compoundParameterType.ShortName = reader.ReadString(); break; - case 12: + case 11: compoundParameterType.Symbol = reader.ReadString(); break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { compoundParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: compoundParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 15: compoundParameterType.ThingPreference = reader.ReadString(); break; - case 17: + case 16: if (reader.TryReadNil()) { compoundParameterType.Actor = null; @@ -297,6 +290,13 @@ public CompoundParameterType Deserialize(ref MessagePackReader reader, MessagePa compoundParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 17: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + compoundParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs index 1a004fd33..c137acc9f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ConstantMessagePackFormatter.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | parameterType | Guid | 1..1 | 1.0.0 | - | 10 | scale | Guid | 0..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | value | ValueArray | 1..* | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | parameterType | Guid | 1..1 | 1.0.0 | + | 9 | scale | Guid | 0..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | value | ValueArray | 1..* | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -111,11 +111,6 @@ public void Serialize(ref MessagePackWriter writer, Constant constant, MessagePa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(constant.Attachment.Count); - foreach (var identifier in constant.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(constant.Category.Count); foreach (var identifier in constant.Category.OrderBy(x => x, guidComparer)) { @@ -168,6 +163,11 @@ public void Serialize(ref MessagePackWriter writer, Constant constant, MessagePa { writer.WriteNil(); } + writer.WriteArrayHeader(constant.Attachment.Count); + foreach (var identifier in constant.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -219,43 +219,36 @@ public Constant Deserialize(ref MessagePackReader reader, MessagePackSerializerO } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - constant.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { constant.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { constant.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { constant.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: constant.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: constant.Name = reader.ReadString(); break; - case 9: + case 8: constant.ParameterType = reader.ReadBytes().ToGuid(); break; - case 10: + case 9: if (reader.TryReadNil()) { constant.Scale = null; @@ -265,10 +258,10 @@ public Constant Deserialize(ref MessagePackReader reader, MessagePackSerializerO constant.Scale = reader.ReadBytes().ToGuid(); } break; - case 11: + case 10: constant.ShortName = reader.ReadString(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); var constantValue = new List(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) @@ -277,27 +270,27 @@ public Constant Deserialize(ref MessagePackReader reader, MessagePackSerializerO } constant.Value = new ValueArray(constantValue); break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { constant.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { constant.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: constant.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 15: constant.ThingPreference = reader.ReadString(); break; - case 17: + case 16: if (reader.TryReadNil()) { constant.Actor = null; @@ -307,6 +300,13 @@ public Constant Deserialize(ref MessagePackReader reader, MessagePackSerializerO constant.Actor = reader.ReadBytes().ToGuid(); } break; + case 17: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + constant.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs index d048f221c..cfb5019fc 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/CyclicRatioScaleMessagePackFormatter.cs @@ -34,28 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | modulus | string | 1..1 | 1.0.0 | - | 13 | name | string | 1..1 | 1.0.0 | - | 14 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 15 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 16 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 17 | shortName | string | 1..1 | 1.0.0 | - | 18 | unit | Guid | 1..1 | 1.0.0 | - | 19 | valueDefinition | Guid | 0..* | 1.0.0 | - | 20 | excludedDomain | Guid | 0..* | 1.1.0 | - | 21 | excludedPerson | Guid | 0..* | 1.1.0 | - | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 23 | thingPreference | string | 0..1 | 1.2.0 | - | 24 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | modulus | string | 1..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | + | 24 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -118,11 +118,6 @@ public void Serialize(ref MessagePackWriter writer, CyclicRatioScale cyclicRatio { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(cyclicRatioScale.Attachment.Count); - foreach (var identifier in cyclicRatioScale.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(cyclicRatioScale.Definition.Count); foreach (var identifier in cyclicRatioScale.Definition.OrderBy(x => x, guidComparer)) { @@ -175,6 +170,11 @@ public void Serialize(ref MessagePackWriter writer, CyclicRatioScale cyclicRatio { writer.WriteNil(); } + writer.WriteArrayHeader(cyclicRatioScale.Attachment.Count); + foreach (var identifier in cyclicRatioScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -226,97 +226,90 @@ public CyclicRatioScale Deserialize(ref MessagePackReader reader, MessagePackSer } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - cyclicRatioScale.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: cyclicRatioScale.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: cyclicRatioScale.IsMaximumInclusive = reader.ReadBoolean(); break; - case 8: + case 7: cyclicRatioScale.IsMinimumInclusive = reader.ReadBoolean(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: cyclicRatioScale.MaximumPermissibleValue = reader.ReadString(); break; - case 11: + case 10: cyclicRatioScale.MinimumPermissibleValue = reader.ReadString(); break; - case 12: + case 11: cyclicRatioScale.Modulus = reader.ReadString(); break; - case 13: + case 12: cyclicRatioScale.Name = reader.ReadString(); break; - case 14: + case 13: cyclicRatioScale.NegativeValueConnotation = reader.ReadString(); break; - case 15: + case 14: cyclicRatioScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 16: + case 15: cyclicRatioScale.PositiveValueConnotation = reader.ReadString(); break; - case 17: + case 16: cyclicRatioScale.ShortName = reader.ReadString(); break; - case 18: + case 17: cyclicRatioScale.Unit = reader.ReadBytes().ToGuid(); break; - case 19: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { cyclicRatioScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 22: + case 21: cyclicRatioScale.ModifiedOn = reader.ReadDateTime(); break; - case 23: + case 22: cyclicRatioScale.ThingPreference = reader.ReadString(); break; - case 24: + case 23: if (reader.TryReadNil()) { cyclicRatioScale.Actor = null; @@ -326,6 +319,13 @@ public CyclicRatioScale Deserialize(ref MessagePackReader reader, MessagePackSer cyclicRatioScale.Actor = reader.ReadBytes().ToGuid(); } break; + case 24: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + cyclicRatioScale.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs index 5acee583a..99033298b 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateParameterTypeMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, DateParameterType dateParame { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(dateParameterType.Attachment.Count); - foreach (var identifier in dateParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(dateParameterType.Category.Count); foreach (var identifier in dateParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, DateParameterType dateParame { writer.WriteNil(); } + writer.WriteArrayHeader(dateParameterType.Attachment.Count); + foreach (var identifier in dateParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,66 +204,59 @@ public DateParameterType Deserialize(ref MessagePackReader reader, MessagePackSe } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - dateParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: dateParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: dateParameterType.Name = reader.ReadString(); break; - case 9: + case 8: dateParameterType.ShortName = reader.ReadString(); break; - case 10: + case 9: dateParameterType.Symbol = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: dateParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: dateParameterType.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { dateParameterType.Actor = null; @@ -273,6 +266,13 @@ public DateParameterType Deserialize(ref MessagePackReader reader, MessagePackSe dateParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + dateParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs index d1adf6c1c..316b7fedd 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DateTimeParameterTypeMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, DateTimeParameterType dateTi { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(dateTimeParameterType.Attachment.Count); - foreach (var identifier in dateTimeParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(dateTimeParameterType.Category.Count); foreach (var identifier in dateTimeParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, DateTimeParameterType dateTi { writer.WriteNil(); } + writer.WriteArrayHeader(dateTimeParameterType.Attachment.Count); + foreach (var identifier in dateTimeParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,66 +204,59 @@ public DateTimeParameterType Deserialize(ref MessagePackReader reader, MessagePa } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - dateTimeParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateTimeParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateTimeParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateTimeParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: dateTimeParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: dateTimeParameterType.Name = reader.ReadString(); break; - case 9: + case 8: dateTimeParameterType.ShortName = reader.ReadString(); break; - case 10: + case 9: dateTimeParameterType.Symbol = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateTimeParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { dateTimeParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: dateTimeParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: dateTimeParameterType.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { dateTimeParameterType.Actor = null; @@ -273,6 +266,13 @@ public DateTimeParameterType Deserialize(ref MessagePackReader reader, MessagePa dateTimeParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + dateTimeParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs index 09504e92f..467dfd92f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DecompositionRuleMessagePackFormatter.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | containedCategory | Guid | 1..* | 1.0.0 | - | 5 | containingCategory | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | maxContained | int | 0..1 | 1.0.0 | - | 10 | minContained | int | 1..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | containedCategory | Guid | 1..* | 1.0.0 | + | 4 | containingCategory | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | maxContained | int | 0..1 | 1.0.0 | + | 9 | minContained | int | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -111,11 +111,6 @@ public void Serialize(ref MessagePackWriter writer, DecompositionRule decomposit { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(decompositionRule.Attachment.Count); - foreach (var identifier in decompositionRule.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(decompositionRule.ContainedCategory.Count); foreach (var identifier in decompositionRule.ContainedCategory.OrderBy(x => x, guidComparer)) { @@ -164,6 +159,11 @@ public void Serialize(ref MessagePackWriter writer, DecompositionRule decomposit { writer.WriteNil(); } + writer.WriteArrayHeader(decompositionRule.Attachment.Count); + foreach (var identifier in decompositionRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -215,40 +215,33 @@ public DecompositionRule Deserialize(ref MessagePackReader reader, MessagePackSe } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - decompositionRule.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.ContainedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: decompositionRule.ContainingCategory = reader.ReadBytes().ToGuid(); break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: decompositionRule.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: if (reader.TryReadNil()) { decompositionRule.MaxContained = null; @@ -258,36 +251,36 @@ public DecompositionRule Deserialize(ref MessagePackReader reader, MessagePackSe decompositionRule.MaxContained = reader.ReadInt32(); } break; - case 10: + case 9: decompositionRule.MinContained = reader.ReadInt32(); break; - case 11: + case 10: decompositionRule.Name = reader.ReadString(); break; - case 12: + case 11: decompositionRule.ShortName = reader.ReadString(); break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { decompositionRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: decompositionRule.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 15: decompositionRule.ThingPreference = reader.ReadString(); break; - case 17: + case 16: if (reader.TryReadNil()) { decompositionRule.Actor = null; @@ -297,6 +290,13 @@ public DecompositionRule Deserialize(ref MessagePackReader reader, MessagePackSe decompositionRule.Actor = reader.ReadBytes().ToGuid(); } break; + case 17: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + decompositionRule.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs index da74ae8de..557503046 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedQuantityKindMessagePackFormatter.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultScale | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | possibleScale | Guid | 0..* | 1.0.0 | - | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 12 | quantityKindFactor | Guid | 1..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | symbol | string | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultScale | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | possibleScale | Guid | 0..* | 1.0.0 | + | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 11 | quantityKindFactor | Guid | 1..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -113,11 +113,6 @@ public void Serialize(ref MessagePackWriter writer, DerivedQuantityKind derivedQ { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(derivedQuantityKind.Attachment.Count); - foreach (var identifier in derivedQuantityKind.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(derivedQuantityKind.Category.Count); foreach (var identifier in derivedQuantityKind.Category.OrderBy(x => x, guidComparer)) { @@ -171,6 +166,11 @@ public void Serialize(ref MessagePackWriter writer, DerivedQuantityKind derivedQ { writer.WriteNil(); } + writer.WriteArrayHeader(derivedQuantityKind.Attachment.Count); + foreach (var identifier in derivedQuantityKind.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -222,53 +222,46 @@ public DerivedQuantityKind Deserialize(ref MessagePackReader reader, MessagePack } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - derivedQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: derivedQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: derivedQuantityKind.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: derivedQuantityKind.Name = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.PossibleScale.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: derivedQuantityKind.QuantityDimensionSymbol = reader.ReadString(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -279,33 +272,33 @@ public DerivedQuantityKind Deserialize(ref MessagePackReader reader, MessagePack derivedQuantityKind.QuantityKindFactor.Add(orderedItem); } break; - case 13: + case 12: derivedQuantityKind.ShortName = reader.ReadString(); break; - case 14: + case 13: derivedQuantityKind.Symbol = reader.ReadString(); break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedQuantityKind.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 16: derivedQuantityKind.ModifiedOn = reader.ReadDateTime(); break; - case 18: + case 17: derivedQuantityKind.ThingPreference = reader.ReadString(); break; - case 19: + case 18: if (reader.TryReadNil()) { derivedQuantityKind.Actor = null; @@ -315,6 +308,13 @@ public DerivedQuantityKind Deserialize(ref MessagePackReader reader, MessagePack derivedQuantityKind.Actor = reader.ReadBytes().ToGuid(); } break; + case 19: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + derivedQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs index 8771da85d..328390423 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DerivedUnitMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | unitFactor | Guid | 1..* | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | unitFactor | Guid | 1..* | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, DerivedUnit derivedUnit, Mes { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(derivedUnit.Attachment.Count); - foreach (var identifier in derivedUnit.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(derivedUnit.Definition.Count); foreach (var identifier in derivedUnit.Definition.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, DerivedUnit derivedUnit, Mes { writer.WriteNil(); } + writer.WriteArrayHeader(derivedUnit.Attachment.Count); + foreach (var identifier in derivedUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,36 +204,29 @@ public DerivedUnit Deserialize(ref MessagePackReader reader, MessagePackSerializ } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - derivedUnit.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: derivedUnit.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: derivedUnit.Name = reader.ReadString(); break; - case 8: + case 7: derivedUnit.ShortName = reader.ReadString(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -244,27 +237,27 @@ public DerivedUnit Deserialize(ref MessagePackReader reader, MessagePackSerializ derivedUnit.UnitFactor.Add(orderedItem); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { derivedUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: derivedUnit.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: derivedUnit.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { derivedUnit.Actor = null; @@ -274,6 +267,13 @@ public DerivedUnit Deserialize(ref MessagePackReader reader, MessagePackSerializ derivedUnit.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + derivedUnit.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs index b07bd2255..1de35851f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseGroupMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | domain | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | domain | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertiseGroup domai { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(domainOfExpertiseGroup.Attachment.Count); - foreach (var identifier in domainOfExpertiseGroup.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(domainOfExpertiseGroup.Definition.Count); foreach (var identifier in domainOfExpertiseGroup.Definition.OrderBy(x => x, guidComparer)) { @@ -151,6 +146,11 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertiseGroup domai { writer.WriteNil(); } + writer.WriteArrayHeader(domainOfExpertiseGroup.Attachment.Count); + foreach (var identifier in domainOfExpertiseGroup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -202,63 +202,56 @@ public DomainOfExpertiseGroup Deserialize(ref MessagePackReader reader, MessageP } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - domainOfExpertiseGroup.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertiseGroup.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertiseGroup.Domain.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertiseGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: domainOfExpertiseGroup.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: domainOfExpertiseGroup.Name = reader.ReadString(); break; - case 9: + case 8: domainOfExpertiseGroup.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertiseGroup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertiseGroup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: domainOfExpertiseGroup.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: domainOfExpertiseGroup.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { domainOfExpertiseGroup.Actor = null; @@ -268,6 +261,13 @@ public DomainOfExpertiseGroup Deserialize(ref MessagePackReader reader, MessageP domainOfExpertiseGroup.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + domainOfExpertiseGroup.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs index 226e06322..6ead69baa 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DomainOfExpertiseMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertise domainOfEx { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(domainOfExpertise.Attachment.Count); - foreach (var identifier in domainOfExpertise.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(domainOfExpertise.Category.Count); foreach (var identifier in domainOfExpertise.Category.OrderBy(x => x, guidComparer)) { @@ -151,6 +146,11 @@ public void Serialize(ref MessagePackWriter writer, DomainOfExpertise domainOfEx { writer.WriteNil(); } + writer.WriteArrayHeader(domainOfExpertise.Attachment.Count); + foreach (var identifier in domainOfExpertise.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -202,63 +202,56 @@ public DomainOfExpertise Deserialize(ref MessagePackReader reader, MessagePackSe } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - domainOfExpertise.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertise.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertise.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertise.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: domainOfExpertise.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: domainOfExpertise.Name = reader.ReadString(); break; - case 9: + case 8: domainOfExpertise.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertise.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { domainOfExpertise.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: domainOfExpertise.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: domainOfExpertise.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { domainOfExpertise.Actor = null; @@ -268,6 +261,13 @@ public DomainOfExpertise Deserialize(ref MessagePackReader reader, MessagePackSe domainOfExpertise.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + domainOfExpertise.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs index 289fd630b..f0b46cf5e 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementDefinitionMessagePackFormatter.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | containedElement | Guid | 0..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | parameter | Guid | 0..* | 1.0.0 | - | 11 | parameterGroup | Guid | 0..* | 1.0.0 | - | 12 | referencedElement | Guid | 0..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | containedElement | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | parameter | Guid | 0..* | 1.0.0 | + | 10 | parameterGroup | Guid | 0..* | 1.0.0 | + | 11 | referencedElement | Guid | 0..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | | 20 | behavior | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ @@ -114,11 +114,6 @@ public void Serialize(ref MessagePackWriter writer, ElementDefinition elementDef { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(elementDefinition.Attachment.Count); - foreach (var identifier in elementDefinition.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(elementDefinition.Category.Count); foreach (var identifier in elementDefinition.Category.OrderBy(x => x, guidComparer)) { @@ -182,6 +177,11 @@ public void Serialize(ref MessagePackWriter writer, ElementDefinition elementDef { writer.WriteNil(); } + writer.WriteArrayHeader(elementDefinition.Attachment.Count); + foreach (var identifier in elementDefinition.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.WriteArrayHeader(elementDefinition.Behavior.Count); foreach (var identifier in elementDefinition.Behavior.OrderBy(x => x, guidComparer)) { @@ -238,98 +238,91 @@ public ElementDefinition Deserialize(ref MessagePackReader reader, MessagePackSe } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - elementDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ContainedElement.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: elementDefinition.Name = reader.ReadString(); break; - case 9: + case 8: elementDefinition.Owner = reader.ReadBytes().ToGuid(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.Parameter.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ParameterGroup.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ReferencedElement.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: elementDefinition.ShortName = reader.ReadString(); break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: elementDefinition.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementDefinition.OrganizationalParticipant.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 17: elementDefinition.ThingPreference = reader.ReadString(); break; - case 19: + case 18: if (reader.TryReadNil()) { elementDefinition.Actor = null; @@ -339,6 +332,13 @@ public ElementDefinition Deserialize(ref MessagePackReader reader, MessagePackSe elementDefinition.Actor = reader.ReadBytes().ToGuid(); } break; + case 19: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + elementDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs index 667acf7eb..89595a984 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ElementUsageMessagePackFormatter.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | elementDefinition | Guid | 1..1 | 1.0.0 | - | 7 | excludeOption | Guid | 0..* | 1.0.0 | - | 8 | hyperLink | Guid | 0..* | 1.0.0 | - | 9 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | owner | Guid | 1..1 | 1.0.0 | - | 12 | parameterOverride | Guid | 0..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | elementDefinition | Guid | 1..1 | 1.0.0 | + | 6 | excludeOption | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | owner | Guid | 1..1 | 1.0.0 | + | 11 | parameterOverride | Guid | 0..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -112,11 +112,6 @@ public void Serialize(ref MessagePackWriter writer, ElementUsage elementUsage, M { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(elementUsage.Attachment.Count); - foreach (var identifier in elementUsage.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(elementUsage.Category.Count); foreach (var identifier in elementUsage.Category.OrderBy(x => x, guidComparer)) { @@ -167,6 +162,11 @@ public void Serialize(ref MessagePackWriter writer, ElementUsage elementUsage, M { writer.WriteNil(); } + writer.WriteArrayHeader(elementUsage.Attachment.Count); + foreach (var identifier in elementUsage.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -218,83 +218,76 @@ public ElementUsage Deserialize(ref MessagePackReader reader, MessagePackSeriali } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - elementUsage.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: elementUsage.ElementDefinition = reader.ReadBytes().ToGuid(); break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ExcludeOption.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: elementUsage.InterfaceEnd = (CDP4Common.EngineeringModelData.InterfaceEndKind)Enum.Parse(typeof(CDP4Common.EngineeringModelData.InterfaceEndKind), reader.ReadString(), true); break; - case 10: + case 9: elementUsage.Name = reader.ReadString(); break; - case 11: + case 10: elementUsage.Owner = reader.ReadBytes().ToGuid(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ParameterOverride.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: elementUsage.ShortName = reader.ReadString(); break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { elementUsage.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: elementUsage.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 16: elementUsage.ThingPreference = reader.ReadString(); break; - case 18: + case 17: if (reader.TryReadNil()) { elementUsage.Actor = null; @@ -304,6 +297,13 @@ public ElementUsage Deserialize(ref MessagePackReader reader, MessagePackSeriali elementUsage.Actor = reader.ReadBytes().ToGuid(); } break; + case 18: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + elementUsage.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs index d2199585a..ceea54b09 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs @@ -35,25 +35,25 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | activeDomain | Guid | 1..* | 1.0.0 | | 3 | alias | Guid | 0..* | 1.0.0 | - | 4 | attachment | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | engineeringModelIid | Guid | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | iterationSetup | Guid | 1..* | 1.0.0 | - | 9 | kind | EngineeringModelKind | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | participant | Guid | 1..* | 1.0.0 | - | 12 | requiredRdl | Guid | 1..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | - | 15 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | - | 16 | excludedDomain | Guid | 0..* | 1.1.0 | - | 17 | excludedPerson | Guid | 0..* | 1.1.0 | - | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 19 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | - | 20 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 21 | thingPreference | string | 0..1 | 1.2.0 | - | 22 | actor | Guid | 0..1 | 1.3.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | engineeringModelIid | Guid | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | iterationSetup | Guid | 1..* | 1.0.0 | + | 8 | kind | EngineeringModelKind | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | participant | Guid | 1..* | 1.0.0 | + | 11 | requiredRdl | Guid | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | + | 14 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | + | 19 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | + | 22 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -121,11 +121,6 @@ public void Serialize(ref MessagePackWriter writer, EngineeringModelSetup engine { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(engineeringModelSetup.Attachment.Count); - foreach (var identifier in engineeringModelSetup.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(engineeringModelSetup.Definition.Count); foreach (var identifier in engineeringModelSetup.Definition.OrderBy(x => x, guidComparer)) { @@ -197,6 +192,11 @@ public void Serialize(ref MessagePackWriter writer, EngineeringModelSetup engine { writer.WriteNil(); } + writer.WriteArrayHeader(engineeringModelSetup.Attachment.Count); + foreach (var identifier in engineeringModelSetup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -255,60 +255,53 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa } break; case 4: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - engineeringModelSetup.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: engineeringModelSetup.EngineeringModelIid = reader.ReadBytes().ToGuid(); break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.IterationSetup.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: engineeringModelSetup.Kind = (CDP4Common.SiteDirectoryData.EngineeringModelKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.EngineeringModelKind), reader.ReadString(), true); break; - case 10: + case 9: engineeringModelSetup.Name = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.Participant.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.RequiredRdl.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: engineeringModelSetup.ShortName = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { engineeringModelSetup.SourceEngineeringModelSetupIid = null; @@ -318,27 +311,27 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa engineeringModelSetup.SourceEngineeringModelSetupIid = reader.ReadBytes().ToGuid(); } break; - case 15: + case 14: engineeringModelSetup.StudyPhase = (CDP4Common.SiteDirectoryData.StudyPhaseKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.StudyPhaseKind), reader.ReadString(), true); break; - case 16: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 17: engineeringModelSetup.ModifiedOn = reader.ReadDateTime(); break; - case 19: + case 18: if (reader.TryReadNil()) { engineeringModelSetup.DefaultOrganizationalParticipant = null; @@ -348,17 +341,17 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa engineeringModelSetup.DefaultOrganizationalParticipant = reader.ReadBytes().ToGuid(); } break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { engineeringModelSetup.OrganizationalParticipant.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: engineeringModelSetup.ThingPreference = reader.ReadString(); break; - case 22: + case 21: if (reader.TryReadNil()) { engineeringModelSetup.Actor = null; @@ -368,6 +361,13 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa engineeringModelSetup.Actor = reader.ReadBytes().ToGuid(); } break; + case 22: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + engineeringModelSetup.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs index 8c729f6f9..a61a082e0 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationParameterTypeMessagePackFormatter.cs @@ -35,20 +35,20 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | | 3 | allowMultiSelect | bool | 1..1 | 1.0.0 | - | 4 | attachment | Guid | 0..* | 1.0.0 | - | 5 | category | Guid | 0..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | symbol | string | 1..1 | 1.0.0 | - | 12 | valueDefinition | Guid | 1..* | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | valueDefinition | Guid | 1..* | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -112,11 +112,6 @@ public void Serialize(ref MessagePackWriter writer, EnumerationParameterType enu writer.Write(identifier.ToByteArray()); } writer.Write(enumerationParameterType.AllowMultiSelect); - writer.WriteArrayHeader(enumerationParameterType.Attachment.Count); - foreach (var identifier in enumerationParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(enumerationParameterType.Category.Count); foreach (var identifier in enumerationParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -163,6 +158,11 @@ public void Serialize(ref MessagePackWriter writer, EnumerationParameterType enu { writer.WriteNil(); } + writer.WriteArrayHeader(enumerationParameterType.Attachment.Count); + foreach (var identifier in enumerationParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -217,46 +217,39 @@ public EnumerationParameterType Deserialize(ref MessagePackReader reader, Messag enumerationParameterType.AllowMultiSelect = reader.ReadBoolean(); break; case 4: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - enumerationParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: enumerationParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: enumerationParameterType.Name = reader.ReadString(); break; - case 10: + case 9: enumerationParameterType.ShortName = reader.ReadString(); break; - case 11: + case 10: enumerationParameterType.Symbol = reader.ReadString(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -267,27 +260,27 @@ public EnumerationParameterType Deserialize(ref MessagePackReader reader, Messag enumerationParameterType.ValueDefinition.Add(orderedItem); } break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: enumerationParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 15: enumerationParameterType.ThingPreference = reader.ReadString(); break; - case 17: + case 16: if (reader.TryReadNil()) { enumerationParameterType.Actor = null; @@ -297,6 +290,13 @@ public EnumerationParameterType Deserialize(ref MessagePackReader reader, Messag enumerationParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 17: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + enumerationParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs index 245cb98de..cfcf0e548 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EnumerationValueDefinitionMessagePackFormatter.cs @@ -34,16 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | shortName | string | 1..1 | 1.0.0 | + | 7 | excludedDomain | Guid | 0..* | 1.1.0 | + | 8 | excludedPerson | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | + | 12 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -106,11 +106,6 @@ public void Serialize(ref MessagePackWriter writer, EnumerationValueDefinition e { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(enumerationValueDefinition.Attachment.Count); - foreach (var identifier in enumerationValueDefinition.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(enumerationValueDefinition.Definition.Count); foreach (var identifier in enumerationValueDefinition.Definition.OrderBy(x => x, guidComparer)) { @@ -143,6 +138,11 @@ public void Serialize(ref MessagePackWriter writer, EnumerationValueDefinition e { writer.WriteNil(); } + writer.WriteArrayHeader(enumerationValueDefinition.Attachment.Count); + foreach (var identifier in enumerationValueDefinition.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -194,53 +194,46 @@ public EnumerationValueDefinition Deserialize(ref MessagePackReader reader, Mess } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - enumerationValueDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationValueDefinition.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationValueDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: enumerationValueDefinition.Name = reader.ReadString(); break; - case 7: + case 6: enumerationValueDefinition.ShortName = reader.ReadString(); break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationValueDefinition.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { enumerationValueDefinition.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: enumerationValueDefinition.ModifiedOn = reader.ReadDateTime(); break; - case 11: + case 10: enumerationValueDefinition.ThingPreference = reader.ReadString(); break; - case 12: + case 11: if (reader.TryReadNil()) { enumerationValueDefinition.Actor = null; @@ -250,6 +243,13 @@ public EnumerationValueDefinition Deserialize(ref MessagePackReader reader, Mess enumerationValueDefinition.Actor = reader.ReadBytes().ToGuid(); } break; + case 12: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + enumerationValueDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs index f0504a00e..9300dd51a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/FileTypeMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | extension | string | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | extension | string | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, FileType fileType, MessagePa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(fileType.Attachment.Count); - foreach (var identifier in fileType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(fileType.Category.Count); foreach (var identifier in fileType.Category.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, FileType fileType, MessagePa { writer.WriteNil(); } + writer.WriteArrayHeader(fileType.Attachment.Count); + foreach (var identifier in fileType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,66 +204,59 @@ public FileType Deserialize(ref MessagePackReader reader, MessagePackSerializerO } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - fileType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: fileType.Extension = reader.ReadString(); break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: fileType.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: fileType.Name = reader.ReadString(); break; - case 10: + case 9: fileType.ShortName = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { fileType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: fileType.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: fileType.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { fileType.Actor = null; @@ -273,6 +266,13 @@ public FileType Deserialize(ref MessagePackReader reader, MessagePackSerializerO fileType.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + fileType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs index 4e7a34ad3..13767aa93 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GlossaryMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | term | Guid | 0..* | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | term | Guid | 0..* | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, Glossary glossary, MessagePa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(glossary.Attachment.Count); - foreach (var identifier in glossary.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(glossary.Category.Count); foreach (var identifier in glossary.Category.OrderBy(x => x, guidComparer)) { @@ -157,6 +152,11 @@ public void Serialize(ref MessagePackWriter writer, Glossary glossary, MessagePa { writer.WriteNil(); } + writer.WriteArrayHeader(glossary.Attachment.Count); + foreach (var identifier in glossary.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -208,70 +208,63 @@ public Glossary Deserialize(ref MessagePackReader reader, MessagePackSerializerO } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - glossary.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: glossary.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: glossary.Name = reader.ReadString(); break; - case 9: + case 8: glossary.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.Term.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { glossary.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: glossary.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: glossary.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { glossary.Actor = null; @@ -281,6 +274,13 @@ public Glossary Deserialize(ref MessagePackReader reader, MessagePackSerializerO glossary.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + glossary.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs index b6c74cb5e..993eece43 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/GoalMessagePackFormatter.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,11 +107,6 @@ public void Serialize(ref MessagePackWriter writer, Goal goal, MessagePackSerial { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(goal.Attachment.Count); - foreach (var identifier in goal.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(goal.Category.Count); foreach (var identifier in goal.Category.OrderBy(x => x, guidComparer)) { @@ -149,6 +144,11 @@ public void Serialize(ref MessagePackWriter writer, Goal goal, MessagePackSerial { writer.WriteNil(); } + writer.WriteArrayHeader(goal.Attachment.Count); + foreach (var identifier in goal.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -200,60 +200,53 @@ public Goal Deserialize(ref MessagePackReader reader, MessagePackSerializerOptio } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - goal.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { goal.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { goal.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { goal.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { goal.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { goal.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: goal.ModifiedOn = reader.ReadDateTime(); break; - case 10: + case 9: goal.Name = reader.ReadString(); break; - case 11: + case 10: goal.ShortName = reader.ReadString(); break; - case 12: + case 11: goal.ThingPreference = reader.ReadString(); break; - case 13: + case 12: if (reader.TryReadNil()) { goal.Actor = null; @@ -263,6 +256,13 @@ public Goal Deserialize(ref MessagePackReader reader, MessagePackSerializerOptio goal.Actor = reader.ReadBytes().ToGuid(); } break; + case 13: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + goal.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs index 45f3fb776..c7be0a1b2 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/IntervalScaleMessagePackFormatter.cs @@ -34,27 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | - | 23 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 15 | shortName | string | 1..1 | 1.0.0 | + | 16 | unit | Guid | 1..1 | 1.0.0 | + | 17 | valueDefinition | Guid | 0..* | 1.0.0 | + | 18 | excludedDomain | Guid | 0..* | 1.1.0 | + | 19 | excludedPerson | Guid | 0..* | 1.1.0 | + | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | + | 23 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -117,11 +117,6 @@ public void Serialize(ref MessagePackWriter writer, IntervalScale intervalScale, { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(intervalScale.Attachment.Count); - foreach (var identifier in intervalScale.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(intervalScale.Definition.Count); foreach (var identifier in intervalScale.Definition.OrderBy(x => x, guidComparer)) { @@ -173,6 +168,11 @@ public void Serialize(ref MessagePackWriter writer, IntervalScale intervalScale, { writer.WriteNil(); } + writer.WriteArrayHeader(intervalScale.Attachment.Count); + foreach (var identifier in intervalScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -224,94 +224,87 @@ public IntervalScale Deserialize(ref MessagePackReader reader, MessagePackSerial } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - intervalScale.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: intervalScale.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: intervalScale.IsMaximumInclusive = reader.ReadBoolean(); break; - case 8: + case 7: intervalScale.IsMinimumInclusive = reader.ReadBoolean(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: intervalScale.MaximumPermissibleValue = reader.ReadString(); break; - case 11: + case 10: intervalScale.MinimumPermissibleValue = reader.ReadString(); break; - case 12: + case 11: intervalScale.Name = reader.ReadString(); break; - case 13: + case 12: intervalScale.NegativeValueConnotation = reader.ReadString(); break; - case 14: + case 13: intervalScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 15: + case 14: intervalScale.PositiveValueConnotation = reader.ReadString(); break; - case 16: + case 15: intervalScale.ShortName = reader.ReadString(); break; - case 17: + case 16: intervalScale.Unit = reader.ReadBytes().ToGuid(); break; - case 18: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { intervalScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: intervalScale.ModifiedOn = reader.ReadDateTime(); break; - case 22: + case 21: intervalScale.ThingPreference = reader.ReadString(); break; - case 23: + case 22: if (reader.TryReadNil()) { intervalScale.Actor = null; @@ -321,6 +314,13 @@ public IntervalScale Deserialize(ref MessagePackReader reader, MessagePackSerial intervalScale.Actor = reader.ReadBytes().ToGuid(); } break; + case 23: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + intervalScale.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs index cb0ec5958..e2d277587 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LinearConversionUnitMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | conversionFactor | string | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | conversionFactor | string | 1..1 | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, LinearConversionUnit linearC { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(linearConversionUnit.Attachment.Count); - foreach (var identifier in linearConversionUnit.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.Write(linearConversionUnit.ConversionFactor); writer.WriteArrayHeader(linearConversionUnit.Definition.Count); foreach (var identifier in linearConversionUnit.Definition.OrderBy(x => x, guidComparer)) @@ -149,6 +144,11 @@ public void Serialize(ref MessagePackWriter writer, LinearConversionUnit linearC { writer.WriteNil(); } + writer.WriteArrayHeader(linearConversionUnit.Attachment.Count); + foreach (var identifier in linearConversionUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -200,62 +200,55 @@ public LinearConversionUnit Deserialize(ref MessagePackReader reader, MessagePac } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - linearConversionUnit.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: linearConversionUnit.ConversionFactor = reader.ReadString(); break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: linearConversionUnit.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: linearConversionUnit.Name = reader.ReadString(); break; - case 9: + case 8: linearConversionUnit.ReferenceUnit = reader.ReadBytes().ToGuid(); break; - case 10: + case 9: linearConversionUnit.ShortName = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { linearConversionUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: linearConversionUnit.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: linearConversionUnit.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { linearConversionUnit.Actor = null; @@ -265,6 +258,13 @@ public LinearConversionUnit Deserialize(ref MessagePackReader reader, MessagePac linearConversionUnit.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + linearConversionUnit.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs index fffaa6599..c4c438754 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/LogarithmicScaleMessagePackFormatter.cs @@ -34,32 +34,32 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | exponent | string | 1..1 | 1.0.0 | - | 6 | factor | string | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 10 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 11 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | - | 12 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 13 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 14 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 15 | name | string | 1..1 | 1.0.0 | - | 16 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 17 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 18 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 19 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | - | 20 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | - | 21 | shortName | string | 1..1 | 1.0.0 | - | 22 | unit | Guid | 1..1 | 1.0.0 | - | 23 | valueDefinition | Guid | 0..* | 1.0.0 | - | 24 | excludedDomain | Guid | 0..* | 1.1.0 | - | 25 | excludedPerson | Guid | 0..* | 1.1.0 | - | 26 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 27 | thingPreference | string | 0..1 | 1.2.0 | - | 28 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | exponent | string | 1..1 | 1.0.0 | + | 5 | factor | string | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 9 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 10 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | + | 11 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 12 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 13 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 14 | name | string | 1..1 | 1.0.0 | + | 15 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 16 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 17 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 18 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | + | 19 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | + | 20 | shortName | string | 1..1 | 1.0.0 | + | 21 | unit | Guid | 1..1 | 1.0.0 | + | 22 | valueDefinition | Guid | 0..* | 1.0.0 | + | 23 | excludedDomain | Guid | 0..* | 1.1.0 | + | 24 | excludedPerson | Guid | 0..* | 1.1.0 | + | 25 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 26 | thingPreference | string | 0..1 | 1.2.0 | + | 27 | actor | Guid | 0..1 | 1.3.0 | + | 28 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -122,11 +122,6 @@ public void Serialize(ref MessagePackWriter writer, LogarithmicScale logarithmic { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(logarithmicScale.Attachment.Count); - foreach (var identifier in logarithmicScale.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(logarithmicScale.Definition.Count); foreach (var identifier in logarithmicScale.Definition.OrderBy(x => x, guidComparer)) { @@ -187,6 +182,11 @@ public void Serialize(ref MessagePackWriter writer, LogarithmicScale logarithmic { writer.WriteNil(); } + writer.WriteArrayHeader(logarithmicScale.Attachment.Count); + foreach (var identifier in logarithmicScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -238,113 +238,106 @@ public LogarithmicScale Deserialize(ref MessagePackReader reader, MessagePackSer } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - logarithmicScale.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: logarithmicScale.Exponent = reader.ReadString(); break; - case 6: + case 5: logarithmicScale.Factor = reader.ReadString(); break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: logarithmicScale.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: logarithmicScale.IsMaximumInclusive = reader.ReadBoolean(); break; - case 10: + case 9: logarithmicScale.IsMinimumInclusive = reader.ReadBoolean(); break; - case 11: + case 10: logarithmicScale.LogarithmBase = (CDP4Common.SiteDirectoryData.LogarithmBaseKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.LogarithmBaseKind), reader.ReadString(), true); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: logarithmicScale.MaximumPermissibleValue = reader.ReadString(); break; - case 14: + case 13: logarithmicScale.MinimumPermissibleValue = reader.ReadString(); break; - case 15: + case 14: logarithmicScale.Name = reader.ReadString(); break; - case 16: + case 15: logarithmicScale.NegativeValueConnotation = reader.ReadString(); break; - case 17: + case 16: logarithmicScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 18: + case 17: logarithmicScale.PositiveValueConnotation = reader.ReadString(); break; - case 19: + case 18: logarithmicScale.ReferenceQuantityKind = reader.ReadBytes().ToGuid(); break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ReferenceQuantityValue.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: logarithmicScale.ShortName = reader.ReadString(); break; - case 22: + case 21: logarithmicScale.Unit = reader.ReadBytes().ToGuid(); break; - case 23: + case 22: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 24: + case 23: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 25: + case 24: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { logarithmicScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 26: + case 25: logarithmicScale.ModifiedOn = reader.ReadDateTime(); break; - case 27: + case 26: logarithmicScale.ThingPreference = reader.ReadString(); break; - case 28: + case 27: if (reader.TryReadNil()) { logarithmicScale.Actor = null; @@ -354,6 +347,13 @@ public LogarithmicScale Deserialize(ref MessagePackReader reader, MessagePackSer logarithmicScale.Actor = reader.ReadBytes().ToGuid(); } break; + case 28: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + logarithmicScale.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs index 7ff2091d4..2472d7435 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ModelReferenceDataLibraryMessagePackFormatter.cs @@ -34,29 +34,29 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 5 | baseUnit | Guid | 0..* | 1.0.0 | - | 6 | constant | Guid | 0..* | 1.0.0 | - | 7 | definedCategory | Guid | 0..* | 1.0.0 | - | 8 | definition | Guid | 0..* | 1.0.0 | - | 9 | fileType | Guid | 0..* | 1.0.0 | - | 10 | glossary | Guid | 0..* | 1.0.0 | - | 11 | hyperLink | Guid | 0..* | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | parameterType | Guid | 0..* | 1.0.0 | - | 14 | referenceSource | Guid | 0..* | 1.0.0 | - | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 16 | rule | Guid | 0..* | 1.0.0 | - | 17 | scale | Guid | 0..* | 1.0.0 | - | 18 | shortName | string | 1..1 | 1.0.0 | - | 19 | unit | Guid | 0..* | 1.0.0 | - | 20 | unitPrefix | Guid | 0..* | 1.0.0 | - | 21 | excludedDomain | Guid | 0..* | 1.1.0 | - | 22 | excludedPerson | Guid | 0..* | 1.1.0 | - | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 24 | thingPreference | string | 0..1 | 1.2.0 | - | 25 | actor | Guid | 0..1 | 1.3.0 | + | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 4 | baseUnit | Guid | 0..* | 1.0.0 | + | 5 | constant | Guid | 0..* | 1.0.0 | + | 6 | definedCategory | Guid | 0..* | 1.0.0 | + | 7 | definition | Guid | 0..* | 1.0.0 | + | 8 | fileType | Guid | 0..* | 1.0.0 | + | 9 | glossary | Guid | 0..* | 1.0.0 | + | 10 | hyperLink | Guid | 0..* | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | parameterType | Guid | 0..* | 1.0.0 | + | 13 | referenceSource | Guid | 0..* | 1.0.0 | + | 14 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 15 | rule | Guid | 0..* | 1.0.0 | + | 16 | scale | Guid | 0..* | 1.0.0 | + | 17 | shortName | string | 1..1 | 1.0.0 | + | 18 | unit | Guid | 0..* | 1.0.0 | + | 19 | unitPrefix | Guid | 0..* | 1.0.0 | + | 20 | excludedDomain | Guid | 0..* | 1.1.0 | + | 21 | excludedPerson | Guid | 0..* | 1.1.0 | + | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 23 | thingPreference | string | 0..1 | 1.2.0 | + | 24 | actor | Guid | 0..1 | 1.3.0 | + | 25 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -119,11 +119,6 @@ public void Serialize(ref MessagePackWriter writer, ModelReferenceDataLibrary mo { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(modelReferenceDataLibrary.Attachment.Count); - foreach (var identifier in modelReferenceDataLibrary.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(modelReferenceDataLibrary.BaseQuantityKind.Count); foreach (var orderedItem in modelReferenceDataLibrary.BaseQuantityKind.OrderBy(x => x, orderedItemComparer)) { @@ -226,6 +221,11 @@ public void Serialize(ref MessagePackWriter writer, ModelReferenceDataLibrary mo { writer.WriteNil(); } + writer.WriteArrayHeader(modelReferenceDataLibrary.Attachment.Count); + foreach (var identifier in modelReferenceDataLibrary.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -277,13 +277,6 @@ public ModelReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messa } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - modelReferenceDataLibrary.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -294,73 +287,73 @@ public ModelReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messa modelReferenceDataLibrary.BaseQuantityKind.Add(orderedItem); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.BaseUnit.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Constant.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.DefinedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.FileType.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Glossary.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: modelReferenceDataLibrary.Name = reader.ReadString(); break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ParameterType.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ReferenceSource.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: if (reader.TryReadNil()) { modelReferenceDataLibrary.RequiredRdl = null; @@ -370,58 +363,58 @@ public ModelReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messa modelReferenceDataLibrary.RequiredRdl = reader.ReadBytes().ToGuid(); } break; - case 16: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Rule.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Scale.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 17: modelReferenceDataLibrary.ShortName = reader.ReadString(); break; - case 19: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.Unit.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.UnitPrefix.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 22: + case 21: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { modelReferenceDataLibrary.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 23: + case 22: modelReferenceDataLibrary.ModifiedOn = reader.ReadDateTime(); break; - case 24: + case 23: modelReferenceDataLibrary.ThingPreference = reader.ReadString(); break; - case 25: + case 24: if (reader.TryReadNil()) { modelReferenceDataLibrary.Actor = null; @@ -431,6 +424,13 @@ public ModelReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messa modelReferenceDataLibrary.Actor = reader.ReadBytes().ToGuid(); } break; + case 25: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + modelReferenceDataLibrary.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs index 7759cbdce..62ed4afc7 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/MultiRelationshipRuleMessagePackFormatter.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | maxRelated | int | 1..1 | 1.0.0 | - | 8 | minRelated | int | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | relatedCategory | Guid | 1..* | 1.0.0 | - | 11 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | maxRelated | int | 1..1 | 1.0.0 | + | 7 | minRelated | int | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | relatedCategory | Guid | 1..* | 1.0.0 | + | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -111,11 +111,6 @@ public void Serialize(ref MessagePackWriter writer, MultiRelationshipRule multiR { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(multiRelationshipRule.Attachment.Count); - foreach (var identifier in multiRelationshipRule.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(multiRelationshipRule.Definition.Count); foreach (var identifier in multiRelationshipRule.Definition.OrderBy(x => x, guidComparer)) { @@ -157,6 +152,11 @@ public void Serialize(ref MessagePackWriter writer, MultiRelationshipRule multiR { writer.WriteNil(); } + writer.WriteArrayHeader(multiRelationshipRule.Attachment.Count); + foreach (var identifier in multiRelationshipRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -208,72 +208,65 @@ public MultiRelationshipRule Deserialize(ref MessagePackReader reader, MessagePa } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - multiRelationshipRule.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: multiRelationshipRule.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: multiRelationshipRule.MaxRelated = reader.ReadInt32(); break; - case 8: + case 7: multiRelationshipRule.MinRelated = reader.ReadInt32(); break; - case 9: + case 8: multiRelationshipRule.Name = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.RelatedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: multiRelationshipRule.RelationshipCategory = reader.ReadBytes().ToGuid(); break; - case 12: + case 11: multiRelationshipRule.ShortName = reader.ReadString(); break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { multiRelationshipRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: multiRelationshipRule.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 15: multiRelationshipRule.ThingPreference = reader.ReadString(); break; - case 17: + case 16: if (reader.TryReadNil()) { multiRelationshipRule.Actor = null; @@ -283,6 +276,13 @@ public MultiRelationshipRule Deserialize(ref MessagePackReader reader, MessagePa multiRelationshipRule.Actor = reader.ReadBytes().ToGuid(); } break; + case 17: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + multiRelationshipRule.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs index aef710c91..c83e27318 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OptionMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | nestedElement | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | nestedElement | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, Option option, MessagePackSe { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(option.Attachment.Count); - foreach (var identifier in option.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(option.Category.Count); foreach (var identifier in option.Category.OrderBy(x => x, guidComparer)) { @@ -155,6 +150,11 @@ public void Serialize(ref MessagePackWriter writer, Option option, MessagePackSe { writer.WriteNil(); } + writer.WriteArrayHeader(option.Attachment.Count); + foreach (var identifier in option.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -206,67 +206,60 @@ public Option Deserialize(ref MessagePackReader reader, MessagePackSerializerOpt } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - option.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: option.Name = reader.ReadString(); break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.NestedElement.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: option.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { option.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: option.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: option.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { option.Actor = null; @@ -276,6 +269,13 @@ public Option Deserialize(ref MessagePackReader reader, MessagePackSerializerOpt option.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + option.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs index 3aa77d30e..17ecdf52a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/OrdinalScaleMessagePackFormatter.cs @@ -34,28 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | useShortNameValues | bool | 1..1 | 1.0.0 | - | 19 | valueDefinition | Guid | 0..* | 1.0.0 | - | 20 | excludedDomain | Guid | 0..* | 1.1.0 | - | 21 | excludedPerson | Guid | 0..* | 1.1.0 | - | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 23 | thingPreference | string | 0..1 | 1.2.0 | - | 24 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 15 | shortName | string | 1..1 | 1.0.0 | + | 16 | unit | Guid | 1..1 | 1.0.0 | + | 17 | useShortNameValues | bool | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | + | 24 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -118,11 +118,6 @@ public void Serialize(ref MessagePackWriter writer, OrdinalScale ordinalScale, M { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(ordinalScale.Attachment.Count); - foreach (var identifier in ordinalScale.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(ordinalScale.Definition.Count); foreach (var identifier in ordinalScale.Definition.OrderBy(x => x, guidComparer)) { @@ -175,6 +170,11 @@ public void Serialize(ref MessagePackWriter writer, OrdinalScale ordinalScale, M { writer.WriteNil(); } + writer.WriteArrayHeader(ordinalScale.Attachment.Count); + foreach (var identifier in ordinalScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -226,97 +226,90 @@ public OrdinalScale Deserialize(ref MessagePackReader reader, MessagePackSeriali } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - ordinalScale.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: ordinalScale.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: ordinalScale.IsMaximumInclusive = reader.ReadBoolean(); break; - case 8: + case 7: ordinalScale.IsMinimumInclusive = reader.ReadBoolean(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: ordinalScale.MaximumPermissibleValue = reader.ReadString(); break; - case 11: + case 10: ordinalScale.MinimumPermissibleValue = reader.ReadString(); break; - case 12: + case 11: ordinalScale.Name = reader.ReadString(); break; - case 13: + case 12: ordinalScale.NegativeValueConnotation = reader.ReadString(); break; - case 14: + case 13: ordinalScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 15: + case 14: ordinalScale.PositiveValueConnotation = reader.ReadString(); break; - case 16: + case 15: ordinalScale.ShortName = reader.ReadString(); break; - case 17: + case 16: ordinalScale.Unit = reader.ReadBytes().ToGuid(); break; - case 18: + case 17: ordinalScale.UseShortNameValues = reader.ReadBoolean(); break; - case 19: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ordinalScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 22: + case 21: ordinalScale.ModifiedOn = reader.ReadDateTime(); break; - case 23: + case 22: ordinalScale.ThingPreference = reader.ReadString(); break; - case 24: + case 23: if (reader.TryReadNil()) { ordinalScale.Actor = null; @@ -326,6 +319,13 @@ public OrdinalScale Deserialize(ref MessagePackReader reader, MessagePackSeriali ordinalScale.Actor = reader.ReadBytes().ToGuid(); } break; + case 24: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + ordinalScale.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs index a4d6a7db5..4e338344f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParameterizedCategoryRuleMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | parameterType | Guid | 1..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 1..1 | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | parameterType | Guid | 1..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, ParameterizedCategoryRule pa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(parameterizedCategoryRule.Attachment.Count); - foreach (var identifier in parameterizedCategoryRule.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.Write(parameterizedCategoryRule.Category.ToByteArray()); writer.WriteArrayHeader(parameterizedCategoryRule.Definition.Count); foreach (var identifier in parameterizedCategoryRule.Definition.OrderBy(x => x, guidComparer)) @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, ParameterizedCategoryRule pa { writer.WriteNil(); } + writer.WriteArrayHeader(parameterizedCategoryRule.Attachment.Count); + foreach (var identifier in parameterizedCategoryRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,66 +204,59 @@ public ParameterizedCategoryRule Deserialize(ref MessagePackReader reader, Messa } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - parameterizedCategoryRule.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: parameterizedCategoryRule.Category = reader.ReadBytes().ToGuid(); break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: parameterizedCategoryRule.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: parameterizedCategoryRule.Name = reader.ReadString(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.ParameterType.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: parameterizedCategoryRule.ShortName = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { parameterizedCategoryRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: parameterizedCategoryRule.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: parameterizedCategoryRule.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { parameterizedCategoryRule.Actor = null; @@ -273,6 +266,13 @@ public ParameterizedCategoryRule Deserialize(ref MessagePackReader reader, Messa parameterizedCategoryRule.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + parameterizedCategoryRule.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs index 442150b8c..84e915b5a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ParticipantRoleMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | participantPermission | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | participantPermission | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, ParticipantRole participantR { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(participantRole.Attachment.Count); - foreach (var identifier in participantRole.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(participantRole.Definition.Count); foreach (var identifier in participantRole.Definition.OrderBy(x => x, guidComparer)) { @@ -151,6 +146,11 @@ public void Serialize(ref MessagePackWriter writer, ParticipantRole participantR { writer.WriteNil(); } + writer.WriteArrayHeader(participantRole.Attachment.Count); + foreach (var identifier in participantRole.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -202,63 +202,56 @@ public ParticipantRole Deserialize(ref MessagePackReader reader, MessagePackSeri } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - participantRole.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: participantRole.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: participantRole.Name = reader.ReadString(); break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.ParticipantPermission.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: participantRole.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { participantRole.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: participantRole.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: participantRole.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { participantRole.Actor = null; @@ -268,6 +261,13 @@ public ParticipantRole Deserialize(ref MessagePackReader reader, MessagePackSeri participantRole.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + participantRole.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs index 9b5975c4e..1f0d7b3e6 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PersonRoleMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | personPermission | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | personPermission | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, PersonRole personRole, Messa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(personRole.Attachment.Count); - foreach (var identifier in personRole.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(personRole.Definition.Count); foreach (var identifier in personRole.Definition.OrderBy(x => x, guidComparer)) { @@ -151,6 +146,11 @@ public void Serialize(ref MessagePackWriter writer, PersonRole personRole, Messa { writer.WriteNil(); } + writer.WriteArrayHeader(personRole.Attachment.Count); + foreach (var identifier in personRole.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -202,63 +202,56 @@ public PersonRole Deserialize(ref MessagePackReader reader, MessagePackSerialize } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - personRole.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: personRole.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: personRole.Name = reader.ReadString(); break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.PersonPermission.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: personRole.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { personRole.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: personRole.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: personRole.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { personRole.Actor = null; @@ -268,6 +261,13 @@ public PersonRole Deserialize(ref MessagePackReader reader, MessagePackSerialize personRole.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + personRole.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs index d8c5aaa63..fff0a4211 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateListMessagePackFormatter.cs @@ -34,20 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultState | Guid | 0..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | possibleState | Guid | 1..* | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultState | Guid | 0..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | possibleState | Guid | 1..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | + | 16 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -110,11 +110,6 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteStateList poss { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(possibleFiniteStateList.Attachment.Count); - foreach (var identifier in possibleFiniteStateList.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(possibleFiniteStateList.Category.Count); foreach (var identifier in possibleFiniteStateList.Category.OrderBy(x => x, guidComparer)) { @@ -168,6 +163,11 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteStateList poss { writer.WriteNil(); } + writer.WriteArrayHeader(possibleFiniteStateList.Attachment.Count); + foreach (var identifier in possibleFiniteStateList.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -219,20 +219,13 @@ public PossibleFiniteStateList Deserialize(ref MessagePackReader reader, Message } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - possibleFiniteStateList.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: if (reader.TryReadNil()) { possibleFiniteStateList.DefaultState = null; @@ -242,27 +235,27 @@ public PossibleFiniteStateList Deserialize(ref MessagePackReader reader, Message possibleFiniteStateList.DefaultState = reader.ReadBytes().ToGuid(); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: possibleFiniteStateList.Name = reader.ReadString(); break; - case 9: + case 8: possibleFiniteStateList.Owner = reader.ReadBytes().ToGuid(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -273,30 +266,30 @@ public PossibleFiniteStateList Deserialize(ref MessagePackReader reader, Message possibleFiniteStateList.PossibleState.Add(orderedItem); } break; - case 11: + case 10: possibleFiniteStateList.ShortName = reader.ReadString(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteStateList.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: possibleFiniteStateList.ModifiedOn = reader.ReadDateTime(); break; - case 15: + case 14: possibleFiniteStateList.ThingPreference = reader.ReadString(); break; - case 16: + case 15: if (reader.TryReadNil()) { possibleFiniteStateList.Actor = null; @@ -306,6 +299,13 @@ public PossibleFiniteStateList Deserialize(ref MessagePackReader reader, Message possibleFiniteStateList.Actor = reader.ReadBytes().ToGuid(); } break; + case 16: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + possibleFiniteStateList.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs index 672022516..4879a36a5 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PossibleFiniteStateMessagePackFormatter.cs @@ -34,16 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | shortName | string | 1..1 | 1.0.0 | + | 7 | excludedDomain | Guid | 0..* | 1.1.0 | + | 8 | excludedPerson | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | + | 12 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -106,11 +106,6 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteState possible { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(possibleFiniteState.Attachment.Count); - foreach (var identifier in possibleFiniteState.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(possibleFiniteState.Definition.Count); foreach (var identifier in possibleFiniteState.Definition.OrderBy(x => x, guidComparer)) { @@ -143,6 +138,11 @@ public void Serialize(ref MessagePackWriter writer, PossibleFiniteState possible { writer.WriteNil(); } + writer.WriteArrayHeader(possibleFiniteState.Attachment.Count); + foreach (var identifier in possibleFiniteState.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -194,53 +194,46 @@ public PossibleFiniteState Deserialize(ref MessagePackReader reader, MessagePack } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - possibleFiniteState.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteState.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteState.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: possibleFiniteState.Name = reader.ReadString(); break; - case 7: + case 6: possibleFiniteState.ShortName = reader.ReadString(); break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteState.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { possibleFiniteState.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: possibleFiniteState.ModifiedOn = reader.ReadDateTime(); break; - case 11: + case 10: possibleFiniteState.ThingPreference = reader.ReadString(); break; - case 12: + case 11: if (reader.TryReadNil()) { possibleFiniteState.Actor = null; @@ -250,6 +243,13 @@ public PossibleFiniteState Deserialize(ref MessagePackReader reader, MessagePack possibleFiniteState.Actor = reader.ReadBytes().ToGuid(); } break; + case 12: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + possibleFiniteState.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs index 99b34814b..4b31d3293 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/PrefixedUnitMessagePackFormatter.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | prefix | Guid | 1..1 | 1.0.0 | - | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | prefix | Guid | 1..1 | 1.0.0 | + | 7 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,11 +107,6 @@ public void Serialize(ref MessagePackWriter writer, PrefixedUnit prefixedUnit, M { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(prefixedUnit.Attachment.Count); - foreach (var identifier in prefixedUnit.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(prefixedUnit.Definition.Count); foreach (var identifier in prefixedUnit.Definition.OrderBy(x => x, guidComparer)) { @@ -145,6 +140,11 @@ public void Serialize(ref MessagePackWriter writer, PrefixedUnit prefixedUnit, M { writer.WriteNil(); } + writer.WriteArrayHeader(prefixedUnit.Attachment.Count); + foreach (var identifier in prefixedUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -196,56 +196,49 @@ public PrefixedUnit Deserialize(ref MessagePackReader reader, MessagePackSeriali } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - prefixedUnit.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { prefixedUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { prefixedUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: prefixedUnit.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: prefixedUnit.Prefix = reader.ReadBytes().ToGuid(); break; - case 8: + case 7: prefixedUnit.ReferenceUnit = reader.ReadBytes().ToGuid(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { prefixedUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { prefixedUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: prefixedUnit.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 11: prefixedUnit.ThingPreference = reader.ReadString(); break; - case 13: + case 12: if (reader.TryReadNil()) { prefixedUnit.Actor = null; @@ -255,6 +248,13 @@ public PrefixedUnit Deserialize(ref MessagePackReader reader, MessagePackSeriali prefixedUnit.Actor = reader.ReadBytes().ToGuid(); } break; + case 13: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + prefixedUnit.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs index 744ade7ed..aca0eadd3 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RatioScaleMessagePackFormatter.cs @@ -34,27 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | - | 23 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 15 | shortName | string | 1..1 | 1.0.0 | + | 16 | unit | Guid | 1..1 | 1.0.0 | + | 17 | valueDefinition | Guid | 0..* | 1.0.0 | + | 18 | excludedDomain | Guid | 0..* | 1.1.0 | + | 19 | excludedPerson | Guid | 0..* | 1.1.0 | + | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | + | 23 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -117,11 +117,6 @@ public void Serialize(ref MessagePackWriter writer, RatioScale ratioScale, Messa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(ratioScale.Attachment.Count); - foreach (var identifier in ratioScale.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(ratioScale.Definition.Count); foreach (var identifier in ratioScale.Definition.OrderBy(x => x, guidComparer)) { @@ -173,6 +168,11 @@ public void Serialize(ref MessagePackWriter writer, RatioScale ratioScale, Messa { writer.WriteNil(); } + writer.WriteArrayHeader(ratioScale.Attachment.Count); + foreach (var identifier in ratioScale.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -224,94 +224,87 @@ public RatioScale Deserialize(ref MessagePackReader reader, MessagePackSerialize } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - ratioScale.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: ratioScale.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: ratioScale.IsMaximumInclusive = reader.ReadBoolean(); break; - case 8: + case 7: ratioScale.IsMinimumInclusive = reader.ReadBoolean(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.MappingToReferenceScale.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: ratioScale.MaximumPermissibleValue = reader.ReadString(); break; - case 11: + case 10: ratioScale.MinimumPermissibleValue = reader.ReadString(); break; - case 12: + case 11: ratioScale.Name = reader.ReadString(); break; - case 13: + case 12: ratioScale.NegativeValueConnotation = reader.ReadString(); break; - case 14: + case 13: ratioScale.NumberSet = (CDP4Common.SiteDirectoryData.NumberSetKind)Enum.Parse(typeof(CDP4Common.SiteDirectoryData.NumberSetKind), reader.ReadString(), true); break; - case 15: + case 14: ratioScale.PositiveValueConnotation = reader.ReadString(); break; - case 16: + case 15: ratioScale.ShortName = reader.ReadString(); break; - case 17: + case 16: ratioScale.Unit = reader.ReadBytes().ToGuid(); break; - case 18: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.ValueDefinition.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 18: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ratioScale.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: ratioScale.ModifiedOn = reader.ReadDateTime(); break; - case 22: + case 21: ratioScale.ThingPreference = reader.ReadString(); break; - case 23: + case 22: if (reader.TryReadNil()) { ratioScale.Actor = null; @@ -321,6 +314,13 @@ public RatioScale Deserialize(ref MessagePackReader reader, MessagePackSerialize ratioScale.Actor = reader.ReadBytes().ToGuid(); } break; + case 23: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + ratioScale.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs index ee3470d7c..066c67a2c 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferenceSourceMessagePackFormatter.cs @@ -34,25 +34,25 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | author | string | 0..1 | 1.0.0 | - | 5 | category | Guid | 0..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | language | string | 0..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | publicationYear | int | 0..1 | 1.0.0 | - | 12 | publishedIn | Guid | 0..1 | 1.0.0 | - | 13 | publisher | Guid | 0..1 | 1.0.0 | - | 14 | shortName | string | 1..1 | 1.0.0 | - | 15 | versionDate | DateTime | 0..1 | 1.0.0 | - | 16 | versionIdentifier | string | 0..1 | 1.0.0 | - | 17 | excludedDomain | Guid | 0..* | 1.1.0 | - | 18 | excludedPerson | Guid | 0..* | 1.1.0 | - | 19 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 20 | thingPreference | string | 0..1 | 1.2.0 | - | 21 | actor | Guid | 0..1 | 1.3.0 | + | 3 | author | string | 0..1 | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | language | string | 0..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | publicationYear | int | 0..1 | 1.0.0 | + | 11 | publishedIn | Guid | 0..1 | 1.0.0 | + | 12 | publisher | Guid | 0..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | versionDate | DateTime | 0..1 | 1.0.0 | + | 15 | versionIdentifier | string | 0..1 | 1.0.0 | + | 16 | excludedDomain | Guid | 0..* | 1.1.0 | + | 17 | excludedPerson | Guid | 0..* | 1.1.0 | + | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 19 | thingPreference | string | 0..1 | 1.2.0 | + | 20 | actor | Guid | 0..1 | 1.3.0 | + | 21 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -115,11 +115,6 @@ public void Serialize(ref MessagePackWriter writer, ReferenceSource referenceSou { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(referenceSource.Attachment.Count); - foreach (var identifier in referenceSource.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.Write(referenceSource.Author); writer.WriteArrayHeader(referenceSource.Category.Count); foreach (var identifier in referenceSource.Category.OrderBy(x => x, guidComparer)) @@ -193,6 +188,11 @@ public void Serialize(ref MessagePackWriter writer, ReferenceSource referenceSou { writer.WriteNil(); } + writer.WriteArrayHeader(referenceSource.Attachment.Count); + foreach (var identifier in referenceSource.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -244,46 +244,39 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - referenceSource.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: referenceSource.Author = reader.ReadString(); break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: referenceSource.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: referenceSource.Language = reader.ReadString(); break; - case 10: + case 9: referenceSource.Name = reader.ReadString(); break; - case 11: + case 10: if (reader.TryReadNil()) { referenceSource.PublicationYear = null; @@ -293,7 +286,7 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.PublicationYear = reader.ReadInt32(); } break; - case 12: + case 11: if (reader.TryReadNil()) { referenceSource.PublishedIn = null; @@ -303,7 +296,7 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.PublishedIn = reader.ReadBytes().ToGuid(); } break; - case 13: + case 12: if (reader.TryReadNil()) { referenceSource.Publisher = null; @@ -313,10 +306,10 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.Publisher = reader.ReadBytes().ToGuid(); } break; - case 14: + case 13: referenceSource.ShortName = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { referenceSource.VersionDate = null; @@ -326,30 +319,30 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.VersionDate = reader.ReadDateTime(); } break; - case 16: + case 15: referenceSource.VersionIdentifier = reader.ReadString(); break; - case 17: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referenceSource.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 18: referenceSource.ModifiedOn = reader.ReadDateTime(); break; - case 20: + case 19: referenceSource.ThingPreference = reader.ReadString(); break; - case 21: + case 20: if (reader.TryReadNil()) { referenceSource.Actor = null; @@ -359,6 +352,13 @@ public ReferenceSource Deserialize(ref MessagePackReader reader, MessagePackSeri referenceSource.Actor = reader.ReadBytes().ToGuid(); } break; + case 21: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + referenceSource.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs index 7c5c5d295..676bccfd0 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ReferencerRuleMessagePackFormatter.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | maxReferenced | int | 1..1 | 1.0.0 | - | 8 | minReferenced | int | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | referencedCategory | Guid | 1..* | 1.0.0 | - | 11 | referencingCategory | Guid | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | maxReferenced | int | 1..1 | 1.0.0 | + | 7 | minReferenced | int | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | referencedCategory | Guid | 1..* | 1.0.0 | + | 10 | referencingCategory | Guid | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -111,11 +111,6 @@ public void Serialize(ref MessagePackWriter writer, ReferencerRule referencerRul { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(referencerRule.Attachment.Count); - foreach (var identifier in referencerRule.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(referencerRule.Definition.Count); foreach (var identifier in referencerRule.Definition.OrderBy(x => x, guidComparer)) { @@ -157,6 +152,11 @@ public void Serialize(ref MessagePackWriter writer, ReferencerRule referencerRul { writer.WriteNil(); } + writer.WriteArrayHeader(referencerRule.Attachment.Count); + foreach (var identifier in referencerRule.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -208,72 +208,65 @@ public ReferencerRule Deserialize(ref MessagePackReader reader, MessagePackSeria } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - referencerRule.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: referencerRule.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: referencerRule.MaxReferenced = reader.ReadInt32(); break; - case 8: + case 7: referencerRule.MinReferenced = reader.ReadInt32(); break; - case 9: + case 8: referencerRule.Name = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.ReferencedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: referencerRule.ReferencingCategory = reader.ReadBytes().ToGuid(); break; - case 12: + case 11: referencerRule.ShortName = reader.ReadString(); break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { referencerRule.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: referencerRule.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 15: referencerRule.ThingPreference = reader.ReadString(); break; - case 17: + case 16: if (reader.TryReadNil()) { referencerRule.Actor = null; @@ -283,6 +276,13 @@ public ReferencerRule Deserialize(ref MessagePackReader reader, MessagePackSeria referencerRule.Actor = reader.ReadBytes().ToGuid(); } break; + case 17: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + referencerRule.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs index b8f0a5f29..516dafc8f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementMessagePackFormatter.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | group | Guid | 0..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | owner | Guid | 1..1 | 1.0.0 | - | 11 | parameterValue | Guid | 0..* | 1.0.0 | - | 12 | parametricConstraint | Guid | 0..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | group | Guid | 0..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | parameterValue | Guid | 0..* | 1.0.0 | + | 11 | parametricConstraint | Guid | 0..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -112,11 +112,6 @@ public void Serialize(ref MessagePackWriter writer, Requirement requirement, Mes { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(requirement.Attachment.Count); - foreach (var identifier in requirement.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(requirement.Category.Count); foreach (var identifier in requirement.Category.OrderBy(x => x, guidComparer)) { @@ -176,6 +171,11 @@ public void Serialize(ref MessagePackWriter writer, Requirement requirement, Mes { writer.WriteNil(); } + writer.WriteArrayHeader(requirement.Attachment.Count); + foreach (var identifier in requirement.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -227,27 +227,20 @@ public Requirement Deserialize(ref MessagePackReader reader, MessagePackSerializ } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - requirement.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: if (reader.TryReadNil()) { requirement.Group = null; @@ -257,30 +250,30 @@ public Requirement Deserialize(ref MessagePackReader reader, MessagePackSerializ requirement.Group = reader.ReadBytes().ToGuid(); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: requirement.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: requirement.Name = reader.ReadString(); break; - case 10: + case 9: requirement.Owner = reader.ReadBytes().ToGuid(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.ParameterValue.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -291,30 +284,30 @@ public Requirement Deserialize(ref MessagePackReader reader, MessagePackSerializ requirement.ParametricConstraint.Add(orderedItem); } break; - case 13: + case 12: requirement.ShortName = reader.ReadString(); break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirement.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: requirement.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 16: requirement.ThingPreference = reader.ReadString(); break; - case 18: + case 17: if (reader.TryReadNil()) { requirement.Actor = null; @@ -324,6 +317,13 @@ public Requirement Deserialize(ref MessagePackReader reader, MessagePackSerializ requirement.Actor = reader.ReadBytes().ToGuid(); } break; + case 18: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + requirement.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs index a447c67dd..a4afbcd3f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsGroupMessagePackFormatter.cs @@ -34,20 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | group | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | category | Guid | 0..* | 1.1.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | parameterValue | Guid | 0..* | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | group | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | owner | Guid | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | category | Guid | 0..* | 1.1.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | parameterValue | Guid | 0..* | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | + | 16 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -110,11 +110,6 @@ public void Serialize(ref MessagePackWriter writer, RequirementsGroup requiremen { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(requirementsGroup.Attachment.Count); - foreach (var identifier in requirementsGroup.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(requirementsGroup.Definition.Count); foreach (var identifier in requirementsGroup.Definition.OrderBy(x => x, guidComparer)) { @@ -163,6 +158,11 @@ public void Serialize(ref MessagePackWriter writer, RequirementsGroup requiremen { writer.WriteNil(); } + writer.WriteArrayHeader(requirementsGroup.Attachment.Count); + foreach (var identifier in requirementsGroup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -214,77 +214,70 @@ public RequirementsGroup Deserialize(ref MessagePackReader reader, MessagePackSe } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - requirementsGroup.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.Group.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: requirementsGroup.Name = reader.ReadString(); break; - case 8: + case 7: requirementsGroup.Owner = reader.ReadBytes().ToGuid(); break; - case 9: + case 8: requirementsGroup.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: requirementsGroup.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsGroup.ParameterValue.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: requirementsGroup.ThingPreference = reader.ReadString(); break; - case 16: + case 15: if (reader.TryReadNil()) { requirementsGroup.Actor = null; @@ -294,6 +287,13 @@ public RequirementsGroup Deserialize(ref MessagePackReader reader, MessagePackSe requirementsGroup.Actor = reader.ReadBytes().ToGuid(); } break; + case 16: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + requirementsGroup.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs index 7f4dcd795..bd439b0d3 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RequirementsSpecificationMessagePackFormatter.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | group | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | requirement | Guid | 0..* | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | category | Guid | 0..* | 1.1.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | parameterValue | Guid | 0..* | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | group | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | requirement | Guid | 0..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | category | Guid | 0..* | 1.1.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | parameterValue | Guid | 0..* | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -112,11 +112,6 @@ public void Serialize(ref MessagePackWriter writer, RequirementsSpecification re { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(requirementsSpecification.Attachment.Count); - foreach (var identifier in requirementsSpecification.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(requirementsSpecification.Definition.Count); foreach (var identifier in requirementsSpecification.Definition.OrderBy(x => x, guidComparer)) { @@ -171,6 +166,11 @@ public void Serialize(ref MessagePackWriter writer, RequirementsSpecification re { writer.WriteNil(); } + writer.WriteArrayHeader(requirementsSpecification.Attachment.Count); + foreach (var identifier in requirementsSpecification.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -222,87 +222,80 @@ public RequirementsSpecification Deserialize(ref MessagePackReader reader, Messa } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - requirementsSpecification.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.Group.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: requirementsSpecification.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: requirementsSpecification.Name = reader.ReadString(); break; - case 9: + case 8: requirementsSpecification.Owner = reader.ReadBytes().ToGuid(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.Requirement.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: requirementsSpecification.ShortName = reader.ReadString(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: requirementsSpecification.ModifiedOn = reader.ReadDateTime(); break; - case 16: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { requirementsSpecification.ParameterValue.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 16: requirementsSpecification.ThingPreference = reader.ReadString(); break; - case 18: + case 17: if (reader.TryReadNil()) { requirementsSpecification.Actor = null; @@ -312,6 +305,13 @@ public RequirementsSpecification Deserialize(ref MessagePackReader reader, Messa requirementsSpecification.Actor = reader.ReadBytes().ToGuid(); } break; + case 18: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + requirementsSpecification.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs index 33f2e5317..12fbaf12f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/RuleVerificationListMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | owner | Guid | 1..1 | 1.0.0 | - | 8 | ruleVerification | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | owner | Guid | 1..1 | 1.0.0 | + | 7 | ruleVerification | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, RuleVerificationList ruleVer { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(ruleVerificationList.Attachment.Count); - foreach (var identifier in ruleVerificationList.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(ruleVerificationList.Definition.Count); foreach (var identifier in ruleVerificationList.Definition.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, RuleVerificationList ruleVer { writer.WriteNil(); } + writer.WriteArrayHeader(ruleVerificationList.Attachment.Count); + foreach (var identifier in ruleVerificationList.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,33 +204,26 @@ public RuleVerificationList Deserialize(ref MessagePackReader reader, MessagePac } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - ruleVerificationList.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ruleVerificationList.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ruleVerificationList.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: ruleVerificationList.Name = reader.ReadString(); break; - case 7: + case 6: ruleVerificationList.Owner = reader.ReadBytes().ToGuid(); break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -241,30 +234,30 @@ public RuleVerificationList Deserialize(ref MessagePackReader reader, MessagePac ruleVerificationList.RuleVerification.Add(orderedItem); } break; - case 9: + case 8: ruleVerificationList.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ruleVerificationList.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { ruleVerificationList.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: ruleVerificationList.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: ruleVerificationList.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { ruleVerificationList.Actor = null; @@ -274,6 +267,13 @@ public RuleVerificationList Deserialize(ref MessagePackReader reader, MessagePac ruleVerificationList.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + ruleVerificationList.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs index 4637f17a3..807bef806 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SampledFunctionParameterTypeMessagePackFormatter.cs @@ -37,20 +37,20 @@ | 3 | excludedPerson | Guid | 0..* | 1.1.0 | | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 5 | alias | Guid | 0..* | 1.2.0 | - | 6 | attachment | Guid | 0..* | 1.2.0 | - | 7 | category | Guid | 0..* | 1.2.0 | - | 8 | definition | Guid | 0..* | 1.2.0 | - | 9 | degreeOfInterpolation | int | 0..1 | 1.2.0 | - | 10 | dependentParameterType | Guid | 1..* | 1.2.0 | - | 11 | hyperLink | Guid | 0..* | 1.2.0 | - | 12 | independentParameterType | Guid | 1..* | 1.2.0 | - | 13 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | - | 14 | isDeprecated | bool | 1..1 | 1.2.0 | - | 15 | name | string | 1..1 | 1.2.0 | - | 16 | shortName | string | 1..1 | 1.2.0 | - | 17 | symbol | string | 1..1 | 1.2.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 6 | category | Guid | 0..* | 1.2.0 | + | 7 | definition | Guid | 0..* | 1.2.0 | + | 8 | degreeOfInterpolation | int | 0..1 | 1.2.0 | + | 9 | dependentParameterType | Guid | 1..* | 1.2.0 | + | 10 | hyperLink | Guid | 0..* | 1.2.0 | + | 11 | independentParameterType | Guid | 1..* | 1.2.0 | + | 12 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | + | 13 | isDeprecated | bool | 1..1 | 1.2.0 | + | 14 | name | string | 1..1 | 1.2.0 | + | 15 | shortName | string | 1..1 | 1.2.0 | + | 16 | symbol | string | 1..1 | 1.2.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -124,11 +124,6 @@ public void Serialize(ref MessagePackWriter writer, SampledFunctionParameterType { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(sampledFunctionParameterType.Attachment.Count); - foreach (var identifier in sampledFunctionParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(sampledFunctionParameterType.Category.Count); foreach (var identifier in sampledFunctionParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -184,6 +179,11 @@ public void Serialize(ref MessagePackWriter writer, SampledFunctionParameterType { writer.WriteNil(); } + writer.WriteArrayHeader(sampledFunctionParameterType.Attachment.Count); + foreach (var identifier in sampledFunctionParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -252,27 +252,20 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me } break; case 6: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - sampledFunctionParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { sampledFunctionParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { sampledFunctionParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: if (reader.TryReadNil()) { sampledFunctionParameterType.DegreeOfInterpolation = null; @@ -282,7 +275,7 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me sampledFunctionParameterType.DegreeOfInterpolation = reader.ReadInt32(); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -293,14 +286,14 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me sampledFunctionParameterType.DependentParameterType.Add(orderedItem); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { sampledFunctionParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -311,7 +304,7 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me sampledFunctionParameterType.IndependentParameterType.Add(orderedItem); } break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); var sampledFunctionParameterTypeInterpolationPeriod = new List(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) @@ -320,22 +313,22 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me } sampledFunctionParameterType.InterpolationPeriod = new ValueArray(sampledFunctionParameterTypeInterpolationPeriod); break; - case 14: + case 13: sampledFunctionParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 15: + case 14: sampledFunctionParameterType.Name = reader.ReadString(); break; - case 16: + case 15: sampledFunctionParameterType.ShortName = reader.ReadString(); break; - case 17: + case 16: sampledFunctionParameterType.Symbol = reader.ReadString(); break; - case 18: + case 17: sampledFunctionParameterType.ThingPreference = reader.ReadString(); break; - case 19: + case 18: if (reader.TryReadNil()) { sampledFunctionParameterType.Actor = null; @@ -345,6 +338,13 @@ public SampledFunctionParameterType Deserialize(ref MessagePackReader reader, Me sampledFunctionParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 19: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + sampledFunctionParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs index b56fce392..b40b4c06f 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ScaleValueDefinitionMessagePackFormatter.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | value | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | shortName | string | 1..1 | 1.0.0 | + | 7 | value | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,11 +107,6 @@ public void Serialize(ref MessagePackWriter writer, ScaleValueDefinition scaleVa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(scaleValueDefinition.Attachment.Count); - foreach (var identifier in scaleValueDefinition.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(scaleValueDefinition.Definition.Count); foreach (var identifier in scaleValueDefinition.Definition.OrderBy(x => x, guidComparer)) { @@ -145,6 +140,11 @@ public void Serialize(ref MessagePackWriter writer, ScaleValueDefinition scaleVa { writer.WriteNil(); } + writer.WriteArrayHeader(scaleValueDefinition.Attachment.Count); + foreach (var identifier in scaleValueDefinition.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -196,56 +196,49 @@ public ScaleValueDefinition Deserialize(ref MessagePackReader reader, MessagePac } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - scaleValueDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { scaleValueDefinition.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { scaleValueDefinition.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: scaleValueDefinition.Name = reader.ReadString(); break; - case 7: + case 6: scaleValueDefinition.ShortName = reader.ReadString(); break; - case 8: + case 7: scaleValueDefinition.Value = reader.ReadString(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { scaleValueDefinition.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { scaleValueDefinition.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: scaleValueDefinition.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 11: scaleValueDefinition.ThingPreference = reader.ReadString(); break; - case 13: + case 12: if (reader.TryReadNil()) { scaleValueDefinition.Actor = null; @@ -255,6 +248,13 @@ public ScaleValueDefinition Deserialize(ref MessagePackReader reader, MessagePac scaleValueDefinition.Actor = reader.ReadBytes().ToGuid(); } break; + case 13: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + scaleValueDefinition.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs index 3f89f0350..146e29ccf 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleQuantityKindMessagePackFormatter.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultScale | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | possibleScale | Guid | 0..* | 1.0.0 | - | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultScale | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | possibleScale | Guid | 0..* | 1.0.0 | + | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | symbol | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -112,11 +112,6 @@ public void Serialize(ref MessagePackWriter writer, SimpleQuantityKind simpleQua { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(simpleQuantityKind.Attachment.Count); - foreach (var identifier in simpleQuantityKind.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(simpleQuantityKind.Category.Count); foreach (var identifier in simpleQuantityKind.Category.OrderBy(x => x, guidComparer)) { @@ -163,6 +158,11 @@ public void Serialize(ref MessagePackWriter writer, SimpleQuantityKind simpleQua { writer.WriteNil(); } + writer.WriteArrayHeader(simpleQuantityKind.Attachment.Count); + foreach (var identifier in simpleQuantityKind.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -214,79 +214,72 @@ public SimpleQuantityKind Deserialize(ref MessagePackReader reader, MessagePackS } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - simpleQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: simpleQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: simpleQuantityKind.IsDeprecated = reader.ReadBoolean(); break; - case 9: + case 8: simpleQuantityKind.Name = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.PossibleScale.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: simpleQuantityKind.QuantityDimensionSymbol = reader.ReadString(); break; - case 12: + case 11: simpleQuantityKind.ShortName = reader.ReadString(); break; - case 13: + case 12: simpleQuantityKind.Symbol = reader.ReadString(); break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleQuantityKind.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: simpleQuantityKind.ModifiedOn = reader.ReadDateTime(); break; - case 17: + case 16: simpleQuantityKind.ThingPreference = reader.ReadString(); break; - case 18: + case 17: if (reader.TryReadNil()) { simpleQuantityKind.Actor = null; @@ -296,6 +289,13 @@ public SimpleQuantityKind Deserialize(ref MessagePackReader reader, MessagePackS simpleQuantityKind.Actor = reader.ReadBytes().ToGuid(); } break; + case 18: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + simpleQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs index 23b9a19c8..87e5d8ead 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SimpleUnitMessagePackFormatter.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,11 +107,6 @@ public void Serialize(ref MessagePackWriter writer, SimpleUnit simpleUnit, Messa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(simpleUnit.Attachment.Count); - foreach (var identifier in simpleUnit.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(simpleUnit.Definition.Count); foreach (var identifier in simpleUnit.Definition.OrderBy(x => x, guidComparer)) { @@ -145,6 +140,11 @@ public void Serialize(ref MessagePackWriter writer, SimpleUnit simpleUnit, Messa { writer.WriteNil(); } + writer.WriteArrayHeader(simpleUnit.Attachment.Count); + foreach (var identifier in simpleUnit.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -196,56 +196,49 @@ public SimpleUnit Deserialize(ref MessagePackReader reader, MessagePackSerialize } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - simpleUnit.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleUnit.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleUnit.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: simpleUnit.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: simpleUnit.Name = reader.ReadString(); break; - case 8: + case 7: simpleUnit.ShortName = reader.ReadString(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleUnit.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { simpleUnit.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: simpleUnit.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 11: simpleUnit.ThingPreference = reader.ReadString(); break; - case 13: + case 12: if (reader.TryReadNil()) { simpleUnit.Actor = null; @@ -255,6 +248,13 @@ public SimpleUnit Deserialize(ref MessagePackReader reader, MessagePackSerialize simpleUnit.Actor = reader.ReadBytes().ToGuid(); } break; + case 13: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + simpleUnit.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs index 535226075..fc5e57f73 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SiteReferenceDataLibraryMessagePackFormatter.cs @@ -34,30 +34,30 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 5 | baseUnit | Guid | 0..* | 1.0.0 | - | 6 | constant | Guid | 0..* | 1.0.0 | - | 7 | definedCategory | Guid | 0..* | 1.0.0 | - | 8 | definition | Guid | 0..* | 1.0.0 | - | 9 | fileType | Guid | 0..* | 1.0.0 | - | 10 | glossary | Guid | 0..* | 1.0.0 | - | 11 | hyperLink | Guid | 0..* | 1.0.0 | - | 12 | isDeprecated | bool | 1..1 | 1.0.0 | - | 13 | name | string | 1..1 | 1.0.0 | - | 14 | parameterType | Guid | 0..* | 1.0.0 | - | 15 | referenceSource | Guid | 0..* | 1.0.0 | - | 16 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 17 | rule | Guid | 0..* | 1.0.0 | - | 18 | scale | Guid | 0..* | 1.0.0 | - | 19 | shortName | string | 1..1 | 1.0.0 | - | 20 | unit | Guid | 0..* | 1.0.0 | - | 21 | unitPrefix | Guid | 0..* | 1.0.0 | - | 22 | excludedDomain | Guid | 0..* | 1.1.0 | - | 23 | excludedPerson | Guid | 0..* | 1.1.0 | - | 24 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 25 | thingPreference | string | 0..1 | 1.2.0 | - | 26 | actor | Guid | 0..1 | 1.3.0 | + | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 4 | baseUnit | Guid | 0..* | 1.0.0 | + | 5 | constant | Guid | 0..* | 1.0.0 | + | 6 | definedCategory | Guid | 0..* | 1.0.0 | + | 7 | definition | Guid | 0..* | 1.0.0 | + | 8 | fileType | Guid | 0..* | 1.0.0 | + | 9 | glossary | Guid | 0..* | 1.0.0 | + | 10 | hyperLink | Guid | 0..* | 1.0.0 | + | 11 | isDeprecated | bool | 1..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | parameterType | Guid | 0..* | 1.0.0 | + | 14 | referenceSource | Guid | 0..* | 1.0.0 | + | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 16 | rule | Guid | 0..* | 1.0.0 | + | 17 | scale | Guid | 0..* | 1.0.0 | + | 18 | shortName | string | 1..1 | 1.0.0 | + | 19 | unit | Guid | 0..* | 1.0.0 | + | 20 | unitPrefix | Guid | 0..* | 1.0.0 | + | 21 | excludedDomain | Guid | 0..* | 1.1.0 | + | 22 | excludedPerson | Guid | 0..* | 1.1.0 | + | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 24 | thingPreference | string | 0..1 | 1.2.0 | + | 25 | actor | Guid | 0..1 | 1.3.0 | + | 26 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -120,11 +120,6 @@ public void Serialize(ref MessagePackWriter writer, SiteReferenceDataLibrary sit { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(siteReferenceDataLibrary.Attachment.Count); - foreach (var identifier in siteReferenceDataLibrary.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(siteReferenceDataLibrary.BaseQuantityKind.Count); foreach (var orderedItem in siteReferenceDataLibrary.BaseQuantityKind.OrderBy(x => x, orderedItemComparer)) { @@ -228,6 +223,11 @@ public void Serialize(ref MessagePackWriter writer, SiteReferenceDataLibrary sit { writer.WriteNil(); } + writer.WriteArrayHeader(siteReferenceDataLibrary.Attachment.Count); + foreach (var identifier in siteReferenceDataLibrary.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -279,13 +279,6 @@ public SiteReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messag } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - siteReferenceDataLibrary.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { @@ -296,76 +289,76 @@ public SiteReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messag siteReferenceDataLibrary.BaseQuantityKind.Add(orderedItem); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.BaseUnit.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Constant.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.DefinedCategory.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.FileType.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Glossary.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: siteReferenceDataLibrary.IsDeprecated = reader.ReadBoolean(); break; - case 13: + case 12: siteReferenceDataLibrary.Name = reader.ReadString(); break; - case 14: + case 13: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ParameterType.Add(reader.ReadBytes().ToGuid()); } break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ReferenceSource.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: if (reader.TryReadNil()) { siteReferenceDataLibrary.RequiredRdl = null; @@ -375,58 +368,58 @@ public SiteReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messag siteReferenceDataLibrary.RequiredRdl = reader.ReadBytes().ToGuid(); } break; - case 17: + case 16: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Rule.Add(reader.ReadBytes().ToGuid()); } break; - case 18: + case 17: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Scale.Add(reader.ReadBytes().ToGuid()); } break; - case 19: + case 18: siteReferenceDataLibrary.ShortName = reader.ReadString(); break; - case 20: + case 19: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.Unit.Add(reader.ReadBytes().ToGuid()); } break; - case 21: + case 20: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.UnitPrefix.Add(reader.ReadBytes().ToGuid()); } break; - case 22: + case 21: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 23: + case 22: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { siteReferenceDataLibrary.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 24: + case 23: siteReferenceDataLibrary.ModifiedOn = reader.ReadDateTime(); break; - case 25: + case 24: siteReferenceDataLibrary.ThingPreference = reader.ReadString(); break; - case 26: + case 25: if (reader.TryReadNil()) { siteReferenceDataLibrary.Actor = null; @@ -436,6 +429,13 @@ public SiteReferenceDataLibrary Deserialize(ref MessagePackReader reader, Messag siteReferenceDataLibrary.Actor = reader.ReadBytes().ToGuid(); } break; + case 26: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + siteReferenceDataLibrary.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs index 365f5805b..90c0170a5 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/SpecializedQuantityKindMessagePackFormatter.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultScale | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | general | Guid | 1..1 | 1.0.0 | - | 8 | hyperLink | Guid | 0..* | 1.0.0 | - | 9 | isDeprecated | bool | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | possibleScale | Guid | 0..* | 1.0.0 | - | 12 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | symbol | string | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultScale | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | general | Guid | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | possibleScale | Guid | 0..* | 1.0.0 | + | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -113,11 +113,6 @@ public void Serialize(ref MessagePackWriter writer, SpecializedQuantityKind spec { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(specializedQuantityKind.Attachment.Count); - foreach (var identifier in specializedQuantityKind.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(specializedQuantityKind.Category.Count); foreach (var identifier in specializedQuantityKind.Category.OrderBy(x => x, guidComparer)) { @@ -165,6 +160,11 @@ public void Serialize(ref MessagePackWriter writer, SpecializedQuantityKind spec { writer.WriteNil(); } + writer.WriteArrayHeader(specializedQuantityKind.Attachment.Count); + foreach (var identifier in specializedQuantityKind.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -216,82 +216,75 @@ public SpecializedQuantityKind Deserialize(ref MessagePackReader reader, Message } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - specializedQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: specializedQuantityKind.DefaultScale = reader.ReadBytes().ToGuid(); break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: specializedQuantityKind.General = reader.ReadBytes().ToGuid(); break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: specializedQuantityKind.IsDeprecated = reader.ReadBoolean(); break; - case 10: + case 9: specializedQuantityKind.Name = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.PossibleScale.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: specializedQuantityKind.QuantityDimensionSymbol = reader.ReadString(); break; - case 13: + case 12: specializedQuantityKind.ShortName = reader.ReadString(); break; - case 14: + case 13: specializedQuantityKind.Symbol = reader.ReadString(); break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { specializedQuantityKind.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 16: specializedQuantityKind.ModifiedOn = reader.ReadDateTime(); break; - case 18: + case 17: specializedQuantityKind.ThingPreference = reader.ReadString(); break; - case 19: + case 18: if (reader.TryReadNil()) { specializedQuantityKind.Actor = null; @@ -301,6 +294,13 @@ public SpecializedQuantityKind Deserialize(ref MessagePackReader reader, Message specializedQuantityKind.Actor = reader.ReadBytes().ToGuid(); } break; + case 19: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + specializedQuantityKind.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs index 3a382f3be..00a511edb 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeHolderValueMapMessagePackFormatter.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | goal | Guid | 0..* | 1.1.0 | - | 9 | hyperLink | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | name | string | 1..1 | 1.1.0 | - | 12 | requirement | Guid | 0..* | 1.1.0 | - | 13 | settings | Guid | 1..1 | 1.1.0 | - | 14 | shortName | string | 1..1 | 1.1.0 | - | 15 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 16 | valueGroup | Guid | 0..* | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | goal | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | requirement | Guid | 0..* | 1.1.0 | + | 12 | settings | Guid | 1..1 | 1.1.0 | + | 13 | shortName | string | 1..1 | 1.1.0 | + | 14 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 15 | valueGroup | Guid | 0..* | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -112,11 +112,6 @@ public void Serialize(ref MessagePackWriter writer, StakeHolderValueMap stakeHol { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(stakeHolderValueMap.Attachment.Count); - foreach (var identifier in stakeHolderValueMap.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(stakeHolderValueMap.Category.Count); foreach (var identifier in stakeHolderValueMap.Category.OrderBy(x => x, guidComparer)) { @@ -179,6 +174,11 @@ public void Serialize(ref MessagePackWriter writer, StakeHolderValueMap stakeHol { writer.WriteNil(); } + writer.WriteArrayHeader(stakeHolderValueMap.Attachment.Count); + foreach (var identifier in stakeHolderValueMap.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -230,95 +230,88 @@ public StakeHolderValueMap Deserialize(ref MessagePackReader reader, MessagePack } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - stakeHolderValueMap.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.Goal.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: stakeHolderValueMap.ModifiedOn = reader.ReadDateTime(); break; - case 11: + case 10: stakeHolderValueMap.Name = reader.ReadString(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.Requirement.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.Settings.Add(reader.ReadBytes().ToGuid()); } break; - case 14: + case 13: stakeHolderValueMap.ShortName = reader.ReadString(); break; - case 15: + case 14: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.StakeholderValue.Add(reader.ReadBytes().ToGuid()); } break; - case 16: + case 15: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeHolderValueMap.ValueGroup.Add(reader.ReadBytes().ToGuid()); } break; - case 17: + case 16: stakeHolderValueMap.ThingPreference = reader.ReadString(); break; - case 18: + case 17: if (reader.TryReadNil()) { stakeHolderValueMap.Actor = null; @@ -328,6 +321,13 @@ public StakeHolderValueMap Deserialize(ref MessagePackReader reader, MessagePack stakeHolderValueMap.Actor = reader.ReadBytes().ToGuid(); } break; + case 18: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + stakeHolderValueMap.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs index 3287748cb..d645c5cf1 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, Stakeholder stakeholder, Mes { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(stakeholder.Attachment.Count); - foreach (var identifier in stakeholder.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(stakeholder.Category.Count); foreach (var identifier in stakeholder.Category.OrderBy(x => x, guidComparer)) { @@ -155,6 +150,11 @@ public void Serialize(ref MessagePackWriter writer, Stakeholder stakeholder, Mes { writer.WriteNil(); } + writer.WriteArrayHeader(stakeholder.Attachment.Count); + foreach (var identifier in stakeholder.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -206,67 +206,60 @@ public Stakeholder Deserialize(ref MessagePackReader reader, MessagePackSerializ } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - stakeholder.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholder.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholder.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholder.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholder.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholder.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: stakeholder.ModifiedOn = reader.ReadDateTime(); break; - case 10: + case 9: stakeholder.Name = reader.ReadString(); break; - case 11: + case 10: stakeholder.ShortName = reader.ReadString(); break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholder.StakeholderValue.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: stakeholder.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { stakeholder.Actor = null; @@ -276,6 +269,13 @@ public Stakeholder Deserialize(ref MessagePackReader reader, MessagePackSerializ stakeholder.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + stakeholder.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs index d2bcc0a9f..24a5eabc8 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/StakeholderValueMessagePackFormatter.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,11 +107,6 @@ public void Serialize(ref MessagePackWriter writer, StakeholderValue stakeholder { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(stakeholderValue.Attachment.Count); - foreach (var identifier in stakeholderValue.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(stakeholderValue.Category.Count); foreach (var identifier in stakeholderValue.Category.OrderBy(x => x, guidComparer)) { @@ -149,6 +144,11 @@ public void Serialize(ref MessagePackWriter writer, StakeholderValue stakeholder { writer.WriteNil(); } + writer.WriteArrayHeader(stakeholderValue.Attachment.Count); + foreach (var identifier in stakeholderValue.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -200,60 +200,53 @@ public StakeholderValue Deserialize(ref MessagePackReader reader, MessagePackSer } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - stakeholderValue.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholderValue.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholderValue.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholderValue.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholderValue.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { stakeholderValue.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: stakeholderValue.ModifiedOn = reader.ReadDateTime(); break; - case 10: + case 9: stakeholderValue.Name = reader.ReadString(); break; - case 11: + case 10: stakeholderValue.ShortName = reader.ReadString(); break; - case 12: + case 11: stakeholderValue.ThingPreference = reader.ReadString(); break; - case 13: + case 12: if (reader.TryReadNil()) { stakeholderValue.Actor = null; @@ -263,6 +256,13 @@ public StakeholderValue Deserialize(ref MessagePackReader reader, MessagePackSer stakeholderValue.Actor = reader.ReadBytes().ToGuid(); } break; + case 13: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + stakeholderValue.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs index d8996b101..219814326 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TermMessagePackFormatter.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,11 +107,6 @@ public void Serialize(ref MessagePackWriter writer, Term term, MessagePackSerial { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(term.Attachment.Count); - foreach (var identifier in term.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(term.Definition.Count); foreach (var identifier in term.Definition.OrderBy(x => x, guidComparer)) { @@ -145,6 +140,11 @@ public void Serialize(ref MessagePackWriter writer, Term term, MessagePackSerial { writer.WriteNil(); } + writer.WriteArrayHeader(term.Attachment.Count); + foreach (var identifier in term.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -196,56 +196,49 @@ public Term Deserialize(ref MessagePackReader reader, MessagePackSerializerOptio } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - term.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { term.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { term.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: term.IsDeprecated = reader.ReadBoolean(); break; - case 7: + case 6: term.Name = reader.ReadString(); break; - case 8: + case 7: term.ShortName = reader.ReadString(); break; - case 9: + case 8: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { term.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { term.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: term.ModifiedOn = reader.ReadDateTime(); break; - case 12: + case 11: term.ThingPreference = reader.ReadString(); break; - case 13: + case 12: if (reader.TryReadNil()) { term.Actor = null; @@ -255,6 +248,13 @@ public Term Deserialize(ref MessagePackReader reader, MessagePackSerializerOptio term.Actor = reader.ReadBytes().ToGuid(); } break; + case 13: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + term.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs index 0791266f1..70e51d8e6 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TextParameterTypeMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, TextParameterType textParame { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(textParameterType.Attachment.Count); - foreach (var identifier in textParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(textParameterType.Category.Count); foreach (var identifier in textParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, TextParameterType textParame { writer.WriteNil(); } + writer.WriteArrayHeader(textParameterType.Attachment.Count); + foreach (var identifier in textParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,66 +204,59 @@ public TextParameterType Deserialize(ref MessagePackReader reader, MessagePackSe } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - textParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { textParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { textParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { textParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: textParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: textParameterType.Name = reader.ReadString(); break; - case 9: + case 8: textParameterType.ShortName = reader.ReadString(); break; - case 10: + case 9: textParameterType.Symbol = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { textParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { textParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: textParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: textParameterType.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { textParameterType.Actor = null; @@ -273,6 +266,13 @@ public TextParameterType Deserialize(ref MessagePackReader reader, MessagePackSe textParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + textParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs index 79d14511a..76fa8e29d 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/TimeOfDayParameterTypeMessagePackFormatter.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -109,11 +109,6 @@ public void Serialize(ref MessagePackWriter writer, TimeOfDayParameterType timeO { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(timeOfDayParameterType.Attachment.Count); - foreach (var identifier in timeOfDayParameterType.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(timeOfDayParameterType.Category.Count); foreach (var identifier in timeOfDayParameterType.Category.OrderBy(x => x, guidComparer)) { @@ -153,6 +148,11 @@ public void Serialize(ref MessagePackWriter writer, TimeOfDayParameterType timeO { writer.WriteNil(); } + writer.WriteArrayHeader(timeOfDayParameterType.Attachment.Count); + foreach (var identifier in timeOfDayParameterType.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -204,66 +204,59 @@ public TimeOfDayParameterType Deserialize(ref MessagePackReader reader, MessageP } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - timeOfDayParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { timeOfDayParameterType.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { timeOfDayParameterType.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { timeOfDayParameterType.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: timeOfDayParameterType.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: timeOfDayParameterType.Name = reader.ReadString(); break; - case 9: + case 8: timeOfDayParameterType.ShortName = reader.ReadString(); break; - case 10: + case 9: timeOfDayParameterType.Symbol = reader.ReadString(); break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { timeOfDayParameterType.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { timeOfDayParameterType.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 13: + case 12: timeOfDayParameterType.ModifiedOn = reader.ReadDateTime(); break; - case 14: + case 13: timeOfDayParameterType.ThingPreference = reader.ReadString(); break; - case 15: + case 14: if (reader.TryReadNil()) { timeOfDayParameterType.Actor = null; @@ -273,6 +266,13 @@ public TimeOfDayParameterType Deserialize(ref MessagePackReader reader, MessageP timeOfDayParameterType.Actor = reader.ReadBytes().ToGuid(); } break; + case 15: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + timeOfDayParameterType.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs index 06f772447..6e551208a 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/UnitPrefixMessagePackFormatter.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | conversionFactor | string | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | conversionFactor | string | 1..1 | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -108,11 +108,6 @@ public void Serialize(ref MessagePackWriter writer, UnitPrefix unitPrefix, Messa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(unitPrefix.Attachment.Count); - foreach (var identifier in unitPrefix.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.Write(unitPrefix.ConversionFactor); writer.WriteArrayHeader(unitPrefix.Definition.Count); foreach (var identifier in unitPrefix.Definition.OrderBy(x => x, guidComparer)) @@ -147,6 +142,11 @@ public void Serialize(ref MessagePackWriter writer, UnitPrefix unitPrefix, Messa { writer.WriteNil(); } + writer.WriteArrayHeader(unitPrefix.Attachment.Count); + foreach (var identifier in unitPrefix.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -198,59 +198,52 @@ public UnitPrefix Deserialize(ref MessagePackReader reader, MessagePackSerialize } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - unitPrefix.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: unitPrefix.ConversionFactor = reader.ReadString(); break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: unitPrefix.IsDeprecated = reader.ReadBoolean(); break; - case 8: + case 7: unitPrefix.Name = reader.ReadString(); break; - case 9: + case 8: unitPrefix.ShortName = reader.ReadString(); break; - case 10: + case 9: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 11: + case 10: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { unitPrefix.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 12: + case 11: unitPrefix.ModifiedOn = reader.ReadDateTime(); break; - case 13: + case 12: unitPrefix.ThingPreference = reader.ReadString(); break; - case 14: + case 13: if (reader.TryReadNil()) { unitPrefix.Actor = null; @@ -260,6 +253,13 @@ public UnitPrefix Deserialize(ref MessagePackReader reader, MessagePackSerialize unitPrefix.Actor = reader.ReadBytes().ToGuid(); } break; + case 14: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + unitPrefix.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs index ddd018e3b..6430ab5fb 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ValueGroupMessagePackFormatter.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -107,11 +107,6 @@ public void Serialize(ref MessagePackWriter writer, ValueGroup valueGroup, Messa { writer.Write(identifier.ToByteArray()); } - writer.WriteArrayHeader(valueGroup.Attachment.Count); - foreach (var identifier in valueGroup.Attachment.OrderBy(x => x, guidComparer)) - { - writer.Write(identifier.ToByteArray()); - } writer.WriteArrayHeader(valueGroup.Category.Count); foreach (var identifier in valueGroup.Category.OrderBy(x => x, guidComparer)) { @@ -149,6 +144,11 @@ public void Serialize(ref MessagePackWriter writer, ValueGroup valueGroup, Messa { writer.WriteNil(); } + writer.WriteArrayHeader(valueGroup.Attachment.Count); + foreach (var identifier in valueGroup.Attachment.OrderBy(x => x, guidComparer)) + { + writer.Write(identifier.ToByteArray()); + } writer.Flush(); } @@ -200,60 +200,53 @@ public ValueGroup Deserialize(ref MessagePackReader reader, MessagePackSerialize } break; case 3: - valueLength = reader.ReadArrayHeader(); - for (valueCounter = 0; valueCounter < valueLength; valueCounter++) - { - valueGroup.Attachment.Add(reader.ReadBytes().ToGuid()); - } - break; - case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { valueGroup.Category.Add(reader.ReadBytes().ToGuid()); } break; - case 5: + case 4: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { valueGroup.Definition.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { valueGroup.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { valueGroup.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { valueGroup.HyperLink.Add(reader.ReadBytes().ToGuid()); } break; - case 9: + case 8: valueGroup.ModifiedOn = reader.ReadDateTime(); break; - case 10: + case 9: valueGroup.Name = reader.ReadString(); break; - case 11: + case 10: valueGroup.ShortName = reader.ReadString(); break; - case 12: + case 11: valueGroup.ThingPreference = reader.ReadString(); break; - case 13: + case 12: if (reader.TryReadNil()) { valueGroup.Actor = null; @@ -263,6 +256,13 @@ public ValueGroup Deserialize(ref MessagePackReader reader, MessagePackSerialize valueGroup.Actor = reader.ReadBytes().ToGuid(); } break; + case 13: + valueLength = reader.ReadArrayHeader(); + for (valueCounter = 0; valueCounter < valueLength; valueCounter++) + { + valueGroup.Attachment.Add(reader.ReadBytes().ToGuid()); + } + break; default: reader.Skip(); break; diff --git a/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs b/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs index 82f73be14..ff3819516 100644 --- a/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs +++ b/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs @@ -250,7 +250,7 @@ public async Task VerifyThatReadReturnsCorrectDTO() Assert.NotNull(returned); Assert.IsNotEmpty(returned); - var sd = returned.First(); + var sd = returned.OfType().First() as CDP4Common.DTO.Thing; var attributes = new QueryAttributes(); var readResult = await dal.Read(sd, this.cancelationTokenSource.Token, attributes); diff --git a/CDP4ServicesDal.Tests/CdpServicesDalTestFixture.cs b/CDP4ServicesDal.Tests/CdpServicesDalTestFixture.cs index 784b81cff..4a43b54b5 100644 --- a/CDP4ServicesDal.Tests/CdpServicesDalTestFixture.cs +++ b/CDP4ServicesDal.Tests/CdpServicesDalTestFixture.cs @@ -231,7 +231,7 @@ public async Task VerifyThatReadReturnsCorrectDTO() Assert.NotNull(returned); Assert.IsNotEmpty(returned); - var sd = returned.First(); + var sd = returned.OfType().First() as CDP4Common.DTO.Thing; var attributes = new QueryAttributes(); var readResult = await this.dal.Read(sd, this.cancelationTokenSource.Token, attributes); diff --git a/CDP4ServicesDal/CdpServicesDal.cs b/CDP4ServicesDal/CdpServicesDal.cs index 9e9ed50e7..aee8031c4 100644 --- a/CDP4ServicesDal/CdpServicesDal.cs +++ b/CDP4ServicesDal/CdpServicesDal.cs @@ -1,17 +1,17 @@ // ------------------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2023 RHEA System S.A. +// Copyright (c) 2015-2024 RHEA System S.A. // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou, Alexandervan Delft, Nathanael Smiechowski, Ahmed Abulwafa Ahmed // -// This file is part of COMET-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The COMET-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The COMET-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -68,7 +68,7 @@ namespace CDP4ServicesDal /// The purpose of the is to provide the Data Access Layer for CDP4 ECSS-E-TM-10-25 /// Annex C, REST API /// - [DalExport("COMET/CDP4 Services", "A COMET, or CDP4 Services Data Access Layer", "1.3.0", DalType.Web)] + [DalExport("COMET/CDP4 Services", "A COMET, or CDP4 Services Data Access Layer", "1.4.0", DalType.Web)] #if NETFRAMEWORK [PartCreationPolicy(CreationPolicy.NonShared)] #endif diff --git a/CDP4ServicesDal/Headers.cs b/CDP4ServicesDal/Headers.cs index a2caecccd..8c747fd8b 100644 --- a/CDP4ServicesDal/Headers.cs +++ b/CDP4ServicesDal/Headers.cs @@ -1,17 +1,17 @@ // -------------------------------------------------------------------------------------------------------------------- // -// Copyright (c) 2015-2019 RHEA System S.A. +// Copyright (c) 2015-2024 RHEA System S.A. // // Author: Sam Gerené, Merlin Bieze, Alex Vorobiev, Naron Phou // -// This file is part of CDP4-SDK Community Edition +// This file is part of CDP4-COMET SDK Community Edition // -// The CDP4-SDK Community Edition is free software; you can redistribute it and/or +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) any later version. // -// The CDP4-SDK Community Edition is distributed in the hope that it will be useful, +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. @@ -67,6 +67,6 @@ internal static class Headers /// /// The header that specifies the version of CDP extensions that are accepted /// - internal const string AcceptCdpVersionValue = "1.3.0"; + internal const string AcceptCdpVersionValue = "1.4.0"; } } \ No newline at end of file From 11b2966818067fc6bd3d3485d0be361d4e290dbf Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Fri, 19 Jan 2024 12:26:37 +0100 Subject: [PATCH 03/10] Finetune attachment version number --- .../ArrayParameterTypeEquatable.cs | 38 ++++++------- .../BinaryRelationshipRuleEquatable.cs | 36 ++++++------ .../BooleanParameterTypeEquatable.cs | 30 +++++----- .../AutoGenEquatable/CategoryEquatable.cs | 32 +++++------ .../CompoundParameterTypeEquatable.cs | 34 +++++------ .../AutoGenEquatable/ConstantEquatable.cs | 34 +++++------ .../CyclicRatioScaleEquatable.cs | 48 ++++++++-------- .../DateParameterTypeEquatable.cs | 30 +++++----- .../DateTimeParameterTypeEquatable.cs | 30 +++++----- .../DecompositionRuleEquatable.cs | 34 +++++------ .../DerivedQuantityKindEquatable.cs | 38 ++++++------- .../AutoGenEquatable/DerivedUnitEquatable.cs | 28 +++++----- .../DomainOfExpertiseEquatable.cs | 28 +++++----- .../DomainOfExpertiseGroupEquatable.cs | 28 +++++----- .../ElementDefinitionEquatable.cs | 38 ++++++------- .../AutoGenEquatable/ElementUsageEquatable.cs | 36 ++++++------ .../EngineeringModelSetupEquatable.cs | 42 +++++++------- .../EnumerationParameterTypeEquatable.cs | 32 +++++------ .../EnumerationValueDefinitionEquatable.cs | 24 ++++---- .../AutoGenEquatable/FileTypeEquatable.cs | 30 +++++----- .../AutoGenEquatable/GlossaryEquatable.cs | 30 +++++----- CDP4Common/AutoGenEquatable/GoalEquatable.cs | 26 ++++----- .../IntervalScaleEquatable.cs | 46 +++++++-------- .../LinearConversionUnitEquatable.cs | 30 +++++----- .../LogarithmicScaleEquatable.cs | 56 +++++++++---------- .../ModelReferenceDataLibraryEquatable.cs | 50 ++++++++--------- .../MultiRelationshipRuleEquatable.cs | 34 +++++------ .../AutoGenEquatable/OptionEquatable.cs | 28 +++++----- .../AutoGenEquatable/OrdinalScaleEquatable.cs | 48 ++++++++-------- .../ParameterizedCategoryRuleEquatable.cs | 30 +++++----- .../ParticipantRoleEquatable.cs | 28 +++++----- .../AutoGenEquatable/PersonRoleEquatable.cs | 28 +++++----- .../PossibleFiniteStateEquatable.cs | 24 ++++---- .../PossibleFiniteStateListEquatable.cs | 32 +++++------ .../AutoGenEquatable/PrefixedUnitEquatable.cs | 26 ++++----- .../AutoGenEquatable/RatioScaleEquatable.cs | 46 +++++++-------- .../ReferenceSourceEquatable.cs | 42 +++++++------- .../ReferencerRuleEquatable.cs | 34 +++++------ .../AutoGenEquatable/RequirementEquatable.cs | 36 ++++++------ .../RequirementsGroupEquatable.cs | 32 +++++------ .../RequirementsSpecificationEquatable.cs | 36 ++++++------ .../RuleVerificationListEquatable.cs | 28 +++++----- .../SampledFunctionParameterTypeEquatable.cs | 32 +++++------ .../ScaleValueDefinitionEquatable.cs | 26 ++++----- .../SimpleQuantityKindEquatable.cs | 36 ++++++------ .../AutoGenEquatable/SimpleUnitEquatable.cs | 26 ++++----- .../SiteReferenceDataLibraryEquatable.cs | 52 ++++++++--------- .../SpecializedQuantityKindEquatable.cs | 38 ++++++------- .../StakeHolderValueMapEquatable.cs | 36 ++++++------ .../AutoGenEquatable/StakeholderEquatable.cs | 28 +++++----- .../StakeholderValueEquatable.cs | 26 ++++----- CDP4Common/AutoGenEquatable/TermEquatable.cs | 26 ++++----- .../TextParameterTypeEquatable.cs | 30 +++++----- .../TimeOfDayParameterTypeEquatable.cs | 30 +++++----- .../AutoGenEquatable/UnitPrefixEquatable.cs | 28 +++++----- .../AutoGenEquatable/ValueGroupEquatable.cs | 26 ++++----- .../ArrayParameterTypeMetaInfo.cs | 1 + .../AutoGenMetaInfo/BehaviorMetaInfo.cs | 1 + .../BinaryRelationshipRuleMetaInfo.cs | 1 + .../BooleanParameterTypeMetaInfo.cs | 1 + .../AutoGenMetaInfo/CategoryMetaInfo.cs | 1 + .../CompoundParameterTypeMetaInfo.cs | 1 + .../AutoGenMetaInfo/ConstantMetaInfo.cs | 1 + .../ConversionBasedUnitMetaInfo.cs | 1 + .../CyclicRatioScaleMetaInfo.cs | 1 + .../DateParameterTypeMetaInfo.cs | 1 + .../DateTimeParameterTypeMetaInfo.cs | 1 + .../DecompositionRuleMetaInfo.cs | 1 + .../AutoGenMetaInfo/DefinedThingMetaInfo.cs | 1 + .../DerivedQuantityKindMetaInfo.cs | 1 + .../AutoGenMetaInfo/DerivedUnitMetaInfo.cs | 1 + .../DomainOfExpertiseGroupMetaInfo.cs | 1 + .../DomainOfExpertiseMetaInfo.cs | 1 + .../AutoGenMetaInfo/ElementBaseMetaInfo.cs | 1 + .../ElementDefinitionMetaInfo.cs | 1 + .../AutoGenMetaInfo/ElementUsageMetaInfo.cs | 1 + .../EngineeringModelSetupMetaInfo.cs | 1 + .../EnumerationParameterTypeMetaInfo.cs | 1 + .../EnumerationValueDefinitionMetaInfo.cs | 1 + .../AutoGenMetaInfo/FileTypeMetaInfo.cs | 1 + .../AutoGenMetaInfo/GlossaryMetaInfo.cs | 1 + CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs | 1 + .../AutoGenMetaInfo/IntervalScaleMetaInfo.cs | 1 + .../LinearConversionUnitMetaInfo.cs | 1 + .../LogarithmicScaleMetaInfo.cs | 1 + .../MeasurementScaleMetaInfo.cs | 1 + .../MeasurementUnitMetaInfo.cs | 1 + .../ModelReferenceDataLibraryMetaInfo.cs | 1 + .../MultiRelationshipRuleMetaInfo.cs | 1 + CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs | 1 + .../AutoGenMetaInfo/OrdinalScaleMetaInfo.cs | 1 + .../AutoGenMetaInfo/ParameterTypeMetaInfo.cs | 1 + .../ParameterizedCategoryRuleMetaInfo.cs | 1 + .../ParticipantRoleMetaInfo.cs | 1 + .../AutoGenMetaInfo/PersonRoleMetaInfo.cs | 1 + .../PossibleFiniteStateListMetaInfo.cs | 1 + .../PossibleFiniteStateMetaInfo.cs | 1 + .../AutoGenMetaInfo/PrefixedUnitMetaInfo.cs | 1 + .../AutoGenMetaInfo/QuantityKindMetaInfo.cs | 1 + .../AutoGenMetaInfo/RatioScaleMetaInfo.cs | 1 + .../ReferenceDataLibraryMetaInfo.cs | 1 + .../ReferenceSourceMetaInfo.cs | 1 + .../AutoGenMetaInfo/ReferencerRuleMetaInfo.cs | 1 + .../AutoGenMetaInfo/RequirementMetaInfo.cs | 1 + .../RequirementsContainerMetaInfo.cs | 1 + .../RequirementsGroupMetaInfo.cs | 1 + .../RequirementsSpecificationMetaInfo.cs | 1 + CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs | 1 + .../RuleVerificationListMetaInfo.cs | 1 + .../SampledFunctionParameterTypeMetaInfo.cs | 1 + .../ScalarParameterTypeMetaInfo.cs | 1 + .../ScaleValueDefinitionMetaInfo.cs | 1 + .../SimpleParameterizableThingMetaInfo.cs | 1 + .../SimpleQuantityKindMetaInfo.cs | 1 + .../AutoGenMetaInfo/SimpleUnitMetaInfo.cs | 1 + .../SiteReferenceDataLibraryMetaInfo.cs | 1 + .../SpecializedQuantityKindMetaInfo.cs | 1 + .../StakeHolderValueMapMetaInfo.cs | 1 + .../AutoGenMetaInfo/StakeholderMetaInfo.cs | 1 + .../StakeholderValueMetaInfo.cs | 1 + CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs | 1 + .../TextParameterTypeMetaInfo.cs | 1 + .../TimeOfDayParameterTypeMetaInfo.cs | 1 + .../AutoGenMetaInfo/UnitPrefixMetaInfo.cs | 1 + .../AutoGenMetaInfo/ValueGroupMetaInfo.cs | 1 + 125 files changed, 1009 insertions(+), 940 deletions(-) diff --git a/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs index 62a7fb8f9..74e3d7747 100644 --- a/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ArrayParameterTypeEquatable.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | component | Guid | 1..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | dimension | int | 1..* | 1.0.0 | - | 8 | hyperLink | Guid | 0..* | 1.0.0 | - | 9 | isDeprecated | bool | 1..1 | 1.0.0 | - | 10 | isFinalized | bool | 1..1 | 1.0.0 | - | 11 | isTensor | bool | 1..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | symbol | string | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | component | Guid | 1..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | dimension | int | 1..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | isFinalized | bool | 1..1 | 1.0.0 | + | 10 | isTensor | bool | 1..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,8 +92,6 @@ public static bool ArePropertiesEqual(this ArrayParameterType me, ArrayParameter if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Component.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.Component.OrderBy(x => x.K).Select(x => x.K))) return false; @@ -133,6 +131,8 @@ public static bool ArePropertiesEqual(this ArrayParameterType me, ArrayParameter if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs b/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs index 2b44b4160..3d518f79d 100644 --- a/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BinaryRelationshipRuleEquatable.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | forwardRelationshipName | string | 1..1 | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | inverseRelationshipName | string | 1..1 | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | sourceCategory | Guid | 1..1 | 1.0.0 | - | 13 | targetCategory | Guid | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | forwardRelationshipName | string | 1..1 | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | inverseRelationshipName | string | 1..1 | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | sourceCategory | Guid | 1..1 | 1.0.0 | + | 12 | targetCategory | Guid | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,8 +91,6 @@ public static bool ArePropertiesEqual(this BinaryRelationshipRule me, BinaryRela if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (me.ForwardRelationshipName == null && other.ForwardRelationshipName != null) return false; @@ -129,6 +127,8 @@ public static bool ArePropertiesEqual(this BinaryRelationshipRule me, BinaryRela if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs index 850ed4086..7b1bb247f 100644 --- a/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/BooleanParameterTypeEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this BooleanParameterType me, BooleanParam if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -119,6 +117,8 @@ public static bool ArePropertiesEqual(this BooleanParameterType me, BooleanParam if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CategoryEquatable.cs b/CDP4Common/AutoGenEquatable/CategoryEquatable.cs index 5563fc377..4292a0614 100644 --- a/CDP4Common/AutoGenEquatable/CategoryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CategoryEquatable.cs @@ -34,20 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isAbstract | bool | 1..1 | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | permissibleClass | ClassKind | 1..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | superCategory | Guid | 0..* | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isAbstract | bool | 1..1 | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | permissibleClass | ClassKind | 1..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | superCategory | Guid | 0..* | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | + | 16 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,8 +89,6 @@ public static bool ArePropertiesEqual(this Category me, Category other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -121,6 +119,8 @@ public static bool ArePropertiesEqual(this Category me, Category other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs index affffa486..f1ad12ae9 100644 --- a/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CompoundParameterTypeEquatable.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | component | Guid | 1..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | isFinalized | bool | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | symbol | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | component | Guid | 1..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | isFinalized | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | symbol | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,8 +90,6 @@ public static bool ArePropertiesEqual(this CompoundParameterType me, CompoundPar if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Component.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.Component.OrderBy(x => x.K).Select(x => x.K))) return false; @@ -126,6 +124,8 @@ public static bool ArePropertiesEqual(this CompoundParameterType me, CompoundPar if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ConstantEquatable.cs b/CDP4Common/AutoGenEquatable/ConstantEquatable.cs index edeb41628..038c52524 100644 --- a/CDP4Common/AutoGenEquatable/ConstantEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ConstantEquatable.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | parameterType | Guid | 1..1 | 1.0.0 | - | 10 | scale | Guid | 0..1 | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | value | ValueArray | 1..* | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | parameterType | Guid | 1..1 | 1.0.0 | + | 9 | scale | Guid | 0..1 | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | value | ValueArray | 1..* | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,8 +90,6 @@ public static bool ArePropertiesEqual(this Constant me, Constant other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -125,6 +123,8 @@ public static bool ArePropertiesEqual(this Constant me, Constant other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs b/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs index aaa70239d..6f8b7670a 100644 --- a/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/CyclicRatioScaleEquatable.cs @@ -34,28 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | modulus | string | 1..1 | 1.0.0 | - | 13 | name | string | 1..1 | 1.0.0 | - | 14 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 15 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 16 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 17 | shortName | string | 1..1 | 1.0.0 | - | 18 | unit | Guid | 1..1 | 1.0.0 | - | 19 | valueDefinition | Guid | 0..* | 1.0.0 | - | 20 | excludedDomain | Guid | 0..* | 1.1.0 | - | 21 | excludedPerson | Guid | 0..* | 1.1.0 | - | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 23 | thingPreference | string | 0..1 | 1.2.0 | - | 24 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | modulus | string | 1..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 16 | shortName | string | 1..1 | 1.0.0 | + | 17 | unit | Guid | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | + | 24 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,8 +97,6 @@ public static bool ArePropertiesEqual(this CyclicRatioScale me, CyclicRatioScale if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -150,6 +148,8 @@ public static bool ArePropertiesEqual(this CyclicRatioScale me, CyclicRatioScale if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs index 7d79941a5..572fbc483 100644 --- a/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DateParameterTypeEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this DateParameterType me, DateParameterTy if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -119,6 +117,8 @@ public static bool ArePropertiesEqual(this DateParameterType me, DateParameterTy if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs index 8fdfa7715..323480208 100644 --- a/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DateTimeParameterTypeEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this DateTimeParameterType me, DateTimePar if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -119,6 +117,8 @@ public static bool ArePropertiesEqual(this DateTimeParameterType me, DateTimePar if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs b/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs index b0da37fd3..c2b0718b5 100644 --- a/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DecompositionRuleEquatable.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | containedCategory | Guid | 1..* | 1.0.0 | - | 5 | containingCategory | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | maxContained | int | 0..1 | 1.0.0 | - | 10 | minContained | int | 1..1 | 1.0.0 | - | 11 | name | string | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | containedCategory | Guid | 1..* | 1.0.0 | + | 4 | containingCategory | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | maxContained | int | 0..1 | 1.0.0 | + | 9 | minContained | int | 1..1 | 1.0.0 | + | 10 | name | string | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,8 +90,6 @@ public static bool ArePropertiesEqual(this DecompositionRule me, DecompositionRu if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.ContainedCategory.OrderBy(x => x).SequenceEqual(other.ContainedCategory.OrderBy(x => x))) return false; if (!me.ContainingCategory.Equals(other.ContainingCategory)) return false; @@ -125,6 +123,8 @@ public static bool ArePropertiesEqual(this DecompositionRule me, DecompositionRu if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs b/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs index c0eedbafd..65b228f27 100644 --- a/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DerivedQuantityKindEquatable.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultScale | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | possibleScale | Guid | 0..* | 1.0.0 | - | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 12 | quantityKindFactor | Guid | 1..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | symbol | string | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultScale | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | possibleScale | Guid | 0..* | 1.0.0 | + | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 11 | quantityKindFactor | Guid | 1..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,8 +92,6 @@ public static bool ArePropertiesEqual(this DerivedQuantityKind me, DerivedQuanti if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.DefaultScale.Equals(other.DefaultScale)) return false; @@ -133,6 +131,8 @@ public static bool ArePropertiesEqual(this DerivedQuantityKind me, DerivedQuanti if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs b/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs index 397cb927d..cfa06dd4d 100644 --- a/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DerivedUnitEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | unitFactor | Guid | 1..* | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | unitFactor | Guid | 1..* | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this DerivedUnit me, DerivedUnit other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -116,6 +114,8 @@ public static bool ArePropertiesEqual(this DerivedUnit me, DerivedUnit other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs b/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs index c9cc5c65f..ed662972d 100644 --- a/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DomainOfExpertiseEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this DomainOfExpertise me, DomainOfExperti if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -115,6 +113,8 @@ public static bool ArePropertiesEqual(this DomainOfExpertise me, DomainOfExperti if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs b/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs index cf66ea9a0..54c4d7048 100644 --- a/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DomainOfExpertiseGroupEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | domain | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | domain | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this DomainOfExpertiseGroup me, DomainOfEx if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.Domain.OrderBy(x => x).SequenceEqual(other.Domain.OrderBy(x => x))) return false; @@ -115,6 +113,8 @@ public static bool ArePropertiesEqual(this DomainOfExpertiseGroup me, DomainOfEx if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs b/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs index ba7ee9a28..fa987dd9c 100644 --- a/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ElementDefinitionEquatable.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | containedElement | Guid | 0..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | parameter | Guid | 0..* | 1.0.0 | - | 11 | parameterGroup | Guid | 0..* | 1.0.0 | - | 12 | referencedElement | Guid | 0..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | containedElement | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | parameter | Guid | 0..* | 1.0.0 | + | 10 | parameterGroup | Guid | 0..* | 1.0.0 | + | 11 | referencedElement | Guid | 0..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | | 20 | behavior | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ @@ -93,8 +93,6 @@ public static bool ArePropertiesEqual(this ElementDefinition me, ElementDefiniti if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.ContainedElement.OrderBy(x => x).SequenceEqual(other.ContainedElement.OrderBy(x => x))) return false; @@ -131,6 +129,8 @@ public static bool ArePropertiesEqual(this ElementDefinition me, ElementDefiniti if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.Behavior.OrderBy(x => x).SequenceEqual(other.Behavior.OrderBy(x => x))) return false; return true; diff --git a/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs b/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs index 80eb72d84..674546768 100644 --- a/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ElementUsageEquatable.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | elementDefinition | Guid | 1..1 | 1.0.0 | - | 7 | excludeOption | Guid | 0..* | 1.0.0 | - | 8 | hyperLink | Guid | 0..* | 1.0.0 | - | 9 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | owner | Guid | 1..1 | 1.0.0 | - | 12 | parameterOverride | Guid | 0..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | elementDefinition | Guid | 1..1 | 1.0.0 | + | 6 | excludeOption | Guid | 0..* | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | interfaceEnd | InterfaceEndKind | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | owner | Guid | 1..1 | 1.0.0 | + | 11 | parameterOverride | Guid | 0..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,8 +91,6 @@ public static bool ArePropertiesEqual(this ElementUsage me, ElementUsage other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -127,6 +125,8 @@ public static bool ArePropertiesEqual(this ElementUsage me, ElementUsage other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs b/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs index 96f35114e..fc29f45ec 100644 --- a/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs @@ -35,25 +35,25 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | activeDomain | Guid | 1..* | 1.0.0 | | 3 | alias | Guid | 0..* | 1.0.0 | - | 4 | attachment | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | engineeringModelIid | Guid | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | iterationSetup | Guid | 1..* | 1.0.0 | - | 9 | kind | EngineeringModelKind | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | participant | Guid | 1..* | 1.0.0 | - | 12 | requiredRdl | Guid | 1..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | - | 15 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | - | 16 | excludedDomain | Guid | 0..* | 1.1.0 | - | 17 | excludedPerson | Guid | 0..* | 1.1.0 | - | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 19 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | - | 20 | organizationalParticipant | Guid | 0..* | 1.2.0 | - | 21 | thingPreference | string | 0..1 | 1.2.0 | - | 22 | actor | Guid | 0..1 | 1.3.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | engineeringModelIid | Guid | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | iterationSetup | Guid | 1..* | 1.0.0 | + | 8 | kind | EngineeringModelKind | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | participant | Guid | 1..* | 1.0.0 | + | 11 | requiredRdl | Guid | 1..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | sourceEngineeringModelSetupIid | Guid | 0..1 | 1.0.0 | + | 14 | studyPhase | StudyPhaseKind | 1..1 | 1.0.0 | + | 15 | excludedDomain | Guid | 0..* | 1.1.0 | + | 16 | excludedPerson | Guid | 0..* | 1.1.0 | + | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 18 | defaultOrganizationalParticipant | Guid | 0..1 | 1.2.0 | + | 19 | organizationalParticipant | Guid | 0..* | 1.2.0 | + | 20 | thingPreference | string | 0..1 | 1.2.0 | + | 21 | actor | Guid | 0..1 | 1.3.0 | + | 22 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,8 +97,6 @@ public static bool ArePropertiesEqual(this EngineeringModelSetup me, Engineering if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.EngineeringModelIid.Equals(other.EngineeringModelIid)) return false; @@ -141,6 +139,8 @@ public static bool ArePropertiesEqual(this EngineeringModelSetup me, Engineering if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs index e9b9a2428..62cf658b3 100644 --- a/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EnumerationParameterTypeEquatable.cs @@ -35,20 +35,20 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | | 3 | allowMultiSelect | bool | 1..1 | 1.0.0 | - | 4 | attachment | Guid | 0..* | 1.0.0 | - | 5 | category | Guid | 0..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | symbol | string | 1..1 | 1.0.0 | - | 12 | valueDefinition | Guid | 1..* | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | symbol | string | 1..1 | 1.0.0 | + | 11 | valueDefinition | Guid | 1..* | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,8 +92,6 @@ public static bool ArePropertiesEqual(this EnumerationParameterType me, Enumerat if (!me.AllowMultiSelect.Equals(other.AllowMultiSelect)) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -126,6 +124,8 @@ public static bool ArePropertiesEqual(this EnumerationParameterType me, Enumerat if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs b/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs index 976b8a47a..28225488a 100644 --- a/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EnumerationValueDefinitionEquatable.cs @@ -34,16 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | shortName | string | 1..1 | 1.0.0 | + | 7 | excludedDomain | Guid | 0..* | 1.1.0 | + | 8 | excludedPerson | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | + | 12 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,8 +85,6 @@ public static bool ArePropertiesEqual(this EnumerationValueDefinition me, Enumer if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -109,6 +107,8 @@ public static bool ArePropertiesEqual(this EnumerationValueDefinition me, Enumer if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs b/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs index 15129c320..74ac11088 100644 --- a/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/FileTypeEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | extension | string | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | extension | string | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this FileType me, FileType other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -119,6 +117,8 @@ public static bool ArePropertiesEqual(this FileType me, FileType other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs b/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs index 38c170f81..8ef60a40d 100644 --- a/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/GlossaryEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | term | Guid | 0..* | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | term | Guid | 0..* | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this Glossary me, Glossary other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -118,6 +116,8 @@ public static bool ArePropertiesEqual(this Glossary me, Glossary other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/GoalEquatable.cs b/CDP4Common/AutoGenEquatable/GoalEquatable.cs index 0cb9ff043..7c8ce7a80 100644 --- a/CDP4Common/AutoGenEquatable/GoalEquatable.cs +++ b/CDP4Common/AutoGenEquatable/GoalEquatable.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,8 +86,6 @@ public static bool ArePropertiesEqual(this Goal me, Goal other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +110,8 @@ public static bool ArePropertiesEqual(this Goal me, Goal other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs b/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs index 074e442ea..78240541d 100644 --- a/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/IntervalScaleEquatable.cs @@ -34,27 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | - | 23 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 15 | shortName | string | 1..1 | 1.0.0 | + | 16 | unit | Guid | 1..1 | 1.0.0 | + | 17 | valueDefinition | Guid | 0..* | 1.0.0 | + | 18 | excludedDomain | Guid | 0..* | 1.1.0 | + | 19 | excludedPerson | Guid | 0..* | 1.1.0 | + | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | + | 23 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -96,8 +96,6 @@ public static bool ArePropertiesEqual(this IntervalScale me, IntervalScale other if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -146,6 +144,8 @@ public static bool ArePropertiesEqual(this IntervalScale me, IntervalScale other if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs b/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs index 4f7d882ad..0500fe7c5 100644 --- a/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/LinearConversionUnitEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | conversionFactor | string | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | conversionFactor | string | 1..1 | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this LinearConversionUnit me, LinearConver if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (me.ConversionFactor == null && other.ConversionFactor != null) return false; if (me.ConversionFactor != null && !me.ConversionFactor.Equals(other.ConversionFactor)) return false; @@ -119,6 +117,8 @@ public static bool ArePropertiesEqual(this LinearConversionUnit me, LinearConver if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs b/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs index 6ebac8cb3..dace7871f 100644 --- a/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/LogarithmicScaleEquatable.cs @@ -34,32 +34,32 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | exponent | string | 1..1 | 1.0.0 | - | 6 | factor | string | 1..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 10 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 11 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | - | 12 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 13 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 14 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 15 | name | string | 1..1 | 1.0.0 | - | 16 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 17 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 18 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 19 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | - | 20 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | - | 21 | shortName | string | 1..1 | 1.0.0 | - | 22 | unit | Guid | 1..1 | 1.0.0 | - | 23 | valueDefinition | Guid | 0..* | 1.0.0 | - | 24 | excludedDomain | Guid | 0..* | 1.1.0 | - | 25 | excludedPerson | Guid | 0..* | 1.1.0 | - | 26 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 27 | thingPreference | string | 0..1 | 1.2.0 | - | 28 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | exponent | string | 1..1 | 1.0.0 | + | 5 | factor | string | 1..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 9 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 10 | logarithmBase | LogarithmBaseKind | 1..1 | 1.0.0 | + | 11 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 12 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 13 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 14 | name | string | 1..1 | 1.0.0 | + | 15 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 16 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 17 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 18 | referenceQuantityKind | Guid | 1..1 | 1.0.0 | + | 19 | referenceQuantityValue | Guid | 0..1 | 1.0.0 | + | 20 | shortName | string | 1..1 | 1.0.0 | + | 21 | unit | Guid | 1..1 | 1.0.0 | + | 22 | valueDefinition | Guid | 0..* | 1.0.0 | + | 23 | excludedDomain | Guid | 0..* | 1.1.0 | + | 24 | excludedPerson | Guid | 0..* | 1.1.0 | + | 25 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 26 | thingPreference | string | 0..1 | 1.2.0 | + | 27 | actor | Guid | 0..1 | 1.3.0 | + | 28 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -101,8 +101,6 @@ public static bool ArePropertiesEqual(this LogarithmicScale me, LogarithmicScale if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (me.Exponent == null && other.Exponent != null) return false; @@ -163,6 +161,8 @@ public static bool ArePropertiesEqual(this LogarithmicScale me, LogarithmicScale if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs b/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs index e5e69c434..ed80e5260 100644 --- a/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ModelReferenceDataLibraryEquatable.cs @@ -34,29 +34,29 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 5 | baseUnit | Guid | 0..* | 1.0.0 | - | 6 | constant | Guid | 0..* | 1.0.0 | - | 7 | definedCategory | Guid | 0..* | 1.0.0 | - | 8 | definition | Guid | 0..* | 1.0.0 | - | 9 | fileType | Guid | 0..* | 1.0.0 | - | 10 | glossary | Guid | 0..* | 1.0.0 | - | 11 | hyperLink | Guid | 0..* | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | parameterType | Guid | 0..* | 1.0.0 | - | 14 | referenceSource | Guid | 0..* | 1.0.0 | - | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 16 | rule | Guid | 0..* | 1.0.0 | - | 17 | scale | Guid | 0..* | 1.0.0 | - | 18 | shortName | string | 1..1 | 1.0.0 | - | 19 | unit | Guid | 0..* | 1.0.0 | - | 20 | unitPrefix | Guid | 0..* | 1.0.0 | - | 21 | excludedDomain | Guid | 0..* | 1.1.0 | - | 22 | excludedPerson | Guid | 0..* | 1.1.0 | - | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 24 | thingPreference | string | 0..1 | 1.2.0 | - | 25 | actor | Guid | 0..1 | 1.3.0 | + | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 4 | baseUnit | Guid | 0..* | 1.0.0 | + | 5 | constant | Guid | 0..* | 1.0.0 | + | 6 | definedCategory | Guid | 0..* | 1.0.0 | + | 7 | definition | Guid | 0..* | 1.0.0 | + | 8 | fileType | Guid | 0..* | 1.0.0 | + | 9 | glossary | Guid | 0..* | 1.0.0 | + | 10 | hyperLink | Guid | 0..* | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | parameterType | Guid | 0..* | 1.0.0 | + | 13 | referenceSource | Guid | 0..* | 1.0.0 | + | 14 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 15 | rule | Guid | 0..* | 1.0.0 | + | 16 | scale | Guid | 0..* | 1.0.0 | + | 17 | shortName | string | 1..1 | 1.0.0 | + | 18 | unit | Guid | 0..* | 1.0.0 | + | 19 | unitPrefix | Guid | 0..* | 1.0.0 | + | 20 | excludedDomain | Guid | 0..* | 1.1.0 | + | 21 | excludedPerson | Guid | 0..* | 1.1.0 | + | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 23 | thingPreference | string | 0..1 | 1.2.0 | + | 24 | actor | Guid | 0..1 | 1.3.0 | + | 25 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,8 +98,6 @@ public static bool ArePropertiesEqual(this ModelReferenceDataLibrary me, ModelRe if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K))) return false; if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V))) return false; @@ -150,6 +148,8 @@ public static bool ArePropertiesEqual(this ModelReferenceDataLibrary me, ModelRe if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs b/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs index c37060b8e..b6243ed5b 100644 --- a/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/MultiRelationshipRuleEquatable.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | maxRelated | int | 1..1 | 1.0.0 | - | 8 | minRelated | int | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | relatedCategory | Guid | 1..* | 1.0.0 | - | 11 | relationshipCategory | Guid | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | maxRelated | int | 1..1 | 1.0.0 | + | 7 | minRelated | int | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | relatedCategory | Guid | 1..* | 1.0.0 | + | 10 | relationshipCategory | Guid | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,8 +90,6 @@ public static bool ArePropertiesEqual(this MultiRelationshipRule me, MultiRelati if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -124,6 +122,8 @@ public static bool ArePropertiesEqual(this MultiRelationshipRule me, MultiRelati if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OptionEquatable.cs b/CDP4Common/AutoGenEquatable/OptionEquatable.cs index 85ba2f7ea..bcd90f45a 100644 --- a/CDP4Common/AutoGenEquatable/OptionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OptionEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | nestedElement | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | nestedElement | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this Option me, Option other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -115,6 +113,8 @@ public static bool ArePropertiesEqual(this Option me, Option other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs b/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs index 8b990657a..73d0e5050 100644 --- a/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/OrdinalScaleEquatable.cs @@ -34,28 +34,28 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | useShortNameValues | bool | 1..1 | 1.0.0 | - | 19 | valueDefinition | Guid | 0..* | 1.0.0 | - | 20 | excludedDomain | Guid | 0..* | 1.1.0 | - | 21 | excludedPerson | Guid | 0..* | 1.1.0 | - | 22 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 23 | thingPreference | string | 0..1 | 1.2.0 | - | 24 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 15 | shortName | string | 1..1 | 1.0.0 | + | 16 | unit | Guid | 1..1 | 1.0.0 | + | 17 | useShortNameValues | bool | 1..1 | 1.0.0 | + | 18 | valueDefinition | Guid | 0..* | 1.0.0 | + | 19 | excludedDomain | Guid | 0..* | 1.1.0 | + | 20 | excludedPerson | Guid | 0..* | 1.1.0 | + | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 22 | thingPreference | string | 0..1 | 1.2.0 | + | 23 | actor | Guid | 0..1 | 1.3.0 | + | 24 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -97,8 +97,6 @@ public static bool ArePropertiesEqual(this OrdinalScale me, OrdinalScale other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -149,6 +147,8 @@ public static bool ArePropertiesEqual(this OrdinalScale me, OrdinalScale other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs b/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs index 90133e431..a42c7115d 100644 --- a/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParameterizedCategoryRuleEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | parameterType | Guid | 1..* | 1.0.0 | - | 10 | shortName | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 1..1 | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | parameterType | Guid | 1..* | 1.0.0 | + | 9 | shortName | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this ParameterizedCategoryRule me, Paramet if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.Equals(other.Category)) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -118,6 +116,8 @@ public static bool ArePropertiesEqual(this ParameterizedCategoryRule me, Paramet if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs b/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs index d19c7e664..ed5396ecc 100644 --- a/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ParticipantRoleEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | participantPermission | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | participantPermission | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this ParticipantRole me, ParticipantRole o if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -115,6 +113,8 @@ public static bool ArePropertiesEqual(this ParticipantRole me, ParticipantRole o if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs b/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs index 5307d3c89..1d5c61138 100644 --- a/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PersonRoleEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | personPermission | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | personPermission | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this PersonRole me, PersonRole other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -115,6 +113,8 @@ public static bool ArePropertiesEqual(this PersonRole me, PersonRole other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs b/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs index ce0eb8b2e..7139f13c6 100644 --- a/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PossibleFiniteStateEquatable.cs @@ -34,16 +34,16 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | excludedDomain | Guid | 0..* | 1.1.0 | - | 9 | excludedPerson | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | shortName | string | 1..1 | 1.0.0 | + | 7 | excludedDomain | Guid | 0..* | 1.1.0 | + | 8 | excludedPerson | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | thingPreference | string | 0..1 | 1.2.0 | + | 11 | actor | Guid | 0..1 | 1.3.0 | + | 12 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -85,8 +85,6 @@ public static bool ArePropertiesEqual(this PossibleFiniteState me, PossibleFinit if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -109,6 +107,8 @@ public static bool ArePropertiesEqual(this PossibleFiniteState me, PossibleFinit if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs b/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs index 58a63274a..bdeb8e497 100644 --- a/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PossibleFiniteStateListEquatable.cs @@ -34,20 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultState | Guid | 0..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | possibleState | Guid | 1..* | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | excludedDomain | Guid | 0..* | 1.1.0 | - | 13 | excludedPerson | Guid | 0..* | 1.1.0 | - | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultState | Guid | 0..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | possibleState | Guid | 1..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | excludedDomain | Guid | 0..* | 1.1.0 | + | 12 | excludedPerson | Guid | 0..* | 1.1.0 | + | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | + | 16 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,8 +89,6 @@ public static bool ArePropertiesEqual(this PossibleFiniteStateList me, PossibleF if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (me.DefaultState.HasValue != other.DefaultState.HasValue) return false; @@ -123,6 +121,8 @@ public static bool ArePropertiesEqual(this PossibleFiniteStateList me, PossibleF if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs b/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs index 98d23a2dc..26e3c49a1 100644 --- a/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/PrefixedUnitEquatable.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | prefix | Guid | 1..1 | 1.0.0 | - | 8 | referenceUnit | Guid | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | prefix | Guid | 1..1 | 1.0.0 | + | 7 | referenceUnit | Guid | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,8 +86,6 @@ public static bool ArePropertiesEqual(this PrefixedUnit me, PrefixedUnit other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -110,6 +108,8 @@ public static bool ArePropertiesEqual(this PrefixedUnit me, PrefixedUnit other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs b/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs index 645955e28..3d4bbaf15 100644 --- a/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RatioScaleEquatable.cs @@ -34,27 +34,27 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | isMaximumInclusive | bool | 1..1 | 1.0.0 | - | 8 | isMinimumInclusive | bool | 1..1 | 1.0.0 | - | 9 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | - | 10 | maximumPermissibleValue | string | 0..1 | 1.0.0 | - | 11 | minimumPermissibleValue | string | 0..1 | 1.0.0 | - | 12 | name | string | 1..1 | 1.0.0 | - | 13 | negativeValueConnotation | string | 0..1 | 1.0.0 | - | 14 | numberSet | NumberSetKind | 1..1 | 1.0.0 | - | 15 | positiveValueConnotation | string | 0..1 | 1.0.0 | - | 16 | shortName | string | 1..1 | 1.0.0 | - | 17 | unit | Guid | 1..1 | 1.0.0 | - | 18 | valueDefinition | Guid | 0..* | 1.0.0 | - | 19 | excludedDomain | Guid | 0..* | 1.1.0 | - | 20 | excludedPerson | Guid | 0..* | 1.1.0 | - | 21 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 22 | thingPreference | string | 0..1 | 1.2.0 | - | 23 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | isMaximumInclusive | bool | 1..1 | 1.0.0 | + | 7 | isMinimumInclusive | bool | 1..1 | 1.0.0 | + | 8 | mappingToReferenceScale | Guid | 0..* | 1.0.0 | + | 9 | maximumPermissibleValue | string | 0..1 | 1.0.0 | + | 10 | minimumPermissibleValue | string | 0..1 | 1.0.0 | + | 11 | name | string | 1..1 | 1.0.0 | + | 12 | negativeValueConnotation | string | 0..1 | 1.0.0 | + | 13 | numberSet | NumberSetKind | 1..1 | 1.0.0 | + | 14 | positiveValueConnotation | string | 0..1 | 1.0.0 | + | 15 | shortName | string | 1..1 | 1.0.0 | + | 16 | unit | Guid | 1..1 | 1.0.0 | + | 17 | valueDefinition | Guid | 0..* | 1.0.0 | + | 18 | excludedDomain | Guid | 0..* | 1.1.0 | + | 19 | excludedPerson | Guid | 0..* | 1.1.0 | + | 20 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 21 | thingPreference | string | 0..1 | 1.2.0 | + | 22 | actor | Guid | 0..1 | 1.3.0 | + | 23 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -96,8 +96,6 @@ public static bool ArePropertiesEqual(this RatioScale me, RatioScale other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -146,6 +144,8 @@ public static bool ArePropertiesEqual(this RatioScale me, RatioScale other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs b/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs index 604bb898b..82049ebcc 100644 --- a/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ReferenceSourceEquatable.cs @@ -34,25 +34,25 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | author | string | 0..1 | 1.0.0 | - | 5 | category | Guid | 0..* | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | language | string | 0..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | publicationYear | int | 0..1 | 1.0.0 | - | 12 | publishedIn | Guid | 0..1 | 1.0.0 | - | 13 | publisher | Guid | 0..1 | 1.0.0 | - | 14 | shortName | string | 1..1 | 1.0.0 | - | 15 | versionDate | DateTime | 0..1 | 1.0.0 | - | 16 | versionIdentifier | string | 0..1 | 1.0.0 | - | 17 | excludedDomain | Guid | 0..* | 1.1.0 | - | 18 | excludedPerson | Guid | 0..* | 1.1.0 | - | 19 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 20 | thingPreference | string | 0..1 | 1.2.0 | - | 21 | actor | Guid | 0..1 | 1.3.0 | + | 3 | author | string | 0..1 | 1.0.0 | + | 4 | category | Guid | 0..* | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | language | string | 0..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | publicationYear | int | 0..1 | 1.0.0 | + | 11 | publishedIn | Guid | 0..1 | 1.0.0 | + | 12 | publisher | Guid | 0..1 | 1.0.0 | + | 13 | shortName | string | 1..1 | 1.0.0 | + | 14 | versionDate | DateTime | 0..1 | 1.0.0 | + | 15 | versionIdentifier | string | 0..1 | 1.0.0 | + | 16 | excludedDomain | Guid | 0..* | 1.1.0 | + | 17 | excludedPerson | Guid | 0..* | 1.1.0 | + | 18 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 19 | thingPreference | string | 0..1 | 1.2.0 | + | 20 | actor | Guid | 0..1 | 1.3.0 | + | 21 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -94,8 +94,6 @@ public static bool ArePropertiesEqual(this ReferenceSource me, ReferenceSource o if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (me.Author == null && other.Author != null) return false; if (me.Author != null && !me.Author.Equals(other.Author)) return false; @@ -143,6 +141,8 @@ public static bool ArePropertiesEqual(this ReferenceSource me, ReferenceSource o if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs b/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs index 01261a66c..c40f50dd2 100644 --- a/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ReferencerRuleEquatable.cs @@ -34,21 +34,21 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | maxReferenced | int | 1..1 | 1.0.0 | - | 8 | minReferenced | int | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | referencedCategory | Guid | 1..* | 1.0.0 | - | 11 | referencingCategory | Guid | 1..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | thingPreference | string | 0..1 | 1.2.0 | - | 17 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | maxReferenced | int | 1..1 | 1.0.0 | + | 7 | minReferenced | int | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | referencedCategory | Guid | 1..* | 1.0.0 | + | 10 | referencingCategory | Guid | 1..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | thingPreference | string | 0..1 | 1.2.0 | + | 16 | actor | Guid | 0..1 | 1.3.0 | + | 17 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -90,8 +90,6 @@ public static bool ArePropertiesEqual(this ReferencerRule me, ReferencerRule oth if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -124,6 +122,8 @@ public static bool ArePropertiesEqual(this ReferencerRule me, ReferencerRule oth if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequirementEquatable.cs b/CDP4Common/AutoGenEquatable/RequirementEquatable.cs index 5318b255f..6cbf1b780 100644 --- a/CDP4Common/AutoGenEquatable/RequirementEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequirementEquatable.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | group | Guid | 0..1 | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | owner | Guid | 1..1 | 1.0.0 | - | 11 | parameterValue | Guid | 0..* | 1.0.0 | - | 12 | parametricConstraint | Guid | 0..* | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | group | Guid | 0..1 | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | owner | Guid | 1..1 | 1.0.0 | + | 10 | parameterValue | Guid | 0..* | 1.0.0 | + | 11 | parametricConstraint | Guid | 0..* | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,8 +91,6 @@ public static bool ArePropertiesEqual(this Requirement me, Requirement other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -129,6 +127,8 @@ public static bool ArePropertiesEqual(this Requirement me, Requirement other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs b/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs index 143dffdba..9495d45c0 100644 --- a/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequirementsGroupEquatable.cs @@ -34,20 +34,20 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | group | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | owner | Guid | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | category | Guid | 0..* | 1.1.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | parameterValue | Guid | 0..* | 1.1.0 | - | 15 | thingPreference | string | 0..1 | 1.2.0 | - | 16 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | group | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | owner | Guid | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | category | Guid | 0..* | 1.1.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | parameterValue | Guid | 0..* | 1.1.0 | + | 14 | thingPreference | string | 0..1 | 1.2.0 | + | 15 | actor | Guid | 0..1 | 1.3.0 | + | 16 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -89,8 +89,6 @@ public static bool ArePropertiesEqual(this RequirementsGroup me, RequirementsGro if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.Group.OrderBy(x => x).SequenceEqual(other.Group.OrderBy(x => x))) return false; @@ -121,6 +119,8 @@ public static bool ArePropertiesEqual(this RequirementsGroup me, RequirementsGro if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs b/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs index 693522ef5..b55a866da 100644 --- a/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RequirementsSpecificationEquatable.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | group | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | owner | Guid | 1..1 | 1.0.0 | - | 10 | requirement | Guid | 0..* | 1.0.0 | - | 11 | shortName | string | 1..1 | 1.0.0 | - | 12 | category | Guid | 0..* | 1.1.0 | - | 13 | excludedDomain | Guid | 0..* | 1.1.0 | - | 14 | excludedPerson | Guid | 0..* | 1.1.0 | - | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 16 | parameterValue | Guid | 0..* | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | group | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | owner | Guid | 1..1 | 1.0.0 | + | 9 | requirement | Guid | 0..* | 1.0.0 | + | 10 | shortName | string | 1..1 | 1.0.0 | + | 11 | category | Guid | 0..* | 1.1.0 | + | 12 | excludedDomain | Guid | 0..* | 1.1.0 | + | 13 | excludedPerson | Guid | 0..* | 1.1.0 | + | 14 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 15 | parameterValue | Guid | 0..* | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,8 +91,6 @@ public static bool ArePropertiesEqual(this RequirementsSpecification me, Require if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.Group.OrderBy(x => x).SequenceEqual(other.Group.OrderBy(x => x))) return false; @@ -127,6 +125,8 @@ public static bool ArePropertiesEqual(this RequirementsSpecification me, Require if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs b/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs index 82b953fa5..cc030abe6 100644 --- a/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs +++ b/CDP4Common/AutoGenEquatable/RuleVerificationListEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | owner | Guid | 1..1 | 1.0.0 | - | 8 | ruleVerification | Guid | 0..* | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | owner | Guid | 1..1 | 1.0.0 | + | 7 | ruleVerification | Guid | 0..* | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this RuleVerificationList me, RuleVerifica if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -116,6 +114,8 @@ public static bool ArePropertiesEqual(this RuleVerificationList me, RuleVerifica if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs index 0166d45a1..d018f2424 100644 --- a/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SampledFunctionParameterTypeEquatable.cs @@ -37,20 +37,20 @@ | 3 | excludedPerson | Guid | 0..* | 1.1.0 | | 4 | modifiedOn | DateTime | 1..1 | 1.1.0 | | 5 | alias | Guid | 0..* | 1.2.0 | - | 6 | attachment | Guid | 0..* | 1.2.0 | - | 7 | category | Guid | 0..* | 1.2.0 | - | 8 | definition | Guid | 0..* | 1.2.0 | - | 9 | degreeOfInterpolation | int | 0..1 | 1.2.0 | - | 10 | dependentParameterType | Guid | 1..* | 1.2.0 | - | 11 | hyperLink | Guid | 0..* | 1.2.0 | - | 12 | independentParameterType | Guid | 1..* | 1.2.0 | - | 13 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | - | 14 | isDeprecated | bool | 1..1 | 1.2.0 | - | 15 | name | string | 1..1 | 1.2.0 | - | 16 | shortName | string | 1..1 | 1.2.0 | - | 17 | symbol | string | 1..1 | 1.2.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 6 | category | Guid | 0..* | 1.2.0 | + | 7 | definition | Guid | 0..* | 1.2.0 | + | 8 | degreeOfInterpolation | int | 0..1 | 1.2.0 | + | 9 | dependentParameterType | Guid | 1..* | 1.2.0 | + | 10 | hyperLink | Guid | 0..* | 1.2.0 | + | 11 | independentParameterType | Guid | 1..* | 1.2.0 | + | 12 | interpolationPeriod | ValueArray | 1..* | 1.2.0 | + | 13 | isDeprecated | bool | 1..1 | 1.2.0 | + | 14 | name | string | 1..1 | 1.2.0 | + | 15 | shortName | string | 1..1 | 1.2.0 | + | 16 | symbol | string | 1..1 | 1.2.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -98,8 +98,6 @@ public static bool ArePropertiesEqual(this SampledFunctionParameterType me, Samp if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -134,6 +132,8 @@ public static bool ArePropertiesEqual(this SampledFunctionParameterType me, Samp if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs b/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs index 98d701248..ecc1bf8bb 100644 --- a/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ScaleValueDefinitionEquatable.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | name | string | 1..1 | 1.0.0 | - | 7 | shortName | string | 1..1 | 1.0.0 | - | 8 | value | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | name | string | 1..1 | 1.0.0 | + | 6 | shortName | string | 1..1 | 1.0.0 | + | 7 | value | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,8 +86,6 @@ public static bool ArePropertiesEqual(this ScaleValueDefinition me, ScaleValueDe if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -113,6 +111,8 @@ public static bool ArePropertiesEqual(this ScaleValueDefinition me, ScaleValueDe if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs b/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs index 8a61c1a37..d2ccd3454 100644 --- a/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SimpleQuantityKindEquatable.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultScale | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | hyperLink | Guid | 0..* | 1.0.0 | - | 8 | isDeprecated | bool | 1..1 | 1.0.0 | - | 9 | name | string | 1..1 | 1.0.0 | - | 10 | possibleScale | Guid | 0..* | 1.0.0 | - | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 12 | shortName | string | 1..1 | 1.0.0 | - | 13 | symbol | string | 1..1 | 1.0.0 | - | 14 | excludedDomain | Guid | 0..* | 1.1.0 | - | 15 | excludedPerson | Guid | 0..* | 1.1.0 | - | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultScale | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | hyperLink | Guid | 0..* | 1.0.0 | + | 7 | isDeprecated | bool | 1..1 | 1.0.0 | + | 8 | name | string | 1..1 | 1.0.0 | + | 9 | possibleScale | Guid | 0..* | 1.0.0 | + | 10 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 11 | shortName | string | 1..1 | 1.0.0 | + | 12 | symbol | string | 1..1 | 1.0.0 | + | 13 | excludedDomain | Guid | 0..* | 1.1.0 | + | 14 | excludedPerson | Guid | 0..* | 1.1.0 | + | 15 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,8 +91,6 @@ public static bool ArePropertiesEqual(this SimpleQuantityKind me, SimpleQuantity if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.DefaultScale.Equals(other.DefaultScale)) return false; @@ -129,6 +127,8 @@ public static bool ArePropertiesEqual(this SimpleQuantityKind me, SimpleQuantity if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs b/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs index a4a55e504..147683cb2 100644 --- a/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SimpleUnitEquatable.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,8 +86,6 @@ public static bool ArePropertiesEqual(this SimpleUnit me, SimpleUnit other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -112,6 +110,8 @@ public static bool ArePropertiesEqual(this SimpleUnit me, SimpleUnit other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs b/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs index 8ee3c3964..5c43380d4 100644 --- a/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SiteReferenceDataLibraryEquatable.cs @@ -34,30 +34,30 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | baseQuantityKind | Guid | 0..* | 1.0.0 | - | 5 | baseUnit | Guid | 0..* | 1.0.0 | - | 6 | constant | Guid | 0..* | 1.0.0 | - | 7 | definedCategory | Guid | 0..* | 1.0.0 | - | 8 | definition | Guid | 0..* | 1.0.0 | - | 9 | fileType | Guid | 0..* | 1.0.0 | - | 10 | glossary | Guid | 0..* | 1.0.0 | - | 11 | hyperLink | Guid | 0..* | 1.0.0 | - | 12 | isDeprecated | bool | 1..1 | 1.0.0 | - | 13 | name | string | 1..1 | 1.0.0 | - | 14 | parameterType | Guid | 0..* | 1.0.0 | - | 15 | referenceSource | Guid | 0..* | 1.0.0 | - | 16 | requiredRdl | Guid | 0..1 | 1.0.0 | - | 17 | rule | Guid | 0..* | 1.0.0 | - | 18 | scale | Guid | 0..* | 1.0.0 | - | 19 | shortName | string | 1..1 | 1.0.0 | - | 20 | unit | Guid | 0..* | 1.0.0 | - | 21 | unitPrefix | Guid | 0..* | 1.0.0 | - | 22 | excludedDomain | Guid | 0..* | 1.1.0 | - | 23 | excludedPerson | Guid | 0..* | 1.1.0 | - | 24 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 25 | thingPreference | string | 0..1 | 1.2.0 | - | 26 | actor | Guid | 0..1 | 1.3.0 | + | 3 | baseQuantityKind | Guid | 0..* | 1.0.0 | + | 4 | baseUnit | Guid | 0..* | 1.0.0 | + | 5 | constant | Guid | 0..* | 1.0.0 | + | 6 | definedCategory | Guid | 0..* | 1.0.0 | + | 7 | definition | Guid | 0..* | 1.0.0 | + | 8 | fileType | Guid | 0..* | 1.0.0 | + | 9 | glossary | Guid | 0..* | 1.0.0 | + | 10 | hyperLink | Guid | 0..* | 1.0.0 | + | 11 | isDeprecated | bool | 1..1 | 1.0.0 | + | 12 | name | string | 1..1 | 1.0.0 | + | 13 | parameterType | Guid | 0..* | 1.0.0 | + | 14 | referenceSource | Guid | 0..* | 1.0.0 | + | 15 | requiredRdl | Guid | 0..1 | 1.0.0 | + | 16 | rule | Guid | 0..* | 1.0.0 | + | 17 | scale | Guid | 0..* | 1.0.0 | + | 18 | shortName | string | 1..1 | 1.0.0 | + | 19 | unit | Guid | 0..* | 1.0.0 | + | 20 | unitPrefix | Guid | 0..* | 1.0.0 | + | 21 | excludedDomain | Guid | 0..* | 1.1.0 | + | 22 | excludedPerson | Guid | 0..* | 1.1.0 | + | 23 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 24 | thingPreference | string | 0..1 | 1.2.0 | + | 25 | actor | Guid | 0..1 | 1.3.0 | + | 26 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -99,8 +99,6 @@ public static bool ArePropertiesEqual(this SiteReferenceDataLibrary me, SiteRefe if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.K))) return false; if (!me.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V).SequenceEqual(other.BaseQuantityKind.OrderBy(x => x.K).Select(x => x.V))) return false; @@ -153,6 +151,8 @@ public static bool ArePropertiesEqual(this SiteReferenceDataLibrary me, SiteRefe if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs b/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs index 7a9f69744..e1e82bbb0 100644 --- a/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs +++ b/CDP4Common/AutoGenEquatable/SpecializedQuantityKindEquatable.cs @@ -34,23 +34,23 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | defaultScale | Guid | 1..1 | 1.0.0 | - | 6 | definition | Guid | 0..* | 1.0.0 | - | 7 | general | Guid | 1..1 | 1.0.0 | - | 8 | hyperLink | Guid | 0..* | 1.0.0 | - | 9 | isDeprecated | bool | 1..1 | 1.0.0 | - | 10 | name | string | 1..1 | 1.0.0 | - | 11 | possibleScale | Guid | 0..* | 1.0.0 | - | 12 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | - | 13 | shortName | string | 1..1 | 1.0.0 | - | 14 | symbol | string | 1..1 | 1.0.0 | - | 15 | excludedDomain | Guid | 0..* | 1.1.0 | - | 16 | excludedPerson | Guid | 0..* | 1.1.0 | - | 17 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 18 | thingPreference | string | 0..1 | 1.2.0 | - | 19 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | defaultScale | Guid | 1..1 | 1.0.0 | + | 5 | definition | Guid | 0..* | 1.0.0 | + | 6 | general | Guid | 1..1 | 1.0.0 | + | 7 | hyperLink | Guid | 0..* | 1.0.0 | + | 8 | isDeprecated | bool | 1..1 | 1.0.0 | + | 9 | name | string | 1..1 | 1.0.0 | + | 10 | possibleScale | Guid | 0..* | 1.0.0 | + | 11 | quantityDimensionSymbol | string | 0..1 | 1.0.0 | + | 12 | shortName | string | 1..1 | 1.0.0 | + | 13 | symbol | string | 1..1 | 1.0.0 | + | 14 | excludedDomain | Guid | 0..* | 1.1.0 | + | 15 | excludedPerson | Guid | 0..* | 1.1.0 | + | 16 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 17 | thingPreference | string | 0..1 | 1.2.0 | + | 18 | actor | Guid | 0..1 | 1.3.0 | + | 19 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -92,8 +92,6 @@ public static bool ArePropertiesEqual(this SpecializedQuantityKind me, Specializ if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.DefaultScale.Equals(other.DefaultScale)) return false; @@ -132,6 +130,8 @@ public static bool ArePropertiesEqual(this SpecializedQuantityKind me, Specializ if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs b/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs index a336e28aa..d38e03a13 100644 --- a/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs +++ b/CDP4Common/AutoGenEquatable/StakeHolderValueMapEquatable.cs @@ -34,22 +34,22 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | goal | Guid | 0..* | 1.1.0 | - | 9 | hyperLink | Guid | 0..* | 1.1.0 | - | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 11 | name | string | 1..1 | 1.1.0 | - | 12 | requirement | Guid | 0..* | 1.1.0 | - | 13 | settings | Guid | 1..1 | 1.1.0 | - | 14 | shortName | string | 1..1 | 1.1.0 | - | 15 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 16 | valueGroup | Guid | 0..* | 1.1.0 | - | 17 | thingPreference | string | 0..1 | 1.2.0 | - | 18 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | goal | Guid | 0..* | 1.1.0 | + | 8 | hyperLink | Guid | 0..* | 1.1.0 | + | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 10 | name | string | 1..1 | 1.1.0 | + | 11 | requirement | Guid | 0..* | 1.1.0 | + | 12 | settings | Guid | 1..1 | 1.1.0 | + | 13 | shortName | string | 1..1 | 1.1.0 | + | 14 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 15 | valueGroup | Guid | 0..* | 1.1.0 | + | 16 | thingPreference | string | 0..1 | 1.2.0 | + | 17 | actor | Guid | 0..1 | 1.3.0 | + | 18 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -91,8 +91,6 @@ public static bool ArePropertiesEqual(this StakeHolderValueMap me, StakeHolderVa if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -127,6 +125,8 @@ public static bool ArePropertiesEqual(this StakeHolderValueMap me, StakeHolderVa if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs b/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs index acacddc2c..45205bb03 100644 --- a/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs +++ b/CDP4Common/AutoGenEquatable/StakeholderEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | stakeholderValue | Guid | 0..* | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | stakeholderValue | Guid | 0..* | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this Stakeholder me, Stakeholder other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -115,6 +113,8 @@ public static bool ArePropertiesEqual(this Stakeholder me, Stakeholder other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs b/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs index 10491c079..cef21c8fe 100644 --- a/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs +++ b/CDP4Common/AutoGenEquatable/StakeholderValueEquatable.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,8 +86,6 @@ public static bool ArePropertiesEqual(this StakeholderValue me, StakeholderValue if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +110,8 @@ public static bool ArePropertiesEqual(this StakeholderValue me, StakeholderValue if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/TermEquatable.cs b/CDP4Common/AutoGenEquatable/TermEquatable.cs index 8e4d004c7..1bbdb60f3 100644 --- a/CDP4Common/AutoGenEquatable/TermEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TermEquatable.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | definition | Guid | 0..* | 1.0.0 | - | 5 | hyperLink | Guid | 0..* | 1.0.0 | - | 6 | isDeprecated | bool | 1..1 | 1.0.0 | - | 7 | name | string | 1..1 | 1.0.0 | - | 8 | shortName | string | 1..1 | 1.0.0 | - | 9 | excludedDomain | Guid | 0..* | 1.1.0 | - | 10 | excludedPerson | Guid | 0..* | 1.1.0 | - | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | definition | Guid | 0..* | 1.0.0 | + | 4 | hyperLink | Guid | 0..* | 1.0.0 | + | 5 | isDeprecated | bool | 1..1 | 1.0.0 | + | 6 | name | string | 1..1 | 1.0.0 | + | 7 | shortName | string | 1..1 | 1.0.0 | + | 8 | excludedDomain | Guid | 0..* | 1.1.0 | + | 9 | excludedPerson | Guid | 0..* | 1.1.0 | + | 10 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,8 +86,6 @@ public static bool ArePropertiesEqual(this Term me, Term other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; if (!me.HyperLink.OrderBy(x => x).SequenceEqual(other.HyperLink.OrderBy(x => x))) return false; @@ -112,6 +110,8 @@ public static bool ArePropertiesEqual(this Term me, Term other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs index 6da3374a3..e411551a2 100644 --- a/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TextParameterTypeEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this TextParameterType me, TextParameterTy if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -119,6 +117,8 @@ public static bool ArePropertiesEqual(this TextParameterType me, TextParameterTy if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs b/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs index 532faac4d..26939b500 100644 --- a/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs +++ b/CDP4Common/AutoGenEquatable/TimeOfDayParameterTypeEquatable.cs @@ -34,19 +34,19 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | category | Guid | 0..* | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | symbol | string | 1..1 | 1.0.0 | - | 11 | excludedDomain | Guid | 0..* | 1.1.0 | - | 12 | excludedPerson | Guid | 0..* | 1.1.0 | - | 13 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 14 | thingPreference | string | 0..1 | 1.2.0 | - | 15 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | symbol | string | 1..1 | 1.0.0 | + | 10 | excludedDomain | Guid | 0..* | 1.1.0 | + | 11 | excludedPerson | Guid | 0..* | 1.1.0 | + | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 13 | thingPreference | string | 0..1 | 1.2.0 | + | 14 | actor | Guid | 0..1 | 1.3.0 | + | 15 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -88,8 +88,6 @@ public static bool ArePropertiesEqual(this TimeOfDayParameterType me, TimeOfDayP if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -119,6 +117,8 @@ public static bool ArePropertiesEqual(this TimeOfDayParameterType me, TimeOfDayP if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs b/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs index 33bcd2578..286ed096d 100644 --- a/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs +++ b/CDP4Common/AutoGenEquatable/UnitPrefixEquatable.cs @@ -34,18 +34,18 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.0.0 | - | 3 | attachment | Guid | 0..* | 1.0.0 | - | 4 | conversionFactor | string | 1..1 | 1.0.0 | - | 5 | definition | Guid | 0..* | 1.0.0 | - | 6 | hyperLink | Guid | 0..* | 1.0.0 | - | 7 | isDeprecated | bool | 1..1 | 1.0.0 | - | 8 | name | string | 1..1 | 1.0.0 | - | 9 | shortName | string | 1..1 | 1.0.0 | - | 10 | excludedDomain | Guid | 0..* | 1.1.0 | - | 11 | excludedPerson | Guid | 0..* | 1.1.0 | - | 12 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 13 | thingPreference | string | 0..1 | 1.2.0 | - | 14 | actor | Guid | 0..1 | 1.3.0 | + | 3 | conversionFactor | string | 1..1 | 1.0.0 | + | 4 | definition | Guid | 0..* | 1.0.0 | + | 5 | hyperLink | Guid | 0..* | 1.0.0 | + | 6 | isDeprecated | bool | 1..1 | 1.0.0 | + | 7 | name | string | 1..1 | 1.0.0 | + | 8 | shortName | string | 1..1 | 1.0.0 | + | 9 | excludedDomain | Guid | 0..* | 1.1.0 | + | 10 | excludedPerson | Guid | 0..* | 1.1.0 | + | 11 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 12 | thingPreference | string | 0..1 | 1.2.0 | + | 13 | actor | Guid | 0..1 | 1.3.0 | + | 14 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,8 +87,6 @@ public static bool ArePropertiesEqual(this UnitPrefix me, UnitPrefix other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (me.ConversionFactor == null && other.ConversionFactor != null) return false; if (me.ConversionFactor != null && !me.ConversionFactor.Equals(other.ConversionFactor)) return false; @@ -116,6 +114,8 @@ public static bool ArePropertiesEqual(this UnitPrefix me, UnitPrefix other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs b/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs index 9562c95f9..d8beb239c 100644 --- a/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ValueGroupEquatable.cs @@ -34,17 +34,17 @@ | 1 | revisionNumber | int | 1..1 | 1.0.0 | | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | alias | Guid | 0..* | 1.1.0 | - | 3 | attachment | Guid | 0..* | 1.1.0 | - | 4 | category | Guid | 0..* | 1.1.0 | - | 5 | definition | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | hyperLink | Guid | 0..* | 1.1.0 | - | 9 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 10 | name | string | 1..1 | 1.1.0 | - | 11 | shortName | string | 1..1 | 1.1.0 | - | 12 | thingPreference | string | 0..1 | 1.2.0 | - | 13 | actor | Guid | 0..1 | 1.3.0 | + | 3 | category | Guid | 0..* | 1.1.0 | + | 4 | definition | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | hyperLink | Guid | 0..* | 1.1.0 | + | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 9 | name | string | 1..1 | 1.1.0 | + | 10 | shortName | string | 1..1 | 1.1.0 | + | 11 | thingPreference | string | 0..1 | 1.2.0 | + | 12 | actor | Guid | 0..1 | 1.3.0 | + | 13 | attachment | Guid | 0..* | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -86,8 +86,6 @@ public static bool ArePropertiesEqual(this ValueGroup me, ValueGroup other) if (!me.Alias.OrderBy(x => x).SequenceEqual(other.Alias.OrderBy(x => x))) return false; - if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; - if (!me.Category.OrderBy(x => x).SequenceEqual(other.Category.OrderBy(x => x))) return false; if (!me.Definition.OrderBy(x => x).SequenceEqual(other.Definition.OrderBy(x => x))) return false; @@ -112,6 +110,8 @@ public static bool ArePropertiesEqual(this ValueGroup me, ValueGroup other) if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + return true; } } diff --git a/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs index dd25aea7b..723ac13b9 100644 --- a/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ArrayParameterTypeMetaInfo.cs @@ -209,6 +209,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ar private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs index 168c1abd9..d7da4a026 100644 --- a/CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BehaviorMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing be private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs index b9fd3be6f..c45859983 100644 --- a/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BinaryRelationshipRuleMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing bi private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs index a535f85d9..cb09f91c6 100644 --- a/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/BooleanParameterTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing bo private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs index f93b649ab..c591bfc11 100644 --- a/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CategoryMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ca private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs index 53447369a..ad82988d7 100644 --- a/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CompoundParameterTypeMetaInfo.cs @@ -208,6 +208,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing co private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs index 7b482402d..e45d8f353 100644 --- a/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ConstantMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing co private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs index b653f7779..8ee678ff0 100644 --- a/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ConversionBasedUnitMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing co private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs index 0234b7733..0dec50dae 100644 --- a/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/CyclicRatioScaleMetaInfo.cs @@ -206,6 +206,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing cy private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs index 68251d472..4e0185612 100644 --- a/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DateParameterTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing da private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs index 1a3453af7..575aad1e9 100644 --- a/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DateTimeParameterTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing da private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs index 1c04a35a3..d7720488f 100644 --- a/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DecompositionRuleMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs index 8a7f4179c..2084ad005 100644 --- a/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DefinedThingMetaInfo.cs @@ -201,6 +201,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs index 0e3bc22ae..ca134f6b0 100644 --- a/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DerivedQuantityKindMetaInfo.cs @@ -209,6 +209,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs index 1bed2e909..23c91d041 100644 --- a/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DerivedUnitMetaInfo.cs @@ -206,6 +206,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing de private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs index 0480d1a11..29c3d5c1e 100644 --- a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseGroupMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing do private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs index a9cc3c857..3d04825e6 100644 --- a/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DomainOfExpertiseMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing do private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs index c2e48735f..98bd593f2 100644 --- a/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ElementBaseMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing el private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs index 649a3c197..fecffedd6 100644 --- a/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ElementDefinitionMetaInfo.cs @@ -212,6 +212,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing el private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "Behavior", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs index bc6e1f2ad..00835c472 100644 --- a/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ElementUsageMetaInfo.cs @@ -205,6 +205,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing el private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs index aa3c77e9c..ee3acbc8c 100644 --- a/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs @@ -210,6 +210,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing en private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "DefaultOrganizationalParticipant", "1.2.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs index 23b4d6fac..619bdd5dc 100644 --- a/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EnumerationParameterTypeMetaInfo.cs @@ -208,6 +208,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing en private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs index d5944eba2..334f35100 100644 --- a/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EnumerationValueDefinitionMetaInfo.cs @@ -201,6 +201,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing en private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs index de4c61a22..0902c66d8 100644 --- a/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/FileTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing fi private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs index a520357c7..67d5f445e 100644 --- a/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/GlossaryMetaInfo.cs @@ -204,6 +204,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing gl private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs index 1e4522a1b..b8ff595cc 100644 --- a/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/GoalMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing go private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs index 30a1d0b69..cf2c5aca9 100644 --- a/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/IntervalScaleMetaInfo.cs @@ -205,6 +205,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing in private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs index ec06225f2..8adc55378 100644 --- a/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/LinearConversionUnitMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing li private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs index fa1b469d1..9db75c480 100644 --- a/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/LogarithmicScaleMetaInfo.cs @@ -209,6 +209,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing lo private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs index 1519d9519..fc3ac193b 100644 --- a/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MeasurementScaleMetaInfo.cs @@ -205,6 +205,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing me private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs index 72f96322c..f5970cebf 100644 --- a/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MeasurementUnitMetaInfo.cs @@ -201,6 +201,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing me private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs index 6522646c1..d89a3ed39 100644 --- a/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ModelReferenceDataLibraryMetaInfo.cs @@ -223,6 +223,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing mo private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs index 043fcb23e..65b46791d 100644 --- a/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/MultiRelationshipRuleMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing mu private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs index 4c73a1d43..23ba52ba9 100644 --- a/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OptionMetaInfo.cs @@ -204,6 +204,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing op private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs index 81f51870d..1f704d076 100644 --- a/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/OrdinalScaleMetaInfo.cs @@ -205,6 +205,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing or private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs index 4bb80df5e..8cdf5bc5e 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pa private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs index 42a49c036..605a1ff7f 100644 --- a/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParameterizedCategoryRuleMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pa private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs index 360b529ed..bd02d87b9 100644 --- a/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ParticipantRoleMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pa private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs index 8f8287d4e..c87eef200 100644 --- a/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PersonRoleMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pe private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs index 31d9a13f1..6907ae5b8 100644 --- a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateListMetaInfo.cs @@ -207,6 +207,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing po private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs index 622cdfaca..b45d40d2d 100644 --- a/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PossibleFiniteStateMetaInfo.cs @@ -201,6 +201,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing po private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs index 09783fd25..ec23f64bc 100644 --- a/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/PrefixedUnitMetaInfo.cs @@ -199,6 +199,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing pr private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs index 3491136e2..7895278b3 100644 --- a/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/QuantityKindMetaInfo.cs @@ -204,6 +204,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing qu private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs index 2dc1a433e..071e9237b 100644 --- a/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RatioScaleMetaInfo.cs @@ -205,6 +205,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ra private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs index 99c582c4d..618ae5ca4 100644 --- a/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ReferenceDataLibraryMetaInfo.cs @@ -223,6 +223,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs index a0c5c9e02..6d9b215e6 100644 --- a/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ReferenceSourceMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs index f56ef9dea..621462ae3 100644 --- a/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ReferencerRuleMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs index 67fea4330..525617821 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementMetaInfo.cs @@ -209,6 +209,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs index 2d8de42ce..7e7e6644f 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementsContainerMetaInfo.cs @@ -206,6 +206,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "Category", "1.1.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs index 24a0959d5..de1166363 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementsGroupMetaInfo.cs @@ -206,6 +206,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "Category", "1.1.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs index e0c0009b6..74f66554f 100644 --- a/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RequirementsSpecificationMetaInfo.cs @@ -208,6 +208,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing re private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "Category", "1.1.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs index db35cc162..a60d057ea 100644 --- a/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RuleMetaInfo.cs @@ -201,6 +201,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ru private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs index 662c8e400..3739eac29 100644 --- a/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/RuleVerificationListMetaInfo.cs @@ -206,6 +206,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ru private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs index c31ba23c9..87ef79805 100644 --- a/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SampledFunctionParameterTypeMetaInfo.cs @@ -212,6 +212,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sa private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs index 226ea0112..059884730 100644 --- a/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ScalarParameterTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sc private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs index 0ebd9e26a..ff910a8d3 100644 --- a/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ScaleValueDefinitionMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sc private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs index 3c4a07f85..2411cc7d3 100644 --- a/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SimpleParameterizableThingMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs index bc07d6469..1651adef5 100644 --- a/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SimpleQuantityKindMetaInfo.cs @@ -204,6 +204,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs index 00e7172f5..e0c10330f 100644 --- a/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SimpleUnitMetaInfo.cs @@ -201,6 +201,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs index 331f77f74..941e5deb6 100644 --- a/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SiteReferenceDataLibraryMetaInfo.cs @@ -223,6 +223,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing si private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs index 437bb8c50..ab1ac6791 100644 --- a/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/SpecializedQuantityKindMetaInfo.cs @@ -204,6 +204,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing sp private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs index 87940deb7..79a4f9ddc 100644 --- a/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/StakeHolderValueMapMetaInfo.cs @@ -208,6 +208,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing st private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs index 6892e7261..285d1bd36 100644 --- a/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/StakeholderMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing st private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs index 831f7fa45..34b4a0fb0 100644 --- a/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/StakeholderValueMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing st private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs index 08ba5f142..b89d9b716 100644 --- a/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TermMetaInfo.cs @@ -201,6 +201,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing te private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs index 37b7dc44e..6ac3e3d36 100644 --- a/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TextParameterTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing te private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs index ad04cbd6c..b44e0ba9d 100644 --- a/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/TimeOfDayParameterTypeMetaInfo.cs @@ -203,6 +203,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ti private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs index dfe4013b5..915d99a97 100644 --- a/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/UnitPrefixMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing un private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, diff --git a/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs index 531c6b5d2..00f593957 100644 --- a/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ValueGroupMetaInfo.cs @@ -202,6 +202,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing va private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Attachment", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, { "ModifiedOn", "1.1.0" }, From 3000dbc7584dbe57e6fe858a3661a2f81f5f36d9 Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Fri, 19 Jan 2024 14:03:56 +0100 Subject: [PATCH 04/10] Fix unit tests --- CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json | 2 -- CDP4JsonSerializer.Tests/TestData/jsonTestSample.json | 2 -- 2 files changed, 4 deletions(-) diff --git a/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json b/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json index 60092cc8c..98c0e3667 100644 --- a/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json +++ b/CDP4JsonSerializer.NetCore.Tests/TestData/jsonTestSample.json @@ -14,7 +14,6 @@ "name": "test", "shortName": "test1", "alias": [], - "attachment": [], "definition": [], "hyperLink": [ "049abaf8-d550-44b1-b32b-c74b333f5d73" ], "category": [], @@ -38,7 +37,6 @@ "name": "array", "shortName": "array1", "alias": [], - "attachment": [], "definition": [], "hyperLink": [], "isDeprecated": false, diff --git a/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json b/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json index 60092cc8c..98c0e3667 100644 --- a/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json +++ b/CDP4JsonSerializer.Tests/TestData/jsonTestSample.json @@ -14,7 +14,6 @@ "name": "test", "shortName": "test1", "alias": [], - "attachment": [], "definition": [], "hyperLink": [ "049abaf8-d550-44b1-b32b-c74b333f5d73" ], "category": [], @@ -38,7 +37,6 @@ "name": "array", "shortName": "array1", "alias": [], - "attachment": [], "definition": [], "hyperLink": [], "isDeprecated": false, From 52e2602730d3c14bc4a7d8ac78f3e23d43a5abfb Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Fri, 2 Feb 2024 10:24:05 +0100 Subject: [PATCH 05/10] Version bump --- CDP4Common/CDP4Common.csproj | 2 +- CDP4Dal/CDP4Dal.csproj | 2 +- CDP4JsonFileDal/CDP4JsonFileDal.csproj | 2 +- CDP4JsonSerializer/CDP4JsonSerializer.csproj | 2 +- CDP4MessagePackSerializer/CDP4MessagePackSerializer.csproj | 2 +- CDP4Reporting/CDP4Reporting.csproj | 2 +- .../CDP4RequirementsVerification.csproj | 2 +- CDP4Rules/CDP4Rules.csproj | 2 +- CDP4ServicesDal/CDP4ServicesDal.csproj | 2 +- CDP4ServicesMessaging/CDP4ServicesMessaging.csproj | 2 +- CDP4Web/CDP4Web.csproj | 2 +- CDP4WspDal/CDP4WspDal.csproj | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CDP4Common/CDP4Common.csproj b/CDP4Common/CDP4Common.csproj index 27e577803..517c977aa 100644 --- a/CDP4Common/CDP4Common.csproj +++ b/CDP4Common/CDP4Common.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4Common Community Edition - 26.3.0 + 27.0.0 CDP4 Common Class Library that contains DTOs, POCOs Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathanael, Ahmed diff --git a/CDP4Dal/CDP4Dal.csproj b/CDP4Dal/CDP4Dal.csproj index 0780b5a53..7d7f129a1 100644 --- a/CDP4Dal/CDP4Dal.csproj +++ b/CDP4Dal/CDP4Dal.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4Dal Community Edition - 26.3.0 + 27.0.0 CDP4 Data Access Layer library, a consumer of an ECSS-E-TM-10-25 Annex C API Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathanael, Ahmed diff --git a/CDP4JsonFileDal/CDP4JsonFileDal.csproj b/CDP4JsonFileDal/CDP4JsonFileDal.csproj index f6d764fb4..2f6d1e04b 100644 --- a/CDP4JsonFileDal/CDP4JsonFileDal.csproj +++ b/CDP4JsonFileDal/CDP4JsonFileDal.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4JsonFileDal Community Edition - 26.3.0 + 27.0.0 CDP4 Json File Dal Plugin Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathanael diff --git a/CDP4JsonSerializer/CDP4JsonSerializer.csproj b/CDP4JsonSerializer/CDP4JsonSerializer.csproj index 1f2de3caa..0a3ea157e 100644 --- a/CDP4JsonSerializer/CDP4JsonSerializer.csproj +++ b/CDP4JsonSerializer/CDP4JsonSerializer.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4JsonSerializer Community Edition - 26.3.0 + 27.0.0 CDP4 JSON Serialization Library Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathanael diff --git a/CDP4MessagePackSerializer/CDP4MessagePackSerializer.csproj b/CDP4MessagePackSerializer/CDP4MessagePackSerializer.csproj index 5fd20ba40..099ca34b0 100644 --- a/CDP4MessagePackSerializer/CDP4MessagePackSerializer.csproj +++ b/CDP4MessagePackSerializer/CDP4MessagePackSerializer.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4MessagePackSerializer Community Edition - 26.3.0 + 27.0.0 CDP4 MessagePack Serialization Library Copyright © RHEA System S.A. Sam, Alex, Alexander, Nathanael, Antoine, Omar diff --git a/CDP4Reporting/CDP4Reporting.csproj b/CDP4Reporting/CDP4Reporting.csproj index ae43f670b..ea6d054a8 100644 --- a/CDP4Reporting/CDP4Reporting.csproj +++ b/CDP4Reporting/CDP4Reporting.csproj @@ -4,7 +4,7 @@ netstandard2.0 RHEA System S.A. CDP4Reporting Community Edition - 26.3.0 + 27.0.0 CDP4 Reporting Copyright © RHEA System S.A. Sam, Alex, Alexander diff --git a/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj b/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj index 6e8acae21..b6ead1a36 100644 --- a/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj +++ b/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4RequirementsVerification Community Edition - 26.3.0 + 27.0.0 CDP4 Class Library that provides requirement verification Copyright © RHEA System S.A. Sam, Alex, Alexander, Yevhen, Nathanael diff --git a/CDP4Rules/CDP4Rules.csproj b/CDP4Rules/CDP4Rules.csproj index fac7070e7..9092ea5bd 100644 --- a/CDP4Rules/CDP4Rules.csproj +++ b/CDP4Rules/CDP4Rules.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4Rules Community Edition - 26.3.0 + 27.0.0 CDP4 Class Library that provides Model Analysis and Rule Checking Copyright © RHEA System S.A. Sam, Alex, Alexander, Yevhen, Nathanael diff --git a/CDP4ServicesDal/CDP4ServicesDal.csproj b/CDP4ServicesDal/CDP4ServicesDal.csproj index 32f5bf1d2..03a6171bc 100644 --- a/CDP4ServicesDal/CDP4ServicesDal.csproj +++ b/CDP4ServicesDal/CDP4ServicesDal.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4ServicesDal Community Edition - 26.3.0 + 27.0.0 CDP4ServicesDal Dal Plugin Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathanael diff --git a/CDP4ServicesMessaging/CDP4ServicesMessaging.csproj b/CDP4ServicesMessaging/CDP4ServicesMessaging.csproj index 7ec62fbb2..078451d16 100644 --- a/CDP4ServicesMessaging/CDP4ServicesMessaging.csproj +++ b/CDP4ServicesMessaging/CDP4ServicesMessaging.csproj @@ -4,7 +4,7 @@ netstandard2.0 RHEA System S.A. CDP4Common Community Edition - 26.3.0 + 27.0.0 CDP4 Services Messaging is a Class Library that contains clients and messages class that can be used for inter services communication Copyright © RHEA System S.A. Sam, Alex, Alexander, Nathanael, Antoine diff --git a/CDP4Web/CDP4Web.csproj b/CDP4Web/CDP4Web.csproj index eb09d6703..3705262f8 100644 --- a/CDP4Web/CDP4Web.csproj +++ b/CDP4Web/CDP4Web.csproj @@ -5,7 +5,7 @@ latest RHEA System S.A. CDP4Web Community Edition - 26.3.0 + 27.0.0 CDP4Web Dedicated Sdk for CDPServicesDal Copyright © RHEA System S.A. Sam, Alex, Alexander, Nathanael, Antoine, Omar, Jaime diff --git a/CDP4WspDal/CDP4WspDal.csproj b/CDP4WspDal/CDP4WspDal.csproj index f319e1282..d46edca5e 100644 --- a/CDP4WspDal/CDP4WspDal.csproj +++ b/CDP4WspDal/CDP4WspDal.csproj @@ -4,7 +4,7 @@ net47;net471;net472;net48;netstandard2.0;netstandard2.1 RHEA System S.A. CDP4WspDal Community Edition - 26.3.0 + 27.0.0 CDP4 WSP Dal Plugin Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathanael From 2f0f0027c84727c0206d2707d30b00927ea18f93 Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Tue, 13 Feb 2024 14:31:31 +0100 Subject: [PATCH 06/10] Refactor DiagramCanvas and ArchitectureDiagram --- CDP4Common/AutoGenDto/ArchitectureDiagram.cs | 42 ++++++++++++++- CDP4Common/AutoGenDto/DiagramCanvas.cs | 54 +++++++++++++++++-- .../ArchitectureDiagramEquatable.cs | 15 +++--- .../DiagramCanvasEquatable.cs | 31 ++++++----- .../ArchitectureDiagramMetaInfo.cs | 12 +++-- .../AutoGenMetaInfo/DiagramCanvasMetaInfo.cs | 12 +++-- CDP4Common/AutoGenPoco/ArchitectureDiagram.cs | 6 ++- CDP4Common/AutoGenPoco/DiagramCanvas.cs | 53 ++++++++++++++++-- .../ArchitectureDiagramPropertyAccessor.cs | 21 ++++++-- .../DiagramCanvasPropertyAccessor.cs | 36 ++++++++++--- .../ArchitectureDiagramResolver.cs | 15 ++++-- .../DiagramCanvasResolver.cs | 15 ++++-- .../ArchitectureDiagramSerializer.cs | 6 ++- .../DiagramCanvasSerializer.cs | 6 ++- ...ArchitectureDiagramMessagePackFormatter.cs | 23 ++++---- .../DiagramCanvasMessagePackFormatter.cs | 53 +++++++++--------- 16 files changed, 304 insertions(+), 96 deletions(-) diff --git a/CDP4Common/AutoGenDto/ArchitectureDiagram.cs b/CDP4Common/AutoGenDto/ArchitectureDiagram.cs index 456739c0d..1fea0de3f 100644 --- a/CDP4Common/AutoGenDto/ArchitectureDiagram.cs +++ b/CDP4Common/AutoGenDto/ArchitectureDiagram.cs @@ -110,6 +110,11 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("ExcludedPerson", this.ExcludedPerson); + if (this.LockedBy != null) + { + dictionary.Add("LockedBy", new [] { this.LockedBy }); + } + if (this.Owner != null) { dictionary.Add("Owner", new [] { this.Owner }); @@ -162,6 +167,14 @@ public override bool TryRemoveReferences(IEnumerable ids, out List this.ExcludedPerson.Remove(id); break; + case "LockedBy": + if (addModelErrors) + { + errors.Add($"Removed reference '{id}' from LockedBy property results in inconsistent ArchitectureDiagram."); + result = false; + } + break; + case "Owner": if (addModelErrors) { @@ -224,6 +237,14 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List ids) { switch (kvp.Key) { + case "LockedBy": + if (ids.Intersect(kvp.Value).Any()) + { + result = true; + } + break; + case "Owner": if (ids.Intersect(kvp.Value).Any()) { @@ -287,6 +315,13 @@ public override bool HasMandatoryReferenceNotIn(HashSet ids) { switch (kvp.Key) { + case "LockedBy": + if (kvp.Value.Except(ids).Any()) + { + result = true; + } + break; + case "Owner": if (kvp.Value.Except(ids).Any()) { @@ -361,6 +396,11 @@ public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary kvp.Key.Iid == original.LockedBy); + this.LockedBy = copyLockedBy.Value == null ? original.LockedBy : copyLockedBy.Value.Iid; + this.ModifiedOn = original.ModifiedOn; this.Name = original.Name; @@ -368,8 +408,6 @@ public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary kvp.Key.Iid == original.Owner); this.Owner = copyOwner.Value == null ? original.Owner : copyOwner.Value.Iid; - this.PublicationState = original.PublicationState; - this.ThingPreference = original.ThingPreference; var copyTopArchitectureElement = originalCopyMap.SingleOrDefault(kvp => kvp.Key.Iid == original.TopArchitectureElement); diff --git a/CDP4Common/AutoGenDto/DiagramCanvas.cs b/CDP4Common/AutoGenDto/DiagramCanvas.cs index a88da49c3..81e3ef7af 100644 --- a/CDP4Common/AutoGenDto/DiagramCanvas.cs +++ b/CDP4Common/AutoGenDto/DiagramCanvas.cs @@ -82,16 +82,26 @@ public DiagramCanvas(Guid iid, int rev) : base(iid: iid, rev: rev) /// /// Gets or sets the Description. /// + [CDPVersion("1.4.0")] [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] [DataMember] public virtual string Description { get; set; } /// - /// Gets or sets the PublicationState. + /// Gets or sets a value indicating whether IsHidden. /// + [CDPVersion("1.4.0")] [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] [DataMember] - public virtual PublicationState PublicationState { get; set; } + public virtual bool IsHidden { get; set; } + + /// + /// Gets or sets the unique identifier of the referenced LockedBy. + /// + [CDPVersion("1.4.0")] + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public virtual Guid LockedBy { get; set; } /// /// Gets the route for the current . @@ -117,6 +127,11 @@ public override IDictionary> GetReferenceProperties() dictionary.Add("ExcludedPerson", this.ExcludedPerson); + if (this.LockedBy != null) + { + dictionary.Add("LockedBy", new [] { this.LockedBy }); + } + return dictionary; } @@ -158,6 +173,14 @@ public override bool TryRemoveReferences(IEnumerable ids, out List case "ExcludedPerson": this.ExcludedPerson.Remove(id); break; + + case "LockedBy": + if (addModelErrors) + { + errors.Add($"Removed reference '{id}' from LockedBy property results in inconsistent DiagramCanvas."); + result = false; + } + break; } } } @@ -208,6 +231,14 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List ids) { switch (kvp.Key) { + case "LockedBy": + if (ids.Intersect(kvp.Value).Any()) + { + result = true; + } + break; } } @@ -251,6 +288,12 @@ public override bool HasMandatoryReferenceNotIn(HashSet ids) { switch (kvp.Key) { + case "LockedBy": + if (kvp.Value.Except(ids).Any()) + { + result = true; + } + break; } } @@ -319,12 +362,15 @@ public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary kvp.Key.Iid == original.LockedBy); + this.LockedBy = copyLockedBy.Value == null ? original.LockedBy : copyLockedBy.Value.Iid; + this.ModifiedOn = original.ModifiedOn; this.Name = original.Name; - this.PublicationState = original.PublicationState; - this.ThingPreference = original.ThingPreference; } diff --git a/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs b/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs index c15029cc5..0922972b0 100644 --- a/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs @@ -42,10 +42,11 @@ | 8 | createdOn | DateTime | 1..1 | 1.4.0 | | 9 | description | string | 1..1 | 1.4.0 | | 10 | diagramElement | Guid | 0..* | 1.4.0 | - | 11 | name | string | 1..1 | 1.4.0 | - | 12 | owner | Guid | 1..1 | 1.4.0 | - | 13 | publicationState | PublicationState | 1..1 | 1.4.0 | - | 14 | topArchitectureElement | Guid | 0..1 | 1.4.0 | + | 11 | isHidden | bool | 1..1 | 1.4.0 | + | 12 | lockedBy | Guid | 1..1 | 1.4.0 | + | 13 | name | string | 1..1 | 1.4.0 | + | 14 | owner | Guid | 1..1 | 1.4.0 | + | 15 | topArchitectureElement | Guid | 0..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -106,13 +107,15 @@ public static bool ArePropertiesEqual(this ArchitectureDiagram me, ArchitectureD if (!me.DiagramElement.OrderBy(x => x).SequenceEqual(other.DiagramElement.OrderBy(x => x))) return false; + if (!me.IsHidden.Equals(other.IsHidden)) return false; + + if (!me.LockedBy.Equals(other.LockedBy)) return false; + if (me.Name == null && other.Name != null) return false; if (me.Name != null && !me.Name.Equals(other.Name)) return false; if (!me.Owner.Equals(other.Owner)) return false; - if (!me.PublicationState.Equals(other.PublicationState)) return false; - if (me.TopArchitectureElement.HasValue != other.TopArchitectureElement.HasValue) return false; if (!me.TopArchitectureElement.Equals(other.TopArchitectureElement)) return false; diff --git a/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs b/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs index 4102214eb..e71d524d8 100644 --- a/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs @@ -35,15 +35,16 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | bounds | Guid | 0..1 | 1.1.0 | | 3 | createdOn | DateTime | 1..1 | 1.1.0 | - | 4 | description | string | 1..1 | 1.1.0 | - | 5 | diagramElement | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | publicationState | PublicationState | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 4 | diagramElement | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 8 | name | string | 1..1 | 1.1.0 | + | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | + | 11 | description | string | 1..1 | 1.4.0 | + | 12 | isHidden | bool | 1..1 | 1.4.0 | + | 13 | lockedBy | Guid | 1..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -87,9 +88,6 @@ public static bool ArePropertiesEqual(this DiagramCanvas me, DiagramCanvas other if (!me.CreatedOn.Equals(other.CreatedOn)) return false; - if (me.Description == null && other.Description != null) return false; - if (me.Description != null && !me.Description.Equals(other.Description)) return false; - if (!me.DiagramElement.OrderBy(x => x).SequenceEqual(other.DiagramElement.OrderBy(x => x))) return false; if (!me.ExcludedDomain.OrderBy(x => x).SequenceEqual(other.ExcludedDomain.OrderBy(x => x))) return false; @@ -101,14 +99,19 @@ public static bool ArePropertiesEqual(this DiagramCanvas me, DiagramCanvas other if (me.Name == null && other.Name != null) return false; if (me.Name != null && !me.Name.Equals(other.Name)) return false; - if (!me.PublicationState.Equals(other.PublicationState)) return false; - if (me.ThingPreference == null && other.ThingPreference != null) return false; if (me.ThingPreference != null && !me.ThingPreference.Equals(other.ThingPreference)) return false; if (me.Actor.HasValue != other.Actor.HasValue) return false; if (!me.Actor.Equals(other.Actor)) return false; + if (me.Description == null && other.Description != null) return false; + if (me.Description != null && !me.Description.Equals(other.Description)) return false; + + if (!me.IsHidden.Equals(other.IsHidden)) return false; + + if (!me.LockedBy.Equals(other.LockedBy)) return false; + return true; } } diff --git a/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs index b093e77f0..d0b6a5937 100644 --- a/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs @@ -197,8 +197,11 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing ar private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Description", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, + { "IsHidden", "1.4.0" }, + { "LockedBy", "1.4.0" }, { "ModifiedOn", "1.1.0" }, { "ThingPreference", "1.2.0" }, }; @@ -245,10 +248,11 @@ public IEnumerable Properties { "ExcludedDomain", thing => thing.ExcludedDomain }, { "ExcludedPerson", thing => thing.ExcludedPerson }, { "Iid", thing => thing.Iid }, + { "IsHidden", thing => thing.IsHidden }, + { "LockedBy", thing => thing.LockedBy }, { "ModifiedOn", thing => thing.ModifiedOn }, { "Name", thing => thing.Name }, { "Owner", thing => thing.Owner }, - { "PublicationState", thing => thing.PublicationState }, { "RevisionNumber", thing => thing.RevisionNumber }, { "ThingPreference", thing => thing.ThingPreference }, { "TopArchitectureElement", thing => thing.TopArchitectureElement }, @@ -269,10 +273,11 @@ public IEnumerable Properties { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "IsHidden", new PropertyMetaInfo("IsHidden", "bool", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "LockedBy", new PropertyMetaInfo("LockedBy", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "Owner", new PropertyMetaInfo("Owner", "DomainOfExpertise", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, - { "PublicationState", new PropertyMetaInfo("PublicationState", "CDP4Common.DiagramData.PublicationState", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, { "TopArchitectureElement", new PropertyMetaInfo("TopArchitectureElement", "ArchitectureElement", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, @@ -298,10 +303,11 @@ public IEnumerable Properties { "CreatedOn", (architectureDiagram, value) => architectureDiagram.CreatedOn = (DateTime)value }, { "Description", (architectureDiagram, value) => architectureDiagram.Description = value.ToString() }, { "Iid", (architectureDiagram, value) => architectureDiagram.Iid = (Guid)value }, + { "IsHidden", (architectureDiagram, value) => architectureDiagram.IsHidden = (bool)value }, + { "LockedBy", (architectureDiagram, value) => architectureDiagram.LockedBy = (Guid)value }, { "ModifiedOn", (architectureDiagram, value) => architectureDiagram.ModifiedOn = (DateTime)value }, { "Name", (architectureDiagram, value) => architectureDiagram.Name = value.ToString() }, { "Owner", (architectureDiagram, value) => architectureDiagram.Owner = (Guid)value }, - { "PublicationState", (architectureDiagram, value) => architectureDiagram.PublicationState = (PublicationState)value }, { "ThingPreference", (architectureDiagram, value) => architectureDiagram.ThingPreference = value == null ? (string)null : value.ToString() }, { "TopArchitectureElement", (architectureDiagram, value) => architectureDiagram.TopArchitectureElement = value == null ? (Guid?)null : (Guid)value }, }; diff --git a/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs index ad762300c..6f6a672fe 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs @@ -197,8 +197,11 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing di private readonly Dictionary cdpVersionedProperties = new Dictionary { { "Actor", "1.3.0" }, + { "Description", "1.4.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, + { "IsHidden", "1.4.0" }, + { "LockedBy", "1.4.0" }, { "ModifiedOn", "1.1.0" }, { "ThingPreference", "1.2.0" }, }; @@ -245,9 +248,10 @@ public IEnumerable Properties { "ExcludedDomain", thing => thing.ExcludedDomain }, { "ExcludedPerson", thing => thing.ExcludedPerson }, { "Iid", thing => thing.Iid }, + { "IsHidden", thing => thing.IsHidden }, + { "LockedBy", thing => thing.LockedBy }, { "ModifiedOn", thing => thing.ModifiedOn }, { "Name", thing => thing.Name }, - { "PublicationState", thing => thing.PublicationState }, { "RevisionNumber", thing => thing.RevisionNumber }, { "ThingPreference", thing => thing.ThingPreference }, }; @@ -267,9 +271,10 @@ public IEnumerable Properties { "ExcludedDomain", new PropertyMetaInfo("ExcludedDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "IsHidden", new PropertyMetaInfo("IsHidden", "bool", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "LockedBy", new PropertyMetaInfo("LockedBy", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, - { "PublicationState", new PropertyMetaInfo("PublicationState", "CDP4Common.DiagramData.PublicationState", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ThingPreference", new PropertyMetaInfo("ThingPreference", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, }; @@ -294,9 +299,10 @@ public IEnumerable Properties { "CreatedOn", (diagramCanvas, value) => diagramCanvas.CreatedOn = (DateTime)value }, { "Description", (diagramCanvas, value) => diagramCanvas.Description = value.ToString() }, { "Iid", (diagramCanvas, value) => diagramCanvas.Iid = (Guid)value }, + { "IsHidden", (diagramCanvas, value) => diagramCanvas.IsHidden = (bool)value }, + { "LockedBy", (diagramCanvas, value) => diagramCanvas.LockedBy = (Guid)value }, { "ModifiedOn", (diagramCanvas, value) => diagramCanvas.ModifiedOn = (DateTime)value }, { "Name", (diagramCanvas, value) => diagramCanvas.Name = value.ToString() }, - { "PublicationState", (diagramCanvas, value) => diagramCanvas.PublicationState = (PublicationState)value }, { "ThingPreference", (diagramCanvas, value) => diagramCanvas.ThingPreference = value == null ? (string)null : value.ToString() }, }; diff --git a/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs b/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs index 8db5729cf..514add9ac 100644 --- a/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs +++ b/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs @@ -215,10 +215,11 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.DiagramElement.ResolveList(dto.DiagramElement, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.IsHidden = dto.IsHidden; + this.LockedBy = this.Cache.Get(dto.LockedBy, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); this.ModifiedOn = dto.ModifiedOn; this.Name = dto.Name; this.Owner = this.Cache.Get(dto.Owner, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); - this.PublicationState = dto.PublicationState; this.RevisionNumber = dto.RevisionNumber; this.ThingPreference = dto.ThingPreference; this.TopArchitectureElement = (dto.TopArchitectureElement.HasValue) ? this.Cache.Get(dto.TopArchitectureElement.Value, dto.IterationContainerId) : null; @@ -240,10 +241,11 @@ public override DTO.Thing ToDto() dto.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.IsHidden = this.IsHidden; + dto.LockedBy = this.LockedBy != null ? this.LockedBy.Iid : Guid.Empty; dto.ModifiedOn = this.ModifiedOn; dto.Name = this.Name; dto.Owner = this.Owner != null ? this.Owner.Iid : Guid.Empty; - dto.PublicationState = this.PublicationState; dto.RevisionNumber = this.RevisionNumber; dto.ThingPreference = this.ThingPreference; dto.TopArchitectureElement = this.TopArchitectureElement != null ? (Guid?)this.TopArchitectureElement.Iid : null; diff --git a/CDP4Common/AutoGenPoco/DiagramCanvas.cs b/CDP4Common/AutoGenPoco/DiagramCanvas.cs index 6fe4ea316..423eeefa2 100644 --- a/CDP4Common/AutoGenPoco/DiagramCanvas.cs +++ b/CDP4Common/AutoGenPoco/DiagramCanvas.cs @@ -101,16 +101,52 @@ public DiagramCanvas(Guid iid, ConcurrentDictionary /// Textual description of a DiagramCanvas. /// + [CDPVersion("1.4.0")] [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] public virtual string Description { get; set; } /// - /// Gets or sets the PublicationState. + /// Gets or sets a value indicating whether IsHidden. /// /// + /// assertion whether the DiagramCanvas is hidden or not /// + [CDPVersion("1.4.0")] [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] - public virtual PublicationState PublicationState { get; set; } + public virtual bool IsHidden { get; set; } + + /// + /// Gets or sets the LockedBy. + /// + /// + /// reference to a Person that has locked this DiagramCanvas for write / modify access + /// + [CDPVersion("1.4.0")] + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public virtual Person LockedBy { 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; + } + + if (this.LockedBy != null) + { + yield return this.LockedBy; + } + } /// /// Creates and returns a copy of this for edit purpose. @@ -166,6 +202,13 @@ protected override IEnumerable ValidatePocoCardinality() errorList.Add("The property Description is null or empty."); } + if (this.LockedBy == null || this.LockedBy.Iid == Guid.Empty) + { + errorList.Add("The property LockedBy is null."); + this.LockedBy = SentinelThingProvider.GetSentinel(); + this.sentinelResetMap["LockedBy"] = () => this.LockedBy = null; + } + return errorList; } @@ -193,9 +236,10 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.DiagramElement.ResolveList(dto.DiagramElement, dto.IterationContainerId, this.Cache); this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); + this.IsHidden = dto.IsHidden; + this.LockedBy = this.Cache.Get(dto.LockedBy, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); this.ModifiedOn = dto.ModifiedOn; this.Name = dto.Name; - this.PublicationState = dto.PublicationState; this.RevisionNumber = dto.RevisionNumber; this.ThingPreference = dto.ThingPreference; @@ -216,9 +260,10 @@ public override DTO.Thing ToDto() dto.DiagramElement.AddRange(this.DiagramElement.Select(x => x.Iid)); dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); + dto.IsHidden = this.IsHidden; + dto.LockedBy = this.LockedBy != null ? this.LockedBy.Iid : Guid.Empty; dto.ModifiedOn = this.ModifiedOn; dto.Name = this.Name; - dto.PublicationState = this.PublicationState; dto.RevisionNumber = this.RevisionNumber; dto.ThingPreference = this.ThingPreference; diff --git a/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs index 1fa2fb11d..ac1e41c95 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/ArchitectureDiagramPropertyAccessor.cs @@ -90,6 +90,10 @@ public override object QueryValue(string path) return base.QueryValue(pd.Input); case "diagramelement": return base.QueryValue(pd.Input); + case "ishidden": + return base.QueryValue(pd.Input); + case "lockedby": + return base.QueryValue(pd.Input); case "name": return base.QueryValue(pd.Input); case "owner": @@ -107,8 +111,6 @@ public override object QueryValue(string path) var sentinelowner = new DomainOfExpertise(Guid.Empty, null, null); return sentinelowner.QuerySentinelValue(pd.Next.Input, false); - case "publicationstate": - return base.QueryValue(pd.Input); case "toparchitectureelement": pd.VerifyPropertyDescriptorForReferenceProperty(); @@ -190,6 +192,18 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : null; case "diagramelement": return pd.Next == null ? (object) new List() : new DiagramEdge(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "ishidden": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "lockedby": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); case "name": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; @@ -202,9 +216,6 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) } return isCallerEmunerable ? (object) new List() : default(DomainOfExpertise); - case "publicationstate": - pd.VerifyPropertyDescriptorForValueProperty(); - return isCallerEmunerable ? (object) new List() : null; case "toparchitectureelement": pd.VerifyPropertyDescriptorForReferenceProperty(); diff --git a/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs index 4d5b0d9d3..a853502fc 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/DiagramCanvasPropertyAccessor.cs @@ -92,11 +92,26 @@ public override object QueryValue(string path) return this.Description; case "diagramelement": return base.QueryValue(pd.Input); + case "ishidden": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.IsHidden; + case "lockedby": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next == null) + { + return this.LockedBy; + } + + if (this.LockedBy != null) + { + return this.LockedBy.QueryValue(pd.Next.Input); + } + + var sentinellockedby = new Person(Guid.Empty, null, null); + return sentinellockedby.QuerySentinelValue(pd.Next.Input, false); case "name": return base.QueryValue(pd.Input); - case "publicationstate": - pd.VerifyPropertyDescriptorForValueProperty(); - return this.PublicationState; default: throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); } @@ -163,12 +178,21 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return isCallerEmunerable ? (object) new List() : null; case "diagramelement": return pd.Next == null ? (object) new List() : new DiagramEdge(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "ishidden": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; + case "lockedby": + pd.VerifyPropertyDescriptorForReferenceProperty(); + + if (pd.Next != null) + { + return new Person(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + } + + return isCallerEmunerable ? (object) new List() : default(Person); case "name": pd.VerifyPropertyDescriptorForValueProperty(); return isCallerEmunerable ? (object) new List() : null; - case "publicationstate": - pd.VerifyPropertyDescriptorForValueProperty(); - return isCallerEmunerable ? (object) new List() : null; default: throw new ArgumentException($"The path:{path} does not exist on {this.ClassKind}"); } diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs index ce202186f..625e1571f 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs @@ -91,6 +91,16 @@ public static CDP4Common.DTO.ArchitectureDiagram FromJsonObject(JObject jObject) architectureDiagram.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); } + if (!jObject["isHidden"].IsNullOrEmpty()) + { + architectureDiagram.IsHidden = jObject["isHidden"].ToObject(); + } + + if (!jObject["lockedBy"].IsNullOrEmpty()) + { + architectureDiagram.LockedBy = jObject["lockedBy"].ToObject(); + } + if (!jObject["modifiedOn"].IsNullOrEmpty()) { architectureDiagram.ModifiedOn = jObject["modifiedOn"].ToObject(); @@ -106,11 +116,6 @@ public static CDP4Common.DTO.ArchitectureDiagram FromJsonObject(JObject jObject) architectureDiagram.Owner = jObject["owner"].ToObject(); } - if (!jObject["publicationState"].IsNullOrEmpty()) - { - architectureDiagram.PublicationState = jObject["publicationState"].ToObject(); - } - if (!jObject["thingPreference"].IsNullOrEmpty()) { architectureDiagram.ThingPreference = jObject["thingPreference"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs index a34c642d1..1208304db 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs @@ -91,6 +91,16 @@ public static CDP4Common.DTO.DiagramCanvas FromJsonObject(JObject jObject) diagramCanvas.ExcludedPerson.AddRange(jObject["excludedPerson"].ToObject>()); } + if (!jObject["isHidden"].IsNullOrEmpty()) + { + diagramCanvas.IsHidden = jObject["isHidden"].ToObject(); + } + + if (!jObject["lockedBy"].IsNullOrEmpty()) + { + diagramCanvas.LockedBy = jObject["lockedBy"].ToObject(); + } + if (!jObject["modifiedOn"].IsNullOrEmpty()) { diagramCanvas.ModifiedOn = jObject["modifiedOn"].ToObject(); @@ -101,11 +111,6 @@ public static CDP4Common.DTO.DiagramCanvas FromJsonObject(JObject jObject) diagramCanvas.Name = jObject["name"].ToObject(); } - if (!jObject["publicationState"].IsNullOrEmpty()) - { - diagramCanvas.PublicationState = jObject["publicationState"].ToObject(); - } - if (!jObject["thingPreference"].IsNullOrEmpty()) { diagramCanvas.ThingPreference = jObject["thingPreference"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs index 90bc0f716..3219245ed 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/ArchitectureDiagramSerializer.cs @@ -58,10 +58,11 @@ public class ArchitectureDiagramSerializer : BaseThingSerializer, IThingSerializ { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, { "iid", iid => new JValue(iid) }, + { "isHidden", isHidden => new JValue(isHidden) }, + { "lockedBy", lockedBy => new JValue(lockedBy) }, { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, { "name", name => new JValue(name) }, { "owner", owner => new JValue(owner) }, - { "publicationState", publicationState => new JValue(publicationState.ToString()) }, { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, { "thingPreference", thingPreference => new JValue(thingPreference) }, { "topArchitectureElement", topArchitectureElement => new JValue(topArchitectureElement) }, @@ -83,10 +84,11 @@ private JObject Serialize(ArchitectureDiagram architectureDiagram) jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](architectureDiagram.ExcludedDomain.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](architectureDiagram.ExcludedPerson.OrderBy(x => x, this.guidComparer))); jsonObject.Add("iid", this.PropertySerializerMap["iid"](architectureDiagram.Iid)); + jsonObject.Add("isHidden", this.PropertySerializerMap["isHidden"](architectureDiagram.IsHidden)); + jsonObject.Add("lockedBy", this.PropertySerializerMap["lockedBy"](architectureDiagram.LockedBy)); jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](architectureDiagram.ModifiedOn)); jsonObject.Add("name", this.PropertySerializerMap["name"](architectureDiagram.Name)); jsonObject.Add("owner", this.PropertySerializerMap["owner"](architectureDiagram.Owner)); - jsonObject.Add("publicationState", this.PropertySerializerMap["publicationState"](Enum.GetName(typeof(CDP4Common.DiagramData.PublicationState), architectureDiagram.PublicationState))); jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](architectureDiagram.RevisionNumber)); jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](architectureDiagram.ThingPreference)); jsonObject.Add("topArchitectureElement", this.PropertySerializerMap["topArchitectureElement"](architectureDiagram.TopArchitectureElement)); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs index e1d11ff64..a410fdec3 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/DiagramCanvasSerializer.cs @@ -58,9 +58,10 @@ public class DiagramCanvasSerializer : BaseThingSerializer, IThingSerializer { "excludedDomain", excludedDomain => new JArray(excludedDomain) }, { "excludedPerson", excludedPerson => new JArray(excludedPerson) }, { "iid", iid => new JValue(iid) }, + { "isHidden", isHidden => new JValue(isHidden) }, + { "lockedBy", lockedBy => new JValue(lockedBy) }, { "modifiedOn", modifiedOn => new JValue(((DateTime)modifiedOn).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")) }, { "name", name => new JValue(name) }, - { "publicationState", publicationState => new JValue(publicationState.ToString()) }, { "revisionNumber", revisionNumber => new JValue(revisionNumber) }, { "thingPreference", thingPreference => new JValue(thingPreference) }, }; @@ -81,9 +82,10 @@ private JObject Serialize(DiagramCanvas diagramCanvas) jsonObject.Add("excludedDomain", this.PropertySerializerMap["excludedDomain"](diagramCanvas.ExcludedDomain.OrderBy(x => x, this.guidComparer))); jsonObject.Add("excludedPerson", this.PropertySerializerMap["excludedPerson"](diagramCanvas.ExcludedPerson.OrderBy(x => x, this.guidComparer))); jsonObject.Add("iid", this.PropertySerializerMap["iid"](diagramCanvas.Iid)); + jsonObject.Add("isHidden", this.PropertySerializerMap["isHidden"](diagramCanvas.IsHidden)); + jsonObject.Add("lockedBy", this.PropertySerializerMap["lockedBy"](diagramCanvas.LockedBy)); jsonObject.Add("modifiedOn", this.PropertySerializerMap["modifiedOn"](diagramCanvas.ModifiedOn)); jsonObject.Add("name", this.PropertySerializerMap["name"](diagramCanvas.Name)); - jsonObject.Add("publicationState", this.PropertySerializerMap["publicationState"](Enum.GetName(typeof(CDP4Common.DiagramData.PublicationState), diagramCanvas.PublicationState))); jsonObject.Add("revisionNumber", this.PropertySerializerMap["revisionNumber"](diagramCanvas.RevisionNumber)); jsonObject.Add("thingPreference", this.PropertySerializerMap["thingPreference"](diagramCanvas.ThingPreference)); return jsonObject; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs index 34582590c..45534f0bb 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs @@ -42,10 +42,11 @@ | 8 | createdOn | DateTime | 1..1 | 1.4.0 | | 9 | description | string | 1..1 | 1.4.0 | | 10 | diagramElement | Guid | 0..* | 1.4.0 | - | 11 | name | string | 1..1 | 1.4.0 | - | 12 | owner | Guid | 1..1 | 1.4.0 | - | 13 | publicationState | PublicationState | 1..1 | 1.4.0 | - | 14 | topArchitectureElement | Guid | 0..1 | 1.4.0 | + | 11 | isHidden | bool | 1..1 | 1.4.0 | + | 12 | lockedBy | Guid | 1..1 | 1.4.0 | + | 13 | name | string | 1..1 | 1.4.0 | + | 14 | owner | Guid | 1..1 | 1.4.0 | + | 15 | topArchitectureElement | Guid | 0..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -98,7 +99,7 @@ public void Serialize(ref MessagePackWriter writer, ArchitectureDiagram architec throw new ArgumentNullException(nameof(architectureDiagram), "The ArchitectureDiagram may not be null"); } - writer.WriteArrayHeader(15); + writer.WriteArrayHeader(16); writer.Write(architectureDiagram.Iid.ToByteArray()); writer.Write(architectureDiagram.RevisionNumber); @@ -135,9 +136,10 @@ public void Serialize(ref MessagePackWriter writer, ArchitectureDiagram architec { writer.Write(identifier.ToByteArray()); } + writer.Write(architectureDiagram.IsHidden); + writer.Write(architectureDiagram.LockedBy.ToByteArray()); writer.Write(architectureDiagram.Name); writer.Write(architectureDiagram.Owner.ToByteArray()); - writer.Write(architectureDiagram.PublicationState.ToString()); if (architectureDiagram.TopArchitectureElement.HasValue) { writer.Write(architectureDiagram.TopArchitectureElement.Value.ToByteArray()); @@ -240,15 +242,18 @@ public ArchitectureDiagram Deserialize(ref MessagePackReader reader, MessagePack } break; case 11: - architectureDiagram.Name = reader.ReadString(); + architectureDiagram.IsHidden = reader.ReadBoolean(); break; case 12: - architectureDiagram.Owner = reader.ReadBytes().ToGuid(); + architectureDiagram.LockedBy = reader.ReadBytes().ToGuid(); break; case 13: - architectureDiagram.PublicationState = (CDP4Common.DiagramData.PublicationState)Enum.Parse(typeof(CDP4Common.DiagramData.PublicationState), reader.ReadString(), true); + architectureDiagram.Name = reader.ReadString(); break; case 14: + architectureDiagram.Owner = reader.ReadBytes().ToGuid(); + break; + case 15: if (reader.TryReadNil()) { architectureDiagram.TopArchitectureElement = null; diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs index d0bd37d88..83a0e9549 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs @@ -35,15 +35,16 @@ | -------------------------------------------- | ---------------------------- | ----------- | ------- | | 2 | bounds | Guid | 0..1 | 1.1.0 | | 3 | createdOn | DateTime | 1..1 | 1.1.0 | - | 4 | description | string | 1..1 | 1.1.0 | - | 5 | diagramElement | Guid | 0..* | 1.1.0 | - | 6 | excludedDomain | Guid | 0..* | 1.1.0 | - | 7 | excludedPerson | Guid | 0..* | 1.1.0 | - | 8 | modifiedOn | DateTime | 1..1 | 1.1.0 | - | 9 | name | string | 1..1 | 1.1.0 | - | 10 | publicationState | PublicationState | 1..1 | 1.1.0 | - | 11 | thingPreference | string | 0..1 | 1.2.0 | - | 12 | actor | Guid | 0..1 | 1.3.0 | + | 4 | diagramElement | Guid | 0..* | 1.1.0 | + | 5 | excludedDomain | Guid | 0..* | 1.1.0 | + | 6 | excludedPerson | Guid | 0..* | 1.1.0 | + | 7 | modifiedOn | DateTime | 1..1 | 1.1.0 | + | 8 | name | string | 1..1 | 1.1.0 | + | 9 | thingPreference | string | 0..1 | 1.2.0 | + | 10 | actor | Guid | 0..1 | 1.3.0 | + | 11 | description | string | 1..1 | 1.4.0 | + | 12 | isHidden | bool | 1..1 | 1.4.0 | + | 13 | lockedBy | Guid | 1..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -96,7 +97,7 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, throw new ArgumentNullException(nameof(diagramCanvas), "The DiagramCanvas may not be null"); } - writer.WriteArrayHeader(13); + writer.WriteArrayHeader(14); writer.Write(diagramCanvas.Iid.ToByteArray()); writer.Write(diagramCanvas.RevisionNumber); @@ -107,7 +108,6 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, writer.Write(identifier.ToByteArray()); } writer.Write(diagramCanvas.CreatedOn); - writer.Write(diagramCanvas.Description); writer.WriteArrayHeader(diagramCanvas.DiagramElement.Count); foreach (var identifier in diagramCanvas.DiagramElement.OrderBy(x => x, guidComparer)) { @@ -125,7 +125,6 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, } writer.Write(diagramCanvas.ModifiedOn); writer.Write(diagramCanvas.Name); - writer.Write(diagramCanvas.PublicationState.ToString()); writer.Write(diagramCanvas.ThingPreference); if (diagramCanvas.Actor.HasValue) { @@ -135,6 +134,9 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, { writer.WriteNil(); } + writer.Write(diagramCanvas.Description); + writer.Write(diagramCanvas.IsHidden); + writer.Write(diagramCanvas.LockedBy.ToByteArray()); writer.Flush(); } @@ -189,42 +191,36 @@ public DiagramCanvas Deserialize(ref MessagePackReader reader, MessagePackSerial diagramCanvas.CreatedOn = reader.ReadDateTime(); break; case 4: - diagramCanvas.Description = reader.ReadString(); - break; - case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { diagramCanvas.DiagramElement.Add(reader.ReadBytes().ToGuid()); } break; - case 6: + case 5: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { diagramCanvas.ExcludedDomain.Add(reader.ReadBytes().ToGuid()); } break; - case 7: + case 6: valueLength = reader.ReadArrayHeader(); for (valueCounter = 0; valueCounter < valueLength; valueCounter++) { diagramCanvas.ExcludedPerson.Add(reader.ReadBytes().ToGuid()); } break; - case 8: + case 7: diagramCanvas.ModifiedOn = reader.ReadDateTime(); break; - case 9: + case 8: diagramCanvas.Name = reader.ReadString(); break; - case 10: - diagramCanvas.PublicationState = (CDP4Common.DiagramData.PublicationState)Enum.Parse(typeof(CDP4Common.DiagramData.PublicationState), reader.ReadString(), true); - break; - case 11: + case 9: diagramCanvas.ThingPreference = reader.ReadString(); break; - case 12: + case 10: if (reader.TryReadNil()) { diagramCanvas.Actor = null; @@ -234,6 +230,15 @@ public DiagramCanvas Deserialize(ref MessagePackReader reader, MessagePackSerial diagramCanvas.Actor = reader.ReadBytes().ToGuid(); } break; + case 11: + diagramCanvas.Description = reader.ReadString(); + break; + case 12: + diagramCanvas.IsHidden = reader.ReadBoolean(); + break; + case 13: + diagramCanvas.LockedBy = reader.ReadBytes().ToGuid(); + break; default: reader.Skip(); break; From cd2ae25f640c1b94a135447172081da925d5d0ed Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Tue, 13 Feb 2024 15:54:45 +0100 Subject: [PATCH 07/10] Remove PublicationState enumeration --- CDP4Common/AutoGenPoco/PublicationState.cs | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 CDP4Common/AutoGenPoco/PublicationState.cs diff --git a/CDP4Common/AutoGenPoco/PublicationState.cs b/CDP4Common/AutoGenPoco/PublicationState.cs deleted file mode 100644 index bc9c4189e..000000000 --- a/CDP4Common/AutoGenPoco/PublicationState.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2015-2023 RHEA System S.A. -// -// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, -// Antoine Théate, Omar Elebiary, Jaime Bernar -// -// This file is part of CDP4-COMET SDK Community Edition -// This is an auto-generated class. Any manual changes to this file will be overwritten! -// -// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 3 of the License, or (at your option) any later version. -// -// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public License -// along with this program; if not, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -------------------------------------------------------------------------------------------------------------------- - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ - -namespace CDP4Common.DiagramData -{ - /// - /// Specifies the state of Publication. - /// - public enum PublicationState - { - /// - /// State that defines that an object is Hidden to others. - /// - Hidden, - - /// - /// State that defines that an object is ready for publication. - /// - ReadyForPublish, - - /// - /// State that defines that an object has been published. - /// - Published, - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ From d35418e98a991bf963ed0ce7564870a78cb98f5a Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Wed, 14 Feb 2024 14:37:17 +0100 Subject: [PATCH 08/10] Make DiagramConvas.LockedBy optional --- CDP4Common/AutoGenDto/ArchitectureDiagram.cs | 25 +-------- CDP4Common/AutoGenDto/DiagramCanvas.cs | 27 ++------- .../ArchitectureDiagramEquatable.cs | 3 +- .../DiagramCanvasEquatable.cs | 3 +- .../ArchitectureDiagramMetaInfo.cs | 4 +- .../AutoGenMetaInfo/DiagramCanvasMetaInfo.cs | 4 +- CDP4Common/AutoGenPoco/ArchitectureDiagram.cs | 4 +- CDP4Common/AutoGenPoco/DiagramCanvas.cs | 11 +--- CDP4Common/AutoGenPoco/PublicationState.cs | 56 +++++++++++++++++++ .../ArchitectureDiagramResolver.cs | 2 +- .../DiagramCanvasResolver.cs | 2 +- ...ArchitectureDiagramMessagePackFormatter.cs | 20 ++++++- .../DiagramCanvasMessagePackFormatter.cs | 20 ++++++- 13 files changed, 112 insertions(+), 69 deletions(-) create mode 100644 CDP4Common/AutoGenPoco/PublicationState.cs diff --git a/CDP4Common/AutoGenDto/ArchitectureDiagram.cs b/CDP4Common/AutoGenDto/ArchitectureDiagram.cs index 1fea0de3f..d289173fd 100644 --- a/CDP4Common/AutoGenDto/ArchitectureDiagram.cs +++ b/CDP4Common/AutoGenDto/ArchitectureDiagram.cs @@ -112,7 +112,7 @@ public override IDictionary> GetReferenceProperties() if (this.LockedBy != null) { - dictionary.Add("LockedBy", new [] { this.LockedBy }); + dictionary.Add("LockedBy", new [] { this.LockedBy.Value }); } if (this.Owner != null) @@ -168,11 +168,7 @@ public override bool TryRemoveReferences(IEnumerable ids, out List break; case "LockedBy": - if (addModelErrors) - { - errors.Add($"Removed reference '{id}' from LockedBy property results in inconsistent ArchitectureDiagram."); - result = false; - } + this.LockedBy = null; break; case "Owner": @@ -240,8 +236,7 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List ids) { switch (kvp.Key) { - case "LockedBy": - if (ids.Intersect(kvp.Value).Any()) - { - result = true; - } - break; - case "Owner": if (ids.Intersect(kvp.Value).Any()) { @@ -315,13 +303,6 @@ public override bool HasMandatoryReferenceNotIn(HashSet ids) { switch (kvp.Key) { - case "LockedBy": - if (kvp.Value.Except(ids).Any()) - { - result = true; - } - break; - case "Owner": if (kvp.Value.Except(ids).Any()) { diff --git a/CDP4Common/AutoGenDto/DiagramCanvas.cs b/CDP4Common/AutoGenDto/DiagramCanvas.cs index 81e3ef7af..12dc7e95f 100644 --- a/CDP4Common/AutoGenDto/DiagramCanvas.cs +++ b/CDP4Common/AutoGenDto/DiagramCanvas.cs @@ -99,9 +99,9 @@ public DiagramCanvas(Guid iid, int rev) : base(iid: iid, rev: rev) /// Gets or sets the unique identifier of the referenced LockedBy. /// [CDPVersion("1.4.0")] - [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: true, isPersistent: true)] [DataMember] - public virtual Guid LockedBy { get; set; } + public virtual Guid? LockedBy { get; set; } /// /// Gets the route for the current . @@ -129,7 +129,7 @@ public override IDictionary> GetReferenceProperties() if (this.LockedBy != null) { - dictionary.Add("LockedBy", new [] { this.LockedBy }); + dictionary.Add("LockedBy", new [] { this.LockedBy.Value }); } return dictionary; @@ -175,11 +175,7 @@ public override bool TryRemoveReferences(IEnumerable ids, out List break; case "LockedBy": - if (addModelErrors) - { - errors.Add($"Removed reference '{id}' from LockedBy property results in inconsistent DiagramCanvas."); - result = false; - } + this.LockedBy = null; break; } } @@ -235,8 +231,7 @@ public override bool TryRemoveReferencesNotIn(IEnumerable ids, out List ids) { switch (kvp.Key) { - case "LockedBy": - if (ids.Intersect(kvp.Value).Any()) - { - result = true; - } - break; } } @@ -288,12 +277,6 @@ public override bool HasMandatoryReferenceNotIn(HashSet ids) { switch (kvp.Key) { - case "LockedBy": - if (kvp.Value.Except(ids).Any()) - { - result = true; - } - break; } } diff --git a/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs b/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs index 0922972b0..90072ca61 100644 --- a/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs +++ b/CDP4Common/AutoGenEquatable/ArchitectureDiagramEquatable.cs @@ -43,7 +43,7 @@ | 9 | description | string | 1..1 | 1.4.0 | | 10 | diagramElement | Guid | 0..* | 1.4.0 | | 11 | isHidden | bool | 1..1 | 1.4.0 | - | 12 | lockedBy | Guid | 1..1 | 1.4.0 | + | 12 | lockedBy | Guid | 0..1 | 1.4.0 | | 13 | name | string | 1..1 | 1.4.0 | | 14 | owner | Guid | 1..1 | 1.4.0 | | 15 | topArchitectureElement | Guid | 0..1 | 1.4.0 | @@ -109,6 +109,7 @@ public static bool ArePropertiesEqual(this ArchitectureDiagram me, ArchitectureD if (!me.IsHidden.Equals(other.IsHidden)) return false; + if (me.LockedBy.HasValue != other.LockedBy.HasValue) return false; if (!me.LockedBy.Equals(other.LockedBy)) return false; if (me.Name == null && other.Name != null) return false; diff --git a/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs b/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs index e71d524d8..bf68413eb 100644 --- a/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs +++ b/CDP4Common/AutoGenEquatable/DiagramCanvasEquatable.cs @@ -44,7 +44,7 @@ | 10 | actor | Guid | 0..1 | 1.3.0 | | 11 | description | string | 1..1 | 1.4.0 | | 12 | isHidden | bool | 1..1 | 1.4.0 | - | 13 | lockedBy | Guid | 1..1 | 1.4.0 | + | 13 | lockedBy | Guid | 0..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -110,6 +110,7 @@ public static bool ArePropertiesEqual(this DiagramCanvas me, DiagramCanvas other if (!me.IsHidden.Equals(other.IsHidden)) return false; + if (me.LockedBy.HasValue != other.LockedBy.HasValue) return false; if (!me.LockedBy.Equals(other.LockedBy)) return false; return true; diff --git a/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs index d0b6a5937..25b71ebcd 100644 --- a/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/ArchitectureDiagramMetaInfo.cs @@ -274,7 +274,7 @@ public IEnumerable Properties { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "IsHidden", new PropertyMetaInfo("IsHidden", "bool", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, - { "LockedBy", new PropertyMetaInfo("LockedBy", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "LockedBy", new PropertyMetaInfo("LockedBy", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "Owner", new PropertyMetaInfo("Owner", "DomainOfExpertise", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, @@ -304,7 +304,7 @@ public IEnumerable Properties { "Description", (architectureDiagram, value) => architectureDiagram.Description = value.ToString() }, { "Iid", (architectureDiagram, value) => architectureDiagram.Iid = (Guid)value }, { "IsHidden", (architectureDiagram, value) => architectureDiagram.IsHidden = (bool)value }, - { "LockedBy", (architectureDiagram, value) => architectureDiagram.LockedBy = (Guid)value }, + { "LockedBy", (architectureDiagram, value) => architectureDiagram.LockedBy = value == null ? (Guid?)null : (Guid)value }, { "ModifiedOn", (architectureDiagram, value) => architectureDiagram.ModifiedOn = (DateTime)value }, { "Name", (architectureDiagram, value) => architectureDiagram.Name = value.ToString() }, { "Owner", (architectureDiagram, value) => architectureDiagram.Owner = (Guid)value }, diff --git a/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs index 6f6a672fe..d70c35748 100644 --- a/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/DiagramCanvasMetaInfo.cs @@ -272,7 +272,7 @@ public IEnumerable Properties { "ExcludedPerson", new PropertyMetaInfo("ExcludedPerson", "Person", PropertyKind.List, AggregationKind.None, false, false, true, 0, "*", true) }, { "Iid", new PropertyMetaInfo("Iid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "IsHidden", new PropertyMetaInfo("IsHidden", "bool", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, - { "LockedBy", new PropertyMetaInfo("LockedBy", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, + { "LockedBy", new PropertyMetaInfo("LockedBy", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, { "ModifiedOn", new PropertyMetaInfo("ModifiedOn", "DateTime", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "Name", new PropertyMetaInfo("Name", "string", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "RevisionNumber", new PropertyMetaInfo("RevisionNumber", "int", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, @@ -300,7 +300,7 @@ public IEnumerable Properties { "Description", (diagramCanvas, value) => diagramCanvas.Description = value.ToString() }, { "Iid", (diagramCanvas, value) => diagramCanvas.Iid = (Guid)value }, { "IsHidden", (diagramCanvas, value) => diagramCanvas.IsHidden = (bool)value }, - { "LockedBy", (diagramCanvas, value) => diagramCanvas.LockedBy = (Guid)value }, + { "LockedBy", (diagramCanvas, value) => diagramCanvas.LockedBy = value == null ? (Guid?)null : (Guid)value }, { "ModifiedOn", (diagramCanvas, value) => diagramCanvas.ModifiedOn = (DateTime)value }, { "Name", (diagramCanvas, value) => diagramCanvas.Name = value.ToString() }, { "ThingPreference", (diagramCanvas, value) => diagramCanvas.ThingPreference = value == null ? (string)null : value.ToString() }, diff --git a/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs b/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs index 514add9ac..8cefe0180 100644 --- a/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs +++ b/CDP4Common/AutoGenPoco/ArchitectureDiagram.cs @@ -216,7 +216,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); this.IsHidden = dto.IsHidden; - this.LockedBy = this.Cache.Get(dto.LockedBy, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); + this.LockedBy = (dto.LockedBy.HasValue) ? this.Cache.Get(dto.LockedBy.Value, dto.IterationContainerId) : null; this.ModifiedOn = dto.ModifiedOn; this.Name = dto.Name; this.Owner = this.Cache.Get(dto.Owner, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); @@ -242,7 +242,7 @@ public override DTO.Thing ToDto() dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); dto.IsHidden = this.IsHidden; - dto.LockedBy = this.LockedBy != null ? this.LockedBy.Iid : Guid.Empty; + dto.LockedBy = this.LockedBy != null ? (Guid?)this.LockedBy.Iid : null; dto.ModifiedOn = this.ModifiedOn; dto.Name = this.Name; dto.Owner = this.Owner != null ? this.Owner.Iid : Guid.Empty; diff --git a/CDP4Common/AutoGenPoco/DiagramCanvas.cs b/CDP4Common/AutoGenPoco/DiagramCanvas.cs index 423eeefa2..ca5cb2eba 100644 --- a/CDP4Common/AutoGenPoco/DiagramCanvas.cs +++ b/CDP4Common/AutoGenPoco/DiagramCanvas.cs @@ -202,13 +202,6 @@ protected override IEnumerable ValidatePocoCardinality() errorList.Add("The property Description is null or empty."); } - if (this.LockedBy == null || this.LockedBy.Iid == Guid.Empty) - { - errorList.Add("The property LockedBy is null."); - this.LockedBy = SentinelThingProvider.GetSentinel(); - this.sentinelResetMap["LockedBy"] = () => this.LockedBy = null; - } - return errorList; } @@ -237,7 +230,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.ExcludedDomain.ResolveList(dto.ExcludedDomain, dto.IterationContainerId, this.Cache); this.ExcludedPerson.ResolveList(dto.ExcludedPerson, dto.IterationContainerId, this.Cache); this.IsHidden = dto.IsHidden; - this.LockedBy = this.Cache.Get(dto.LockedBy, dto.IterationContainerId) ?? SentinelThingProvider.GetSentinel(); + this.LockedBy = (dto.LockedBy.HasValue) ? this.Cache.Get(dto.LockedBy.Value, dto.IterationContainerId) : null; this.ModifiedOn = dto.ModifiedOn; this.Name = dto.Name; this.RevisionNumber = dto.RevisionNumber; @@ -261,7 +254,7 @@ public override DTO.Thing ToDto() dto.ExcludedDomain.AddRange(this.ExcludedDomain.Select(x => x.Iid)); dto.ExcludedPerson.AddRange(this.ExcludedPerson.Select(x => x.Iid)); dto.IsHidden = this.IsHidden; - dto.LockedBy = this.LockedBy != null ? this.LockedBy.Iid : Guid.Empty; + dto.LockedBy = this.LockedBy != null ? (Guid?)this.LockedBy.Iid : null; dto.ModifiedOn = this.ModifiedOn; dto.Name = this.Name; dto.RevisionNumber = this.RevisionNumber; diff --git a/CDP4Common/AutoGenPoco/PublicationState.cs b/CDP4Common/AutoGenPoco/PublicationState.cs new file mode 100644 index 000000000..bc9c4189e --- /dev/null +++ b/CDP4Common/AutoGenPoco/PublicationState.cs @@ -0,0 +1,56 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2015-2023 RHEA System S.A. +// +// Author: Sam Gerené, Alex Vorobiev, Alexander van Delft, Nathanael Smiechowski, +// Antoine Théate, Omar Elebiary, Jaime Bernar +// +// This file is part of CDP4-COMET SDK Community Edition +// This is an auto-generated class. Any manual changes to this file will be overwritten! +// +// The CDP4-COMET SDK Community Edition is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 3 of the License, or (at your option) any later version. +// +// The CDP4-COMET SDK Community Edition is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program; if not, write to the Free Software Foundation, +// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// -------------------------------------------------------------------------------------------------------------------- + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ + +namespace CDP4Common.DiagramData +{ + /// + /// Specifies the state of Publication. + /// + public enum PublicationState + { + /// + /// State that defines that an object is Hidden to others. + /// + Hidden, + + /// + /// State that defines that an object is ready for publication. + /// + ReadyForPublish, + + /// + /// State that defines that an object has been published. + /// + Published, + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs index 625e1571f..8c30c3e7b 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/ArchitectureDiagramResolver.cs @@ -98,7 +98,7 @@ public static CDP4Common.DTO.ArchitectureDiagram FromJsonObject(JObject jObject) if (!jObject["lockedBy"].IsNullOrEmpty()) { - architectureDiagram.LockedBy = jObject["lockedBy"].ToObject(); + architectureDiagram.LockedBy = jObject["lockedBy"].ToObject(); } if (!jObject["modifiedOn"].IsNullOrEmpty()) diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs index 1208304db..60c2e81f9 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/DiagramCanvasResolver.cs @@ -98,7 +98,7 @@ public static CDP4Common.DTO.DiagramCanvas FromJsonObject(JObject jObject) if (!jObject["lockedBy"].IsNullOrEmpty()) { - diagramCanvas.LockedBy = jObject["lockedBy"].ToObject(); + diagramCanvas.LockedBy = jObject["lockedBy"].ToObject(); } if (!jObject["modifiedOn"].IsNullOrEmpty()) diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs index 45534f0bb..3ee9f575d 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/ArchitectureDiagramMessagePackFormatter.cs @@ -43,7 +43,7 @@ | 9 | description | string | 1..1 | 1.4.0 | | 10 | diagramElement | Guid | 0..* | 1.4.0 | | 11 | isHidden | bool | 1..1 | 1.4.0 | - | 12 | lockedBy | Guid | 1..1 | 1.4.0 | + | 12 | lockedBy | Guid | 0..1 | 1.4.0 | | 13 | name | string | 1..1 | 1.4.0 | | 14 | owner | Guid | 1..1 | 1.4.0 | | 15 | topArchitectureElement | Guid | 0..1 | 1.4.0 | @@ -137,7 +137,14 @@ public void Serialize(ref MessagePackWriter writer, ArchitectureDiagram architec writer.Write(identifier.ToByteArray()); } writer.Write(architectureDiagram.IsHidden); - writer.Write(architectureDiagram.LockedBy.ToByteArray()); + if (architectureDiagram.LockedBy.HasValue) + { + writer.Write(architectureDiagram.LockedBy.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } writer.Write(architectureDiagram.Name); writer.Write(architectureDiagram.Owner.ToByteArray()); if (architectureDiagram.TopArchitectureElement.HasValue) @@ -245,7 +252,14 @@ public ArchitectureDiagram Deserialize(ref MessagePackReader reader, MessagePack architectureDiagram.IsHidden = reader.ReadBoolean(); break; case 12: - architectureDiagram.LockedBy = reader.ReadBytes().ToGuid(); + if (reader.TryReadNil()) + { + architectureDiagram.LockedBy = null; + } + else + { + architectureDiagram.LockedBy = reader.ReadBytes().ToGuid(); + } break; case 13: architectureDiagram.Name = reader.ReadString(); diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs index 83a0e9549..f6d82bcd8 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/DiagramCanvasMessagePackFormatter.cs @@ -44,7 +44,7 @@ | 10 | actor | Guid | 0..1 | 1.3.0 | | 11 | description | string | 1..1 | 1.4.0 | | 12 | isHidden | bool | 1..1 | 1.4.0 | - | 13 | lockedBy | Guid | 1..1 | 1.4.0 | + | 13 | lockedBy | Guid | 0..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -136,7 +136,14 @@ public void Serialize(ref MessagePackWriter writer, DiagramCanvas diagramCanvas, } writer.Write(diagramCanvas.Description); writer.Write(diagramCanvas.IsHidden); - writer.Write(diagramCanvas.LockedBy.ToByteArray()); + if (diagramCanvas.LockedBy.HasValue) + { + writer.Write(diagramCanvas.LockedBy.Value.ToByteArray()); + } + else + { + writer.WriteNil(); + } writer.Flush(); } @@ -237,7 +244,14 @@ public DiagramCanvas Deserialize(ref MessagePackReader reader, MessagePackSerial diagramCanvas.IsHidden = reader.ReadBoolean(); break; case 13: - diagramCanvas.LockedBy = reader.ReadBytes().ToGuid(); + if (reader.TryReadNil()) + { + diagramCanvas.LockedBy = null; + } + else + { + diagramCanvas.LockedBy = reader.ReadBytes().ToGuid(); + } break; default: reader.Skip(); From 6c89429340116b3e3b95b22a126e0875d0436785 Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Fri, 1 Mar 2024 12:07:24 +0100 Subject: [PATCH 09/10] Add support for EngineeringModelSetup.AutoPublish --- CDP4Common/AutoGenDto/EngineeringModelSetup.cs | 10 ++++++++++ .../EngineeringModelSetupEquatable.cs | 3 +++ .../AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs | 4 ++++ CDP4Common/AutoGenPoco/EngineeringModelSetup.cs | 12 ++++++++++++ .../EngineeringModelSetupPropertyAccessor.cs | 6 ++++++ .../EngineeringModelSetupResolver.cs | 5 +++++ .../EngineeringModelSetupSerializer.cs | 2 ++ .../EngineeringModelSetupMessagePackFormatter.cs | 7 ++++++- 8 files changed, 48 insertions(+), 1 deletion(-) diff --git a/CDP4Common/AutoGenDto/EngineeringModelSetup.cs b/CDP4Common/AutoGenDto/EngineeringModelSetup.cs index e80590e6f..24d7fd717 100644 --- a/CDP4Common/AutoGenDto/EngineeringModelSetup.cs +++ b/CDP4Common/AutoGenDto/EngineeringModelSetup.cs @@ -88,6 +88,14 @@ public EngineeringModelSetup(Guid iid, int rev) : base(iid: iid, rev: rev) [DataMember] public List ActiveDomain { get; set; } + /// + /// Gets or sets a value indicating whether AutoPublish. + /// + [CDPVersion("1.4.0")] + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + [DataMember] + public bool AutoPublish { get; set; } + /// /// Gets or sets the unique identifier of the referenced DefaultOrganizationalParticipant. /// @@ -565,6 +573,8 @@ public override void ResolveCopy(Thing originalThing, IReadOnlyDictionary kvp.Key.Iid == original.DefaultOrganizationalParticipant); this.DefaultOrganizationalParticipant = copyDefaultOrganizationalParticipant.Value == null ? original.DefaultOrganizationalParticipant : copyDefaultOrganizationalParticipant.Value.Iid; diff --git a/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs b/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs index fc29f45ec..77dc39ee5 100644 --- a/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs +++ b/CDP4Common/AutoGenEquatable/EngineeringModelSetupEquatable.cs @@ -54,6 +54,7 @@ | 20 | thingPreference | string | 0..1 | 1.2.0 | | 21 | actor | Guid | 0..1 | 1.3.0 | | 22 | attachment | Guid | 0..* | 1.4.0 | + | 23 | autoPublish | bool | 1..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4Common.DTO.Equatable @@ -141,6 +142,8 @@ public static bool ArePropertiesEqual(this EngineeringModelSetup me, Engineering if (!me.Attachment.OrderBy(x => x).SequenceEqual(other.Attachment.OrderBy(x => x))) return false; + if (!me.AutoPublish.Equals(other.AutoPublish)) return false; + return true; } } diff --git a/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs b/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs index ee3acbc8c..e5be82660 100644 --- a/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs +++ b/CDP4Common/AutoGenMetaInfo/EngineeringModelSetupMetaInfo.cs @@ -211,6 +211,7 @@ public IEnumerable GetOrderedContainmentIds(CDP4Common.DTO.Thing en { { "Actor", "1.3.0" }, { "Attachment", "1.4.0" }, + { "AutoPublish", "1.4.0" }, { "DefaultOrganizationalParticipant", "1.2.0" }, { "ExcludedDomain", "1.1.0" }, { "ExcludedPerson", "1.1.0" }, @@ -262,6 +263,7 @@ public IEnumerable Properties { "Actor", thing => thing.Actor }, { "Alias", thing => thing.Alias }, { "Attachment", thing => thing.Attachment }, + { "AutoPublish", thing => thing.AutoPublish }, { "ClassKind", thing => thing.ClassKind }, { "DefaultOrganizationalParticipant", thing => thing.DefaultOrganizationalParticipant }, { "Definition", thing => thing.Definition }, @@ -294,6 +296,7 @@ public IEnumerable Properties { { "ActiveDomain", new PropertyMetaInfo("ActiveDomain", "DomainOfExpertise", PropertyKind.List, AggregationKind.None, false, false, true, 1, "*", true) }, { "Actor", new PropertyMetaInfo("Actor", "Person", PropertyKind.Scalar, AggregationKind.None, false, false, false, 0, "1", false) }, + { "AutoPublish", new PropertyMetaInfo("AutoPublish", "bool", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "ClassKind", new PropertyMetaInfo("ClassKind", "CDP4Common.CommonData.ClassKind", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, { "DefaultOrganizationalParticipant", new PropertyMetaInfo("DefaultOrganizationalParticipant", "OrganizationalParticipant", PropertyKind.Scalar, AggregationKind.None, false, false, true, 0, "1", true) }, { "EngineeringModelIid", new PropertyMetaInfo("EngineeringModelIid", "Guid", PropertyKind.Scalar, AggregationKind.None, false, false, true, 1, "1", true) }, @@ -334,6 +337,7 @@ public IEnumerable Properties private readonly Dictionary> propertyValueAssignmentMap = new Dictionary> { { "Actor", (engineeringModelSetup, value) => engineeringModelSetup.Actor = value == null ? (Guid?)null : (Guid)value }, + { "AutoPublish", (engineeringModelSetup, value) => engineeringModelSetup.AutoPublish = (bool)value }, { "DefaultOrganizationalParticipant", (engineeringModelSetup, value) => engineeringModelSetup.DefaultOrganizationalParticipant = value == null ? (Guid?)null : (Guid)value }, { "EngineeringModelIid", (engineeringModelSetup, value) => engineeringModelSetup.EngineeringModelIid = (Guid)value }, { "Iid", (engineeringModelSetup, value) => engineeringModelSetup.Iid = (Guid)value }, diff --git a/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs b/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs index 272db9e46..702ffaa5a 100644 --- a/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs +++ b/CDP4Common/AutoGenPoco/EngineeringModelSetup.cs @@ -105,6 +105,16 @@ public EngineeringModelSetup(Guid iid, ConcurrentDictionary ActiveDomain { get; set; } + /// + /// Gets or sets a value indicating whether AutoPublish. + /// + /// + /// When set to true and the value of a Parameter is updated, it is immediately available as published value without creating a new Publication + /// + [CDPVersion("1.4.0")] + [UmlInformation(aggregation: AggregationKind.None, isDerived: false, isOrdered: false, isNullable: false, isPersistent: true)] + public bool AutoPublish { get; set; } + /// /// Gets or sets the DefaultOrganizationalParticipant. /// @@ -358,6 +368,7 @@ internal override void ResolveProperties(DTO.Thing dtoThing) this.Actor = (dto.Actor.HasValue) ? this.Cache.Get(dto.Actor.Value, dto.IterationContainerId) : null; this.Alias.ResolveList(dto.Alias, dto.IterationContainerId, this.Cache); this.Attachment.ResolveList(dto.Attachment, dto.IterationContainerId, this.Cache); + this.AutoPublish = dto.AutoPublish; this.DefaultOrganizationalParticipant = (dto.DefaultOrganizationalParticipant.HasValue) ? this.Cache.Get(dto.DefaultOrganizationalParticipant.Value, dto.IterationContainerId) : null; this.Definition.ResolveList(dto.Definition, dto.IterationContainerId, this.Cache); this.EngineeringModelIid = dto.EngineeringModelIid; @@ -391,6 +402,7 @@ public override DTO.Thing ToDto() dto.Actor = this.Actor != null ? (Guid?)this.Actor.Iid : null; dto.Alias.AddRange(this.Alias.Select(x => x.Iid)); dto.Attachment.AddRange(this.Attachment.Select(x => x.Iid)); + dto.AutoPublish = this.AutoPublish; dto.DefaultOrganizationalParticipant = this.DefaultOrganizationalParticipant != null ? (Guid?)this.DefaultOrganizationalParticipant.Iid : null; dto.Definition.AddRange(this.Definition.Select(x => x.Iid)); dto.EngineeringModelIid = this.EngineeringModelIid; diff --git a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs index e69338873..dbe36a6f9 100644 --- a/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs +++ b/CDP4Common/AutoGenThingPropertyAccessor/EngineeringModelSetupPropertyAccessor.cs @@ -166,6 +166,9 @@ public override object QueryValue(string path) return base.QueryValue(pd.Input); case "attachment": return base.QueryValue(pd.Input); + case "autopublish": + pd.VerifyPropertyDescriptorForValueProperty(); + return this.AutoPublish; case "defaultorganizationalparticipant": pd.VerifyPropertyDescriptorForReferenceProperty(); @@ -583,6 +586,9 @@ internal object QuerySentinelValue(string path, bool isCallerEmunerable) return pd.Next == null ? (object) new List() : new Alias(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); case "attachment": return pd.Next == null ? (object) new List() : new Attachment(Guid.Empty, null, null).QuerySentinelValue(pd.Next.Input, true); + case "autopublish": + pd.VerifyPropertyDescriptorForValueProperty(); + return isCallerEmunerable ? (object) new List() : null; case "defaultorganizationalparticipant": pd.VerifyPropertyDescriptorForReferenceProperty(); diff --git a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs index 2c2f8a62d..21d4b8e89 100644 --- a/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs +++ b/CDP4JsonSerializer/AutoGenDtoDeserializer/EngineeringModelSetupResolver.cs @@ -76,6 +76,11 @@ public static CDP4Common.DTO.EngineeringModelSetup FromJsonObject(JObject jObjec engineeringModelSetup.Attachment.AddRange(jObject["attachment"].ToObject>()); } + if (!jObject["autoPublish"].IsNullOrEmpty()) + { + engineeringModelSetup.AutoPublish = jObject["autoPublish"].ToObject(); + } + if (!jObject["defaultOrganizationalParticipant"].IsNullOrEmpty()) { engineeringModelSetup.DefaultOrganizationalParticipant = jObject["defaultOrganizationalParticipant"].ToObject(); diff --git a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs index f9d42ab4e..1123a74c7 100644 --- a/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs +++ b/CDP4JsonSerializer/AutoGenDtoSerializer/EngineeringModelSetupSerializer.cs @@ -53,6 +53,7 @@ public class EngineeringModelSetupSerializer : BaseThingSerializer, IThingSerial { "actor", actor => new JValue(actor) }, { "alias", alias => new JArray(alias) }, { "attachment", attachment => new JArray(attachment) }, + { "autoPublish", autoPublish => new JValue(autoPublish) }, { "classKind", classKind => new JValue(classKind.ToString()) }, { "defaultOrganizationalParticipant", defaultOrganizationalParticipant => new JValue(defaultOrganizationalParticipant) }, { "definition", definition => new JArray(definition) }, @@ -86,6 +87,7 @@ private JObject Serialize(EngineeringModelSetup engineeringModelSetup) jsonObject.Add("activeDomain", this.PropertySerializerMap["activeDomain"](engineeringModelSetup.ActiveDomain.OrderBy(x => x, this.guidComparer))); jsonObject.Add("alias", this.PropertySerializerMap["alias"](engineeringModelSetup.Alias.OrderBy(x => x, this.guidComparer))); jsonObject.Add("attachment", this.PropertySerializerMap["attachment"](engineeringModelSetup.Attachment.OrderBy(x => x, this.guidComparer))); + jsonObject.Add("autoPublish", this.PropertySerializerMap["autoPublish"](engineeringModelSetup.AutoPublish)); jsonObject.Add("classKind", this.PropertySerializerMap["classKind"](Enum.GetName(typeof(CDP4Common.CommonData.ClassKind), engineeringModelSetup.ClassKind))); jsonObject.Add("defaultOrganizationalParticipant", this.PropertySerializerMap["defaultOrganizationalParticipant"](engineeringModelSetup.DefaultOrganizationalParticipant)); jsonObject.Add("definition", this.PropertySerializerMap["definition"](engineeringModelSetup.Definition.OrderBy(x => x, this.guidComparer))); diff --git a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs index ceea54b09..6981d4d08 100644 --- a/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs +++ b/CDP4MessagePackSerializer/AutoGenMessagePackFormatter/EngineeringModelSetupMessagePackFormatter.cs @@ -54,6 +54,7 @@ | 20 | thingPreference | string | 0..1 | 1.2.0 | | 21 | actor | Guid | 0..1 | 1.3.0 | | 22 | attachment | Guid | 0..* | 1.4.0 | + | 23 | autoPublish | bool | 1..1 | 1.4.0 | * -------------------------------------------- | ---------------------------- | ----------- | ------- */ namespace CDP4MessagePackSerializer @@ -106,7 +107,7 @@ public void Serialize(ref MessagePackWriter writer, EngineeringModelSetup engine throw new ArgumentNullException(nameof(engineeringModelSetup), "The EngineeringModelSetup may not be null"); } - writer.WriteArrayHeader(23); + writer.WriteArrayHeader(24); writer.Write(engineeringModelSetup.Iid.ToByteArray()); writer.Write(engineeringModelSetup.RevisionNumber); @@ -197,6 +198,7 @@ public void Serialize(ref MessagePackWriter writer, EngineeringModelSetup engine { writer.Write(identifier.ToByteArray()); } + writer.Write(engineeringModelSetup.AutoPublish); writer.Flush(); } @@ -368,6 +370,9 @@ public EngineeringModelSetup Deserialize(ref MessagePackReader reader, MessagePa engineeringModelSetup.Attachment.Add(reader.ReadBytes().ToGuid()); } break; + case 23: + engineeringModelSetup.AutoPublish = reader.ReadBoolean(); + break; default: reader.Skip(); break; From 6ab543788639579075faa61fe99c3b55ae2935d9 Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Mon, 4 Mar 2024 15:14:48 +0100 Subject: [PATCH 10/10] Fix wrong server in unit test --- CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs b/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs index ff3819516..8d76d3ba2 100644 --- a/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs +++ b/CDP4ServicesDal.NetCore.Tests/CdpServicesDalTestFixture.cs @@ -427,7 +427,7 @@ public async Task Verify_that_EngineeringModels_only_can_be_read() { this.dal = new CdpServicesDal(); - var creds = new Credentials("admin", "pass", new Uri("http://localhost:5000")); + var creds = new Credentials("admin", "pass", new Uri("https://cdp4services-public.cdp4.org")); var session = new Session(dal, credentials, this.messageBus);