From 3a56863be6d06a78964c348ba87aeaf8e58ed1a9 Mon Sep 17 00:00:00 2001 From: ivan-gomes Date: Sun, 20 Dec 2020 18:26:35 -0800 Subject: [PATCH 1/2] ST5AS-106 Update to 2020-12 metamodel baseline --- .../sysml/metamodel/AnnotatingFeature.java | 32 + app/org/omg/sysml/metamodel/Definition.java | 2 + app/org/omg/sysml/metamodel/Element.java | 2 +- .../omg/sysml/metamodel/ElementFilter.java | 32 + .../metamodel/EnumerationDefinition.java | 32 + .../omg/sysml/metamodel/EnumerationUsage.java | 30 + app/org/omg/sysml/metamodel/Expose.java | 2 +- app/org/omg/sysml/metamodel/Import.java | 6 +- .../sysml/metamodel/LiteralExpression.java | 2 +- app/org/omg/sysml/metamodel/Membership.java | 2 +- .../sysml/metamodel/MetadataCondition.java | 30 + ...odelQuery.java => MetadataExpression.java} | 2 +- .../omg/sysml/metamodel/MetadataFeature.java | 30 + .../sysml/metamodel/MetadataFeatureValue.java | 30 + .../MetadataOperationExpression.java | 30 + .../MetadataReferenceExpression.java | 30 + app/org/omg/sysml/metamodel/Namespace.java | 40 + .../omg/sysml/metamodel/NullExpression.java | 2 +- app/org/omg/sysml/metamodel/Package.java | 14 +- app/org/omg/sysml/metamodel/Type.java | 2 +- app/org/omg/sysml/metamodel/Usage.java | 2 + .../omg/sysml/metamodel/ViewDefinition.java | 4 +- app/org/omg/sysml/metamodel/ViewUsage.java | 6 +- .../metamodel/impl/AcceptActionUsageImpl.java | 36 +- .../metamodel/impl/ActionDefinitionImpl.java | 36 +- .../sysml/metamodel/impl/ActionUsageImpl.java | 36 +- .../impl/AnalysisCaseDefinitionImpl.java | 36 +- .../metamodel/impl/AnalysisCaseUsageImpl.java | 36 +- .../metamodel/impl/AnnotatingElementImpl.java | 10 +- .../metamodel/impl/AnnotatingFeatureImpl.java | 1307 +++++++++++ .../sysml/metamodel/impl/AnnotationImpl.java | 10 +- .../impl/AssertConstraintUsageImpl.java | 36 +- .../sysml/metamodel/impl/AssociationImpl.java | 10 +- .../impl/AttributeDefinitionImpl.java | 36 +- .../metamodel/impl/AttributeUsageImpl.java | 36 +- .../sysml/metamodel/impl/BehaviorImpl.java | 10 +- .../metamodel/impl/BindingConnectorImpl.java | 10 +- .../metamodel/impl/BlockExpressionImpl.java | 10 +- .../metamodel/impl/BooleanExpressionImpl.java | 10 +- .../impl/CalculationDefinitionImpl.java | 36 +- .../metamodel/impl/CalculationUsageImpl.java | 36 +- .../metamodel/impl/CaseDefinitionImpl.java | 36 +- .../sysml/metamodel/impl/CaseUsageImpl.java | 36 +- .../omg/sysml/metamodel/impl/ClassImpl.java | 10 +- .../sysml/metamodel/impl/ClassifierImpl.java | 10 +- .../omg/sysml/metamodel/impl/CommentImpl.java | 10 +- .../impl/ConjugatedPortDefinitionImpl.java | 36 +- .../impl/ConjugatedPortTypingImpl.java | 10 +- .../sysml/metamodel/impl/ConjugationImpl.java | 10 +- .../impl/ConnectionDefinitionImpl.java | 36 +- .../metamodel/impl/ConnectionUsageImpl.java | 36 +- .../sysml/metamodel/impl/ConnectorImpl.java | 10 +- .../impl/ConstraintDefinitionImpl.java | 36 +- .../metamodel/impl/ConstraintUsageImpl.java | 36 +- .../sysml/metamodel/impl/ControlNodeImpl.java | 36 +- .../sysml/metamodel/impl/DataTypeImpl.java | 10 +- .../metamodel/impl/DecisionNodeImpl.java | 36 +- .../sysml/metamodel/impl/DefinitionImpl.java | 36 +- .../sysml/metamodel/impl/DependencyImpl.java | 10 +- .../metamodel/impl/DocumentationImpl.java | 10 +- ...lQueryImpl.java => ElementFilterImpl.java} | 209 +- .../omg/sysml/metamodel/impl/ElementImpl.java | 10 +- .../impl/EndFeatureMembershipImpl.java | 28 +- .../impl/EnumerationDefinitionImpl.java | 1649 ++++++++++++++ .../metamodel/impl/EnumerationUsageImpl.java | 1989 +++++++++++++++++ .../metamodel/impl/ExhibitStateUsageImpl.java | 36 +- .../omg/sysml/metamodel/impl/ExposeImpl.java | 63 +- .../sysml/metamodel/impl/ExpressionImpl.java | 10 +- .../omg/sysml/metamodel/impl/FeatureImpl.java | 10 +- .../metamodel/impl/FeatureMembershipImpl.java | 28 +- .../impl/FeatureReferenceExpressionImpl.java | 10 +- .../metamodel/impl/FeatureTypingImpl.java | 10 +- .../metamodel/impl/FeatureValueImpl.java | 28 +- .../sysml/metamodel/impl/ForkNodeImpl.java | 36 +- .../sysml/metamodel/impl/FunctionImpl.java | 10 +- .../metamodel/impl/GeneralizationImpl.java | 10 +- .../omg/sysml/metamodel/impl/ImportImpl.java | 62 +- .../impl/IndividualDefinitionImpl.java | 36 +- .../metamodel/impl/IndividualUsageImpl.java | 36 +- .../impl/InstanceCreationExpressionImpl.java | 10 +- .../sysml/metamodel/impl/InteractionImpl.java | 10 +- .../impl/InterfaceDefinitionImpl.java | 36 +- .../metamodel/impl/InterfaceUsageImpl.java | 36 +- .../sysml/metamodel/impl/InvariantImpl.java | 10 +- .../impl/InvocationExpressionImpl.java | 10 +- .../metamodel/impl/ItemDefinitionImpl.java | 36 +- .../sysml/metamodel/impl/ItemFeatureImpl.java | 10 +- .../sysml/metamodel/impl/ItemFlowEndImpl.java | 10 +- .../metamodel/impl/ItemFlowFeatureImpl.java | 10 +- .../sysml/metamodel/impl/ItemFlowImpl.java | 10 +- .../sysml/metamodel/impl/ItemUsageImpl.java | 36 +- .../sysml/metamodel/impl/JoinNodeImpl.java | 36 +- .../sysml/metamodel/impl/LifeClassImpl.java | 10 +- .../metamodel/impl/LiteralBooleanImpl.java | 10 +- .../metamodel/impl/LiteralExpressionImpl.java | 10 +- .../metamodel/impl/LiteralIntegerImpl.java | 10 +- .../sysml/metamodel/impl/LiteralRealImpl.java | 10 +- .../metamodel/impl/LiteralStringImpl.java | 10 +- .../metamodel/impl/LiteralUnboundedImpl.java | 10 +- .../sysml/metamodel/impl/MembershipImpl.java | 28 +- .../sysml/metamodel/impl/MergeNodeImpl.java | 36 +- .../metamodel/impl/MetadataConditionImpl.java | 1325 +++++++++++ .../impl/MetadataExpressionImpl.java | 1304 +++++++++++ .../metamodel/impl/MetadataFeatureImpl.java | 1231 ++++++++++ .../impl/MetadataFeatureValueImpl.java | 667 ++++++ .../impl/MetadataOperationExpressionImpl.java | 1330 +++++++++++ .../impl/MetadataReferenceExpressionImpl.java | 1325 +++++++++++ .../metamodel/impl/MultiplicityImpl.java | 10 +- .../metamodel/impl/MultiplicityRangeImpl.java | 10 +- .../sysml/metamodel/impl/NamespaceImpl.java | 531 +++++ .../metamodel/impl/NullExpressionImpl.java | 10 +- .../impl/ObjectiveMembershipImpl.java | 28 +- .../impl/OperatorExpressionImpl.java | 10 +- .../omg/sysml/metamodel/impl/PackageImpl.java | 60 +- .../impl/ParameterMembershipImpl.java | 28 +- .../metamodel/impl/PartDefinitionImpl.java | 36 +- .../sysml/metamodel/impl/PartUsageImpl.java | 36 +- .../impl/PerformActionUsageImpl.java | 36 +- .../metamodel/impl/PortConjugationImpl.java | 10 +- .../metamodel/impl/PortDefinitionImpl.java | 36 +- .../sysml/metamodel/impl/PortUsageImpl.java | 36 +- .../sysml/metamodel/impl/PredicateImpl.java | 10 +- .../impl/QueryPathExpressionImpl.java | 10 +- .../impl/QueryPathStepExpressionImpl.java | 10 +- .../impl/QueryQualifierExpressionImpl.java | 10 +- .../metamodel/impl/RedefinitionImpl.java | 10 +- .../metamodel/impl/ReferenceUsageImpl.java | 36 +- .../metamodel/impl/RelationshipImpl.java | 10 +- .../impl/RenderingDefinitionImpl.java | 36 +- .../metamodel/impl/RenderingUsageImpl.java | 36 +- .../RequirementConstraintMembershipImpl.java | 28 +- .../impl/RequirementDefinitionImpl.java | 36 +- .../metamodel/impl/RequirementUsageImpl.java | 36 +- ...RequirementVerificationMembershipImpl.java | 28 +- .../impl/ResultExpressionMembershipImpl.java | 28 +- .../impl/ReturnParameterMembershipImpl.java | 28 +- .../impl/SatisfyRequirementUsageImpl.java | 36 +- .../metamodel/impl/SendActionUsageImpl.java | 36 +- .../metamodel/impl/SnapshotFeatureImpl.java | 10 +- .../sysml/metamodel/impl/SourceEndImpl.java | 10 +- .../metamodel/impl/StateDefinitionImpl.java | 36 +- .../impl/StateSubactionMembershipImpl.java | 28 +- .../sysml/metamodel/impl/StateUsageImpl.java | 36 +- .../omg/sysml/metamodel/impl/StepImpl.java | 10 +- .../metamodel/impl/SubjectMembershipImpl.java | 28 +- .../sysml/metamodel/impl/SubsettingImpl.java | 10 +- .../sysml/metamodel/impl/SuccessionImpl.java | 10 +- .../impl/SuccessionItemFlowImpl.java | 10 +- .../metamodel/impl/SuperclassingImpl.java | 10 +- .../sysml/metamodel/impl/TargetEndImpl.java | 10 +- .../impl/TextualRepresentationImpl.java | 10 +- .../metamodel/impl/TimeSliceFeatureImpl.java | 10 +- .../impl/TransferActionUsageImpl.java | 36 +- .../impl/TransitionFeatureMembershipImpl.java | 28 +- .../metamodel/impl/TransitionUsageImpl.java | 36 +- .../metamodel/impl/TypeFeaturingImpl.java | 10 +- .../omg/sysml/metamodel/impl/TypeImpl.java | 10 +- .../omg/sysml/metamodel/impl/UsageImpl.java | 36 +- .../metamodel/impl/VariantMembershipImpl.java | 28 +- .../impl/VerificationCaseDefinitionImpl.java | 36 +- .../impl/VerificationCaseUsageImpl.java | 36 +- .../metamodel/impl/ViewDefinitionImpl.java | 83 +- .../sysml/metamodel/impl/ViewUsageImpl.java | 110 +- .../impl/ViewpointDefinitionImpl.java | 36 +- .../metamodel/impl/ViewpointUsageImpl.java | 36 +- .../sysml/metamodel/impl/package-info.java | 151 +- conf/META-INF/persistence.xml | 12 +- .../impl/AcceptActionUsageImpl_.java | 3 + .../metamodel/impl/ActionDefinitionImpl_.java | 3 + .../metamodel/impl/ActionUsageImpl_.java | 3 + .../impl/AnalysisCaseDefinitionImpl_.java | 3 + .../impl/AnalysisCaseUsageImpl_.java | 3 + .../impl/AnnotatingFeatureImpl_.java | 122 + .../impl/AssertConstraintUsageImpl_.java | 3 + .../impl/AttributeDefinitionImpl_.java | 3 + .../metamodel/impl/AttributeUsageImpl_.java | 3 + .../impl/CalculationDefinitionImpl_.java | 3 + .../metamodel/impl/CalculationUsageImpl_.java | 3 + .../metamodel/impl/CaseDefinitionImpl_.java | 3 + .../sysml/metamodel/impl/CaseUsageImpl_.java | 3 + .../impl/ConjugatedPortDefinitionImpl_.java | 3 + .../impl/ConnectionDefinitionImpl_.java | 3 + .../metamodel/impl/ConnectionUsageImpl_.java | 3 + .../impl/ConstraintDefinitionImpl_.java | 3 + .../metamodel/impl/ConstraintUsageImpl_.java | 3 + .../metamodel/impl/ControlNodeImpl_.java | 3 + .../metamodel/impl/DecisionNodeImpl_.java | 3 + .../sysml/metamodel/impl/DefinitionImpl_.java | 3 + .../metamodel/impl/ElementFilterImpl_.java | 51 + .../impl/EnumerationDefinitionImpl_.java | 170 ++ .../metamodel/impl/EnumerationUsageImpl_.java | 195 ++ .../impl/ExhibitStateUsageImpl_.java | 3 + .../omg/sysml/metamodel/impl/ExposeImpl_.java | 2 + .../sysml/metamodel/impl/ForkNodeImpl_.java | 3 + .../omg/sysml/metamodel/impl/ImportImpl_.java | 2 + .../impl/IndividualDefinitionImpl_.java | 3 + .../metamodel/impl/IndividualUsageImpl_.java | 3 + .../impl/InterfaceDefinitionImpl_.java | 3 + .../metamodel/impl/InterfaceUsageImpl_.java | 3 + .../metamodel/impl/ItemDefinitionImpl_.java | 3 + .../sysml/metamodel/impl/ItemUsageImpl_.java | 3 + .../sysml/metamodel/impl/JoinNodeImpl_.java | 3 + .../sysml/metamodel/impl/MergeNodeImpl_.java | 3 + .../impl/MetadataConditionImpl_.java | 120 + .../impl/MetadataExpressionImpl_.java | 120 + .../metamodel/impl/MetadataFeatureImpl_.java | 115 + .../impl/MetadataFeatureValueImpl_.java | 56 + .../MetadataOperationExpressionImpl_.java | 123 + .../MetadataReferenceExpressionImpl_.java | 120 + .../sysml/metamodel/impl/ModelQueryImpl_.java | 43 - .../sysml/metamodel/impl/NamespaceImpl_.java | 57 + .../sysml/metamodel/impl/PackageImpl_.java | 6 + .../metamodel/impl/PartDefinitionImpl_.java | 3 + .../sysml/metamodel/impl/PartUsageImpl_.java | 3 + .../impl/PerformActionUsageImpl_.java | 3 + .../metamodel/impl/PortDefinitionImpl_.java | 3 + .../sysml/metamodel/impl/PortUsageImpl_.java | 3 + .../metamodel/impl/ReferenceUsageImpl_.java | 3 + .../impl/RenderingDefinitionImpl_.java | 3 + .../metamodel/impl/RenderingUsageImpl_.java | 3 + .../impl/RequirementDefinitionImpl_.java | 3 + .../metamodel/impl/RequirementUsageImpl_.java | 3 + .../impl/SatisfyRequirementUsageImpl_.java | 3 + .../metamodel/impl/SendActionUsageImpl_.java | 3 + .../metamodel/impl/StateDefinitionImpl_.java | 3 + .../sysml/metamodel/impl/StateUsageImpl_.java | 3 + .../impl/TransferActionUsageImpl_.java | 3 + .../metamodel/impl/TransitionUsageImpl_.java | 3 + .../omg/sysml/metamodel/impl/UsageImpl_.java | 3 + .../impl/VerificationCaseDefinitionImpl_.java | 3 + .../impl/VerificationCaseUsageImpl_.java | 3 + .../metamodel/impl/ViewDefinitionImpl_.java | 6 + .../sysml/metamodel/impl/ViewUsageImpl_.java | 14 +- .../impl/ViewpointDefinitionImpl_.java | 3 + .../metamodel/impl/ViewpointUsageImpl_.java | 3 + public/jsonld/AcceptActionUsage.jsonld | 1 + public/jsonld/ActionDefinition.jsonld | 1 + public/jsonld/ActionUsage.jsonld | 1 + public/jsonld/AnalysisCaseDefinition.jsonld | 1 + public/jsonld/AnalysisCaseUsage.jsonld | 1 + public/jsonld/AnnotatingFeature.jsonld | 64 + public/jsonld/AssertConstraintUsage.jsonld | 1 + public/jsonld/AttributeDefinition.jsonld | 1 + public/jsonld/AttributeUsage.jsonld | 1 + public/jsonld/CalculationDefinition.jsonld | 1 + public/jsonld/CalculationUsage.jsonld | 1 + public/jsonld/CaseDefinition.jsonld | 1 + public/jsonld/CaseUsage.jsonld | 1 + public/jsonld/ConjugatedPortDefinition.jsonld | 1 + public/jsonld/ConnectionDefinition.jsonld | 1 + public/jsonld/ConnectionUsage.jsonld | 1 + public/jsonld/ConstraintDefinition.jsonld | 1 + public/jsonld/ConstraintUsage.jsonld | 1 + public/jsonld/ControlNode.jsonld | 1 + public/jsonld/DecisionNode.jsonld | 1 + public/jsonld/Definition.jsonld | 1 + public/jsonld/ElementFilter.jsonld | 31 + public/jsonld/EndFeatureMembership.jsonld | 2 +- public/jsonld/EnumerationDefinition.jsonld | 75 + public/jsonld/EnumerationUsage.jsonld | 91 + public/jsonld/ExhibitStateUsage.jsonld | 1 + public/jsonld/Expose.jsonld | 6 +- public/jsonld/FeatureMembership.jsonld | 2 +- public/jsonld/FeatureValue.jsonld | 2 +- public/jsonld/ForkNode.jsonld | 1 + public/jsonld/Import.jsonld | 5 +- public/jsonld/IndividualDefinition.jsonld | 1 + public/jsonld/IndividualUsage.jsonld | 1 + public/jsonld/InterfaceDefinition.jsonld | 1 + public/jsonld/InterfaceUsage.jsonld | 1 + public/jsonld/ItemDefinition.jsonld | 1 + public/jsonld/ItemUsage.jsonld | 1 + public/jsonld/JoinNode.jsonld | 1 + public/jsonld/Membership.jsonld | 2 +- public/jsonld/MergeNode.jsonld | 1 + public/jsonld/MetadataCondition.jsonld | 65 + public/jsonld/MetadataExpression.jsonld | 64 + public/jsonld/MetadataFeature.jsonld | 61 + public/jsonld/MetadataFeatureValue.jsonld | 38 + .../jsonld/MetadataOperationExpression.jsonld | 65 + .../jsonld/MetadataReferenceExpression.jsonld | 65 + .../{ModelQuery.jsonld => Namespace.jsonld} | 6 + public/jsonld/ObjectiveMembership.jsonld | 2 +- public/jsonld/Package.jsonld | 2 + public/jsonld/ParameterMembership.jsonld | 2 +- public/jsonld/PartDefinition.jsonld | 1 + public/jsonld/PartUsage.jsonld | 1 + public/jsonld/PerformActionUsage.jsonld | 1 + public/jsonld/PortDefinition.jsonld | 1 + public/jsonld/PortUsage.jsonld | 1 + public/jsonld/ReferenceUsage.jsonld | 1 + public/jsonld/RenderingDefinition.jsonld | 1 + public/jsonld/RenderingUsage.jsonld | 1 + .../RequirementConstraintMembership.jsonld | 2 +- public/jsonld/RequirementDefinition.jsonld | 1 + public/jsonld/RequirementUsage.jsonld | 1 + .../RequirementVerificationMembership.jsonld | 2 +- .../jsonld/ResultExpressionMembership.jsonld | 2 +- .../jsonld/ReturnParameterMembership.jsonld | 2 +- public/jsonld/SatisfyRequirementUsage.jsonld | 1 + public/jsonld/SendActionUsage.jsonld | 1 + public/jsonld/StateDefinition.jsonld | 1 + public/jsonld/StateSubactionMembership.jsonld | 2 +- public/jsonld/StateUsage.jsonld | 1 + public/jsonld/SubjectMembership.jsonld | 2 +- public/jsonld/TransferActionUsage.jsonld | 1 + .../jsonld/TransitionFeatureMembership.jsonld | 2 +- public/jsonld/TransitionUsage.jsonld | 1 + public/jsonld/Usage.jsonld | 1 + public/jsonld/VariantMembership.jsonld | 2 +- .../jsonld/VerificationCaseDefinition.jsonld | 1 + public/jsonld/VerificationCaseUsage.jsonld | 1 + public/jsonld/ViewDefinition.jsonld | 5 +- public/jsonld/ViewUsage.jsonld | 7 +- public/jsonld/ViewpointDefinition.jsonld | 1 + public/jsonld/ViewpointUsage.jsonld | 1 + 316 files changed, 17817 insertions(+), 997 deletions(-) create mode 100644 app/org/omg/sysml/metamodel/AnnotatingFeature.java create mode 100644 app/org/omg/sysml/metamodel/ElementFilter.java create mode 100644 app/org/omg/sysml/metamodel/EnumerationDefinition.java create mode 100644 app/org/omg/sysml/metamodel/EnumerationUsage.java create mode 100644 app/org/omg/sysml/metamodel/MetadataCondition.java rename app/org/omg/sysml/metamodel/{ModelQuery.java => MetadataExpression.java} (93%) create mode 100644 app/org/omg/sysml/metamodel/MetadataFeature.java create mode 100644 app/org/omg/sysml/metamodel/MetadataFeatureValue.java create mode 100644 app/org/omg/sysml/metamodel/MetadataOperationExpression.java create mode 100644 app/org/omg/sysml/metamodel/MetadataReferenceExpression.java create mode 100644 app/org/omg/sysml/metamodel/Namespace.java create mode 100644 app/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl.java rename app/org/omg/sysml/metamodel/impl/{ModelQueryImpl.java => ElementFilterImpl.java} (62%) create mode 100644 app/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/EnumerationUsageImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/MetadataConditionImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/MetadataExpressionImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/MetadataFeatureImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl.java create mode 100644 app/org/omg/sysml/metamodel/impl/NamespaceImpl.java create mode 100644 generated/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/ElementFilterImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/EnumerationUsageImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/MetadataConditionImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/MetadataExpressionImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/MetadataFeatureImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl_.java delete mode 100644 generated/org/omg/sysml/metamodel/impl/ModelQueryImpl_.java create mode 100644 generated/org/omg/sysml/metamodel/impl/NamespaceImpl_.java create mode 100644 public/jsonld/AnnotatingFeature.jsonld create mode 100644 public/jsonld/ElementFilter.jsonld create mode 100644 public/jsonld/EnumerationDefinition.jsonld create mode 100644 public/jsonld/EnumerationUsage.jsonld create mode 100644 public/jsonld/MetadataCondition.jsonld create mode 100644 public/jsonld/MetadataExpression.jsonld create mode 100644 public/jsonld/MetadataFeature.jsonld create mode 100644 public/jsonld/MetadataFeatureValue.jsonld create mode 100644 public/jsonld/MetadataOperationExpression.jsonld create mode 100644 public/jsonld/MetadataReferenceExpression.jsonld rename public/jsonld/{ModelQuery.jsonld => Namespace.jsonld} (77%) diff --git a/app/org/omg/sysml/metamodel/AnnotatingFeature.java b/app/org/omg/sysml/metamodel/AnnotatingFeature.java new file mode 100644 index 00000000..2026e04d --- /dev/null +++ b/app/org/omg/sysml/metamodel/AnnotatingFeature.java @@ -0,0 +1,32 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface AnnotatingFeature extends AnnotatingElement, Feature, MofObject { + DataType getMetadataType(); + + Collection getOwnedMetadata(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Definition.java b/app/org/omg/sysml/metamodel/Definition.java index 9d6213f7..92c232c9 100644 --- a/app/org/omg/sysml/metamodel/Definition.java +++ b/app/org/omg/sysml/metamodel/Definition.java @@ -77,4 +77,6 @@ public interface Definition extends Classifier, MofObject { Collection getOwnedRendering(); Collection getOwnedVerificationCase(); + + Collection getOwnedEnumeration(); } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Element.java b/app/org/omg/sysml/metamodel/Element.java index 7d9c421e..cb02bb1c 100644 --- a/app/org/omg/sysml/metamodel/Element.java +++ b/app/org/omg/sysml/metamodel/Element.java @@ -32,7 +32,7 @@ public interface Element extends MofObject { java.util.UUID getIdentifier(); - Package getOwningNamespace(); + Namespace getOwningNamespace(); String getName(); diff --git a/app/org/omg/sysml/metamodel/ElementFilter.java b/app/org/omg/sysml/metamodel/ElementFilter.java new file mode 100644 index 00000000..5c25f522 --- /dev/null +++ b/app/org/omg/sysml/metamodel/ElementFilter.java @@ -0,0 +1,32 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface ElementFilter extends Relationship, MofObject { + MetadataCondition getCondition(); + + Package getFilteredPackage(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/EnumerationDefinition.java b/app/org/omg/sysml/metamodel/EnumerationDefinition.java new file mode 100644 index 00000000..9186692b --- /dev/null +++ b/app/org/omg/sysml/metamodel/EnumerationDefinition.java @@ -0,0 +1,32 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface EnumerationDefinition extends AttributeDefinition, MofObject { + Collection getEnumeratedValue(); + + Boolean getIsVariation(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/EnumerationUsage.java b/app/org/omg/sysml/metamodel/EnumerationUsage.java new file mode 100644 index 00000000..b9d5fb52 --- /dev/null +++ b/app/org/omg/sysml/metamodel/EnumerationUsage.java @@ -0,0 +1,30 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface EnumerationUsage extends AttributeUsage, MofObject { + EnumerationDefinition getEnumerationDefinition(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Expose.java b/app/org/omg/sysml/metamodel/Expose.java index 586c14a7..11fc3e9b 100644 --- a/app/org/omg/sysml/metamodel/Expose.java +++ b/app/org/omg/sysml/metamodel/Expose.java @@ -26,5 +26,5 @@ import java.util.Set; public interface Expose extends Import, MofObject { - ModelQuery getModelQuery(); + } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Import.java b/app/org/omg/sysml/metamodel/Import.java index aeb7f8c1..e2a6162a 100644 --- a/app/org/omg/sysml/metamodel/Import.java +++ b/app/org/omg/sysml/metamodel/Import.java @@ -26,9 +26,11 @@ import java.util.Set; public interface Import extends Relationship, MofObject { - Package getImportedPackage(); + Namespace getImportedNamespace(); - Package getImportOwningPackage(); + Namespace getImportOwningNamespace(); VisibilityKind getVisibility(); + + Boolean getIsRecursive(); } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/LiteralExpression.java b/app/org/omg/sysml/metamodel/LiteralExpression.java index 9072d86f..eb624455 100644 --- a/app/org/omg/sysml/metamodel/LiteralExpression.java +++ b/app/org/omg/sysml/metamodel/LiteralExpression.java @@ -25,6 +25,6 @@ import java.util.List; import java.util.Set; -public interface LiteralExpression extends Expression, MofObject { +public interface LiteralExpression extends MetadataExpression, MofObject { } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Membership.java b/app/org/omg/sysml/metamodel/Membership.java index fcc22569..8c752876 100644 --- a/app/org/omg/sysml/metamodel/Membership.java +++ b/app/org/omg/sysml/metamodel/Membership.java @@ -34,5 +34,5 @@ public interface Membership extends Relationship, MofObject { Element getOwnedMemberElement(); - Package getMembershipOwningPackage(); + Namespace getMembershipOwningNamespace(); } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/MetadataCondition.java b/app/org/omg/sysml/metamodel/MetadataCondition.java new file mode 100644 index 00000000..b62320d8 --- /dev/null +++ b/app/org/omg/sysml/metamodel/MetadataCondition.java @@ -0,0 +1,30 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface MetadataCondition extends MetadataExpression, MofObject { + Feature getAnnotationParameter(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/ModelQuery.java b/app/org/omg/sysml/metamodel/MetadataExpression.java similarity index 93% rename from app/org/omg/sysml/metamodel/ModelQuery.java rename to app/org/omg/sysml/metamodel/MetadataExpression.java index 2ba7129c..43024383 100644 --- a/app/org/omg/sysml/metamodel/ModelQuery.java +++ b/app/org/omg/sysml/metamodel/MetadataExpression.java @@ -25,6 +25,6 @@ import java.util.List; import java.util.Set; -public interface ModelQuery extends Element, MofObject { +public interface MetadataExpression extends Expression, MofObject { } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/MetadataFeature.java b/app/org/omg/sysml/metamodel/MetadataFeature.java new file mode 100644 index 00000000..c4a1f151 --- /dev/null +++ b/app/org/omg/sysml/metamodel/MetadataFeature.java @@ -0,0 +1,30 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface MetadataFeature extends Feature, MofObject { + MetadataFeatureValue getMetadataFeatureValue(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/MetadataFeatureValue.java b/app/org/omg/sysml/metamodel/MetadataFeatureValue.java new file mode 100644 index 00000000..f87e3085 --- /dev/null +++ b/app/org/omg/sysml/metamodel/MetadataFeatureValue.java @@ -0,0 +1,30 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface MetadataFeatureValue extends FeatureValue, MofObject { + MetadataExpression getMetadataValue(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/MetadataOperationExpression.java b/app/org/omg/sysml/metamodel/MetadataOperationExpression.java new file mode 100644 index 00000000..dc51d842 --- /dev/null +++ b/app/org/omg/sysml/metamodel/MetadataOperationExpression.java @@ -0,0 +1,30 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface MetadataOperationExpression extends InvocationExpression, MetadataExpression, MofObject { + List getArgument(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/MetadataReferenceExpression.java b/app/org/omg/sysml/metamodel/MetadataReferenceExpression.java new file mode 100644 index 00000000..f22d957b --- /dev/null +++ b/app/org/omg/sysml/metamodel/MetadataReferenceExpression.java @@ -0,0 +1,30 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface MetadataReferenceExpression extends FeatureReferenceExpression, MetadataExpression, MofObject { + MetadataFeature getReferent(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Namespace.java b/app/org/omg/sysml/metamodel/Namespace.java new file mode 100644 index 00000000..c7927e58 --- /dev/null +++ b/app/org/omg/sysml/metamodel/Namespace.java @@ -0,0 +1,40 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel; + +import java.util.Collection; +import java.util.List; +import java.util.Set; + +public interface Namespace extends Element, MofObject { + List getMembership(); + + List getOwnedImport(); + + List getMember(); + + List getOwnedMember(); + + List getOwnedMembership(); + + List getImportedMembership(); +} \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/NullExpression.java b/app/org/omg/sysml/metamodel/NullExpression.java index 68eea1e3..d1bdd180 100644 --- a/app/org/omg/sysml/metamodel/NullExpression.java +++ b/app/org/omg/sysml/metamodel/NullExpression.java @@ -25,6 +25,6 @@ import java.util.List; import java.util.Set; -public interface NullExpression extends Expression, MofObject { +public interface NullExpression extends MetadataExpression, MofObject { } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Package.java b/app/org/omg/sysml/metamodel/Package.java index 4c205675..b122efd5 100644 --- a/app/org/omg/sysml/metamodel/Package.java +++ b/app/org/omg/sysml/metamodel/Package.java @@ -25,16 +25,8 @@ import java.util.List; import java.util.Set; -public interface Package extends Element, MofObject { - List getMembership(); +public interface Package extends Namespace, MofObject { + Collection getFilterCondition(); - List getOwnedImport(); - - List getMember(); - - List getOwnedMember(); - - List getOwnedMembership(); - - List getImportedMembership(); + Collection getFilter(); } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/Type.java b/app/org/omg/sysml/metamodel/Type.java index 8f373407..4c46b958 100644 --- a/app/org/omg/sysml/metamodel/Type.java +++ b/app/org/omg/sysml/metamodel/Type.java @@ -25,7 +25,7 @@ import java.util.List; import java.util.Set; -public interface Type extends Package, MofObject { +public interface Type extends Namespace, MofObject { List getOwnedGeneralization(); List getOwnedFeatureMembership(); diff --git a/app/org/omg/sysml/metamodel/Usage.java b/app/org/omg/sysml/metamodel/Usage.java index 73f6dd92..929c23eb 100644 --- a/app/org/omg/sysml/metamodel/Usage.java +++ b/app/org/omg/sysml/metamodel/Usage.java @@ -81,4 +81,6 @@ public interface Usage extends Feature, MofObject { Collection getNestedRendering(); Collection getNestedVerificationCase(); + + Collection getNestedEnumeration(); } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/ViewDefinition.java b/app/org/omg/sysml/metamodel/ViewDefinition.java index 1423c5b9..174dcdbb 100644 --- a/app/org/omg/sysml/metamodel/ViewDefinition.java +++ b/app/org/omg/sysml/metamodel/ViewDefinition.java @@ -30,7 +30,7 @@ public interface ViewDefinition extends PartDefinition, MofObject { Collection getSatisfiedViewpoint(); - ModelQuery getModelQuery(); - RenderingUsage getRendering(); + + Collection getViewCondition(); } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/ViewUsage.java b/app/org/omg/sysml/metamodel/ViewUsage.java index 2c0e13fb..7c883aa6 100644 --- a/app/org/omg/sysml/metamodel/ViewUsage.java +++ b/app/org/omg/sysml/metamodel/ViewUsage.java @@ -30,7 +30,11 @@ public interface ViewUsage extends PartUsage, MofObject { Collection getSatisfiedViewpoint(); - Collection getExposedPackage(); + Collection getExposedNamespace(); RenderingUsage getRendering(); + + Collection getViewCondition(); + + Collection getViewedElement(); } \ No newline at end of file diff --git a/app/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl.java b/app/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl.java index c93d5328..17b46b4d 100644 --- a/app/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl.java @@ -931,6 +931,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AcceptActionUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1804,20 +1830,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "AcceptActionUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ActionDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/ActionDefinitionImpl.java index ff43fb5a..750f4dd3 100644 --- a/app/org/omg/sysml/metamodel/impl/ActionDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ActionDefinitionImpl.java @@ -874,6 +874,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ActionDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1506,20 +1532,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ActionDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ActionUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ActionUsageImpl.java index cafd0e08..09b98986 100644 --- a/app/org/omg/sysml/metamodel/impl/ActionUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ActionUsageImpl.java @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ActionUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ActionUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl.java index 6790a6de..ae7b71fd 100644 --- a/app/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl.java @@ -973,6 +973,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnalysisCaseDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1605,20 +1631,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "AnalysisCaseDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl.java b/app/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl.java index 2b37ab3e..810e182c 100644 --- a/app/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl.java @@ -1020,6 +1020,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnalysisCaseUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1914,20 +1940,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "AnalysisCaseUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AnnotatingElementImpl.java b/app/org/omg/sysml/metamodel/impl/AnnotatingElementImpl.java index b4e24fb0..3ed6f099 100644 --- a/app/org/omg/sysml/metamodel/impl/AnnotatingElementImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AnnotatingElementImpl.java @@ -388,20 +388,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "AnnotatingElement") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl.java b/app/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl.java new file mode 100644 index 00000000..0fd01a09 --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl.java @@ -0,0 +1,1307 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "AnnotatingFeatureImpl") +@SecondaryTable(name = "AnnotatingFeature") +@org.hibernate.annotations.Table(appliesTo = "AnnotatingFeature", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "AnnotatingFeature") +@DiscriminatorValue(value = "AnnotatingFeature") +@JsonTypeName(value = "AnnotatingFeature") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class AnnotatingFeatureImpl extends MofObjectImpl implements AnnotatingFeature { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "AnnotatingFeature_aliasId", + joinColumns = @JoinColumn(name = "AnnotatingFeatureId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("annotatedElement") + private Collection annotatedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_annotatedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getAnnotatedElement() { + if (annotatedElement == null) { + annotatedElement = new ArrayList<>(); + } + return annotatedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setAnnotatedElement(Collection annotatedElement) { + this.annotatedElement = annotatedElement; + } + + + + // @info.archinnov.achilles.annotations.Column("annotation") + private Collection annotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_annotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getAnnotation() { + if (annotation == null) { + annotation = new ArrayList<>(); + } + return annotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setAnnotation(Collection annotation) { + this.annotation = annotation; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endOwningType") + private Type endOwningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "endOwningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "endOwningTypeId", table = "AnnotatingFeature") + public Type getEndOwningType() { + return endOwningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setEndOwningType(Type endOwningType) { + this.endOwningType = endOwningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featuringType") + private Collection featuringType; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_featuringType", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeaturingType() { + if (featuringType == null) { + featuringType = new ArrayList<>(); + } + return featuringType; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setFeaturingType(Collection featuringType) { + this.featuringType = featuringType; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "AnnotatingFeature") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "AnnotatingFeature") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "AnnotatingFeature") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isComposite") + private Boolean isComposite; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isComposite", table = "AnnotatingFeature") + public Boolean getIsComposite() { + return isComposite; + } + + @JsonSetter + public void setIsComposite(Boolean isComposite) { + this.isComposite = isComposite; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "AnnotatingFeature") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isEnd") + private Boolean isEnd; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isEnd", table = "AnnotatingFeature") + public Boolean getIsEnd() { + return isEnd; + } + + @JsonSetter + public void setIsEnd(Boolean isEnd) { + this.isEnd = isEnd; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isNonunique") + private Boolean isNonunique; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isNonunique", table = "AnnotatingFeature") + public Boolean getIsNonunique() { + return isNonunique; + } + + @JsonSetter + public void setIsNonunique(Boolean isNonunique) { + this.isNonunique = isNonunique; + } + + + + // @info.archinnov.achilles.annotations.Column("isOrdered") + private Boolean isOrdered; + + @JsonGetter + @javax.persistence.Column(name = "isOrdered", table = "AnnotatingFeature") + public Boolean getIsOrdered() { + return isOrdered; + } + + @JsonSetter + public void setIsOrdered(Boolean isOrdered) { + this.isOrdered = isOrdered; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "AnnotatingFeature") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isUnique") + private Boolean isUnique; + + @JsonGetter + @javax.persistence.Column(name = "isUnique", table = "AnnotatingFeature") + public Boolean getIsUnique() { + return isUnique; + } + + @JsonSetter + public void setIsUnique(Boolean isUnique) { + this.isUnique = isUnique; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("metadataType") + private DataType metadataType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "DataTypeMetaDef", metaColumn = @javax.persistence.Column(name = "metadataTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "metadataTypeId", table = "AnnotatingFeature") + public DataType getMetadataType() { + return metadataType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = DataTypeImpl.class) + public void setMetadataType(DataType metadataType) { + this.metadataType = metadataType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "AnnotatingFeature") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "AnnotatingFeature") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "AnnotatingFeature") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMetadata") + private Collection ownedMetadata; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MetadataFeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedMetadata", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedMetadata() { + if (ownedMetadata == null) { + ownedMetadata = new ArrayList<>(); + } + return ownedMetadata; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MetadataFeatureImpl.class) + public void setOwnedMetadata(Collection ownedMetadata) { + this.ownedMetadata = ownedMetadata; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRedefinition") + private Collection ownedRedefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RedefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedRedefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRedefinition() { + if (ownedRedefinition == null) { + ownedRedefinition = new ArrayList<>(); + } + return ownedRedefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RedefinitionImpl.class) + public void setOwnedRedefinition(Collection ownedRedefinition) { + this.ownedRedefinition = ownedRedefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSubsetting") + private Collection ownedSubsetting; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SubsettingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedSubsetting", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSubsetting() { + if (ownedSubsetting == null) { + ownedSubsetting = new ArrayList<>(); + } + return ownedSubsetting; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SubsettingImpl.class) + public void setOwnedSubsetting(Collection ownedSubsetting) { + this.ownedSubsetting = ownedSubsetting; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTypeFeaturing") + private Collection ownedTypeFeaturing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeFeaturingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedTypeFeaturing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTypeFeaturing() { + if (ownedTypeFeaturing == null) { + ownedTypeFeaturing = new ArrayList<>(); + } + return ownedTypeFeaturing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeFeaturingImpl.class) + public void setOwnedTypeFeaturing(Collection ownedTypeFeaturing) { + this.ownedTypeFeaturing = ownedTypeFeaturing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTyping") + private Collection ownedTyping; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureTypingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_ownedTyping", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTyping() { + if (ownedTyping == null) { + ownedTyping = new ArrayList<>(); + } + return ownedTyping; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureTypingImpl.class) + public void setOwnedTyping(Collection ownedTyping) { + this.ownedTyping = ownedTyping; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "AnnotatingFeature") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningFeatureMembership") + private FeatureMembership owningFeatureMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningFeatureMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningFeatureMembershipId", table = "AnnotatingFeature") + public FeatureMembership getOwningFeatureMembership() { + return owningFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureMembershipImpl.class) + public void setOwningFeatureMembership(FeatureMembership owningFeatureMembership) { + this.owningFeatureMembership = owningFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "AnnotatingFeature") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "AnnotatingFeature") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "AnnotatingFeature") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningType") + private Type owningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "owningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningTypeId", table = "AnnotatingFeature") + public Type getOwningType() { + return owningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setOwningType(Type owningType) { + this.owningType = owningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("type") + private Collection type; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AnnotatingFeature_type", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getType() { + if (type == null) { + type = new ArrayList<>(); + } + return type; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setType(Collection type) { + this.type = type; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/AnnotationImpl.java b/app/org/omg/sysml/metamodel/impl/AnnotationImpl.java index df726813..5928a677 100644 --- a/app/org/omg/sysml/metamodel/impl/AnnotationImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AnnotationImpl.java @@ -419,20 +419,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Annotation") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl.java b/app/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl.java index b0a16622..f8860ca7 100644 --- a/app/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl.java @@ -968,6 +968,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AssertConstraintUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1841,20 +1867,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "AssertConstraintUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AssociationImpl.java b/app/org/omg/sysml/metamodel/impl/AssociationImpl.java index b1d409f4..3cf2dc32 100644 --- a/app/org/omg/sysml/metamodel/impl/AssociationImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AssociationImpl.java @@ -942,20 +942,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Association") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl.java index 42239aa2..414443b8 100644 --- a/app/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl.java @@ -848,6 +848,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AttributeDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1480,20 +1506,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "AttributeDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/AttributeUsageImpl.java b/app/org/omg/sysml/metamodel/impl/AttributeUsageImpl.java index 2f3c1f62..69e46e8b 100644 --- a/app/org/omg/sysml/metamodel/impl/AttributeUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/AttributeUsageImpl.java @@ -884,6 +884,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "AttributeUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1757,20 +1783,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "AttributeUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/BehaviorImpl.java b/app/org/omg/sysml/metamodel/impl/BehaviorImpl.java index 8a53a544..459d2444 100644 --- a/app/org/omg/sysml/metamodel/impl/BehaviorImpl.java +++ b/app/org/omg/sysml/metamodel/impl/BehaviorImpl.java @@ -892,20 +892,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Behavior") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/BindingConnectorImpl.java b/app/org/omg/sysml/metamodel/impl/BindingConnectorImpl.java index acec3d72..ebaaa6db 100644 --- a/app/org/omg/sysml/metamodel/impl/BindingConnectorImpl.java +++ b/app/org/omg/sysml/metamodel/impl/BindingConnectorImpl.java @@ -1214,20 +1214,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "BindingConnector") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/BlockExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/BlockExpressionImpl.java index 3ed08b9e..0fb91f39 100644 --- a/app/org/omg/sysml/metamodel/impl/BlockExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/BlockExpressionImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "BlockExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/BooleanExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/BooleanExpressionImpl.java index 4f9615dd..a20743e0 100644 --- a/app/org/omg/sysml/metamodel/impl/BooleanExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/BooleanExpressionImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "BooleanExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl.java index fcdcd9b7..95ad4919 100644 --- a/app/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl.java @@ -926,6 +926,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "CalculationDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1558,20 +1584,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "CalculationDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/CalculationUsageImpl.java b/app/org/omg/sysml/metamodel/impl/CalculationUsageImpl.java index f8980331..825af27b 100644 --- a/app/org/omg/sysml/metamodel/impl/CalculationUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/CalculationUsageImpl.java @@ -952,6 +952,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "CalculationUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1825,20 +1851,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "CalculationUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/CaseDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/CaseDefinitionImpl.java index 817368e7..c9957a2b 100644 --- a/app/org/omg/sysml/metamodel/impl/CaseDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/CaseDefinitionImpl.java @@ -947,6 +947,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "CaseDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1579,20 +1605,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "CaseDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/CaseUsageImpl.java b/app/org/omg/sysml/metamodel/impl/CaseUsageImpl.java index f6ece838..cdfa0086 100644 --- a/app/org/omg/sysml/metamodel/impl/CaseUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/CaseUsageImpl.java @@ -973,6 +973,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "CaseUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1867,20 +1893,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "CaseUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ClassImpl.java b/app/org/omg/sysml/metamodel/impl/ClassImpl.java index 4205f240..43bfcf6a 100644 --- a/app/org/omg/sysml/metamodel/impl/ClassImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ClassImpl.java @@ -892,20 +892,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Class") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ClassifierImpl.java b/app/org/omg/sysml/metamodel/impl/ClassifierImpl.java index 1b2f850a..aee0ab36 100644 --- a/app/org/omg/sysml/metamodel/impl/ClassifierImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ClassifierImpl.java @@ -892,20 +892,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Classifier") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/CommentImpl.java b/app/org/omg/sysml/metamodel/impl/CommentImpl.java index b28333a6..24f31bc0 100644 --- a/app/org/omg/sysml/metamodel/impl/CommentImpl.java +++ b/app/org/omg/sysml/metamodel/impl/CommentImpl.java @@ -406,20 +406,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Comment") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl.java index 00627618..14890861 100644 --- a/app/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl.java @@ -890,6 +890,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ConjugatedPortDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1541,20 +1567,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ConjugatedPortDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConjugatedPortTypingImpl.java b/app/org/omg/sysml/metamodel/impl/ConjugatedPortTypingImpl.java index baa7f20d..0e8a0c22 100644 --- a/app/org/omg/sysml/metamodel/impl/ConjugatedPortTypingImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConjugatedPortTypingImpl.java @@ -423,20 +423,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ConjugatedPortTyping") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConjugationImpl.java b/app/org/omg/sysml/metamodel/impl/ConjugationImpl.java index 04f33278..97403a1b 100644 --- a/app/org/omg/sysml/metamodel/impl/ConjugationImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConjugationImpl.java @@ -400,20 +400,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Conjugation") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl.java index 8575d874..74c73b30 100644 --- a/app/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl.java @@ -900,6 +900,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ConnectionDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1556,20 +1582,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ConnectionDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConnectionUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ConnectionUsageImpl.java index 9192229b..2d4b2fa1 100644 --- a/app/org/omg/sysml/metamodel/impl/ConnectionUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConnectionUsageImpl.java @@ -978,6 +978,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ConnectionUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1875,20 +1901,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ConnectionUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConnectorImpl.java b/app/org/omg/sysml/metamodel/impl/ConnectorImpl.java index fed5b097..2a50dfff 100644 --- a/app/org/omg/sysml/metamodel/impl/ConnectorImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConnectorImpl.java @@ -1214,20 +1214,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Connector") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl.java index d542816a..cf8ff33e 100644 --- a/app/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl.java @@ -874,6 +874,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ConstraintDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1506,20 +1532,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ConstraintDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ConstraintUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ConstraintUsageImpl.java index 026a2414..f7cdd7af 100644 --- a/app/org/omg/sysml/metamodel/impl/ConstraintUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ConstraintUsageImpl.java @@ -926,6 +926,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ConstraintUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1799,20 +1825,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ConstraintUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ControlNodeImpl.java b/app/org/omg/sysml/metamodel/impl/ControlNodeImpl.java index dfa88970..f63ea150 100644 --- a/app/org/omg/sysml/metamodel/impl/ControlNodeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ControlNodeImpl.java @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ControlNode_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ControlNode") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/DataTypeImpl.java b/app/org/omg/sysml/metamodel/impl/DataTypeImpl.java index b0eb4dcb..98f2cc4d 100644 --- a/app/org/omg/sysml/metamodel/impl/DataTypeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/DataTypeImpl.java @@ -892,20 +892,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "DataType") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/DecisionNodeImpl.java b/app/org/omg/sysml/metamodel/impl/DecisionNodeImpl.java index 6a4f101b..c012753d 100644 --- a/app/org/omg/sysml/metamodel/impl/DecisionNodeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/DecisionNodeImpl.java @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "DecisionNode_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "DecisionNode") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/DefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/DefinitionImpl.java index 4af81d47..9eded3d6 100644 --- a/app/org/omg/sysml/metamodel/impl/DefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/DefinitionImpl.java @@ -848,6 +848,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Definition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1480,20 +1506,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Definition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/DependencyImpl.java b/app/org/omg/sysml/metamodel/impl/DependencyImpl.java index a89f4b1f..6e3c91f2 100644 --- a/app/org/omg/sysml/metamodel/impl/DependencyImpl.java +++ b/app/org/omg/sysml/metamodel/impl/DependencyImpl.java @@ -386,20 +386,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Dependency") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/DocumentationImpl.java b/app/org/omg/sysml/metamodel/impl/DocumentationImpl.java index cf7e3fe9..72d9feb2 100644 --- a/app/org/omg/sysml/metamodel/impl/DocumentationImpl.java +++ b/app/org/omg/sysml/metamodel/impl/DocumentationImpl.java @@ -457,20 +457,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Documentation") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ModelQueryImpl.java b/app/org/omg/sysml/metamodel/impl/ElementFilterImpl.java similarity index 62% rename from app/org/omg/sysml/metamodel/impl/ModelQueryImpl.java rename to app/org/omg/sysml/metamodel/impl/ElementFilterImpl.java index 662b35d8..cff4025b 100644 --- a/app/org/omg/sysml/metamodel/impl/ModelQueryImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ElementFilterImpl.java @@ -61,14 +61,14 @@ import java.util.Set; import java.util.HashSet; -@Entity(name = "ModelQueryImpl") -@SecondaryTable(name = "ModelQuery") -@org.hibernate.annotations.Table(appliesTo = "ModelQuery", fetch = FetchMode.SELECT, optional = false) -// @info.archinnov.achilles.annotations.Table(table = "ModelQuery") -@DiscriminatorValue(value = "ModelQuery") -@JsonTypeName(value = "ModelQuery") +@Entity(name = "ElementFilterImpl") +@SecondaryTable(name = "ElementFilter") +@org.hibernate.annotations.Table(appliesTo = "ElementFilter", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "ElementFilter") +@DiscriminatorValue(value = "ElementFilter") +@JsonTypeName(value = "ElementFilter") @JsonTypeInfo(use = JsonTypeInfo.Id.NAME) -public class ModelQueryImpl extends MofObjectImpl implements ModelQuery { +public class ElementFilterImpl extends MofObjectImpl implements ElementFilter { // @info.archinnov.achilles.annotations.Column("aliasId") private Collection aliasId; @@ -76,8 +76,8 @@ public class ModelQueryImpl extends MofObjectImpl implements ModelQuery { @Lob @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") @ElementCollection(targetClass = String.class) - @CollectionTable(name = "ModelQuery_aliasId", - joinColumns = @JoinColumn(name = "ModelQueryId")) + @CollectionTable(name = "ElementFilter_aliasId", + joinColumns = @JoinColumn(name = "ElementFilterId")) public Collection getAliasId() { if (aliasId == null) { aliasId = new ArrayList<>(); @@ -92,13 +92,32 @@ public void setAliasId(Collection aliasId) { + // @info.archinnov.achilles.annotations.Column("condition") + private MetadataCondition condition; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MetadataConditionMetaDef", metaColumn = @javax.persistence.Column(name = "conditionType"), fetch = FetchType.LAZY) + @JoinColumn(name = "conditionId", table = "ElementFilter") + public MetadataCondition getCondition() { + return condition; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MetadataConditionImpl.class) + public void setCondition(MetadataCondition condition) { + this.condition = condition; + } + + + // @info.archinnov.achilles.annotations.Column("documentation") private Collection documentation; @JsonGetter @JsonSerialize(contentUsing = MofObjectSerializer.class) @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) - @JoinTable(name = "ModelQuery_documentation", + @JoinTable(name = "ElementFilter_documentation", joinColumns = @JoinColumn(name = "classId"), inverseJoinColumns = @JoinColumn(name = "attributeId")) public Collection getDocumentation() { @@ -124,7 +143,7 @@ public void setDocumentation(Collection documentation) { @JsonSerialize(contentUsing = MofObjectSerializer.class) // @javax.persistence.Transient @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) - @JoinTable(name = "ModelQuery_documentationComment", + @JoinTable(name = "ElementFilter_documentationComment", joinColumns = @JoinColumn(name = "classId"), inverseJoinColumns = @JoinColumn(name = "attributeId")) public Collection getDocumentationComment() { @@ -142,13 +161,32 @@ public void setDocumentationComment(Collection documentationComment) { + // @info.archinnov.achilles.annotations.Column("filteredPackage") + private Package filteredPackage; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "filteredPackageType"), fetch = FetchType.LAZY) + @JoinColumn(name = "filteredPackageId", table = "ElementFilter") + public Package getFilteredPackage() { + return filteredPackage; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) + public void setFilteredPackage(Package filteredPackage) { + this.filteredPackage = filteredPackage; + } + + + // @info.archinnov.achilles.annotations.Column("humanId") private String humanId; @JsonGetter @Lob @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") - @javax.persistence.Column(name = "humanId", table = "ModelQuery") + @javax.persistence.Column(name = "humanId", table = "ElementFilter") public String getHumanId() { return humanId; } @@ -164,7 +202,7 @@ public void setHumanId(String humanId) { private java.util.UUID identifier; @JsonGetter - @javax.persistence.Column(name = "identifier", table = "ModelQuery") + @javax.persistence.Column(name = "identifier", table = "ElementFilter") public java.util.UUID getIdentifier() { return identifier; } @@ -184,7 +222,7 @@ public void setIdentifier(java.util.UUID identifier) { @Lob @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") // @javax.persistence.Transient - @javax.persistence.Column(name = "name", table = "ModelQuery") + @javax.persistence.Column(name = "name", table = "ElementFilter") public String getName() { return name; } @@ -202,7 +240,7 @@ public void setName(String name) { @JsonGetter @JsonSerialize(contentUsing = MofObjectSerializer.class) @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) - @JoinTable(name = "ModelQuery_ownedAnnotation", + @JoinTable(name = "ElementFilter_ownedAnnotation", joinColumns = @JoinColumn(name = "classId"), inverseJoinColumns = @JoinColumn(name = "attributeId")) public Collection getOwnedAnnotation() { @@ -228,7 +266,7 @@ public void setOwnedAnnotation(Collection ownedAnnotation) { @JsonSerialize(contentUsing = MofObjectSerializer.class) // @javax.persistence.Transient @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) - @JoinTable(name = "ModelQuery_ownedElement", + @JoinTable(name = "ElementFilter_ownedElement", joinColumns = @JoinColumn(name = "classId"), inverseJoinColumns = @JoinColumn(name = "attributeId")) public Collection getOwnedElement() { @@ -246,13 +284,37 @@ public void setOwnedElement(Collection ownedElement) { + // @info.archinnov.achilles.annotations.Column("ownedRelatedElement") + private List ownedRelatedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ElementFilter_ownedRelatedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelatedElement() { + if (ownedRelatedElement == null) { + ownedRelatedElement = new ArrayList<>(); + } + return ownedRelatedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedRelatedElement(List ownedRelatedElement) { + this.ownedRelatedElement = ownedRelatedElement; + } + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") private List ownedRelationship; @JsonGetter @JsonSerialize(contentUsing = MofObjectSerializer.class) @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) - @JoinTable(name = "ModelQuery_ownedRelationship", + @JoinTable(name = "ElementFilter_ownedRelationship", joinColumns = @JoinColumn(name = "classId"), inverseJoinColumns = @JoinColumn(name = "attributeId")) public List getOwnedRelationship() { @@ -278,7 +340,7 @@ public void setOwnedRelationship(List ownedRelationship) { @JsonSerialize(contentUsing = MofObjectSerializer.class) // @javax.persistence.Transient @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) - @JoinTable(name = "ModelQuery_ownedTextualRepresentation", + @JoinTable(name = "ElementFilter_ownedTextualRepresentation", joinColumns = @JoinColumn(name = "classId"), inverseJoinColumns = @JoinColumn(name = "attributeId")) public Collection getOwnedTextualRepresentation() { @@ -304,7 +366,7 @@ public void setOwnedTextualRepresentation(Collection owne @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) - @JoinColumn(name = "ownerId", table = "ModelQuery") + @JoinColumn(name = "ownerId", table = "ElementFilter") public Element getOwner() { return owner; } @@ -323,7 +385,7 @@ public void setOwner(Element owner) { @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) - @JoinColumn(name = "owningMembershipId", table = "ModelQuery") + @JoinColumn(name = "owningMembershipId", table = "ElementFilter") public Membership getOwningMembership() { return owningMembership; } @@ -338,32 +400,51 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) - @JoinColumn(name = "owningNamespaceId", table = "ModelQuery") - public Package getOwningNamespace() { + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "ElementFilter") + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } + // @info.archinnov.achilles.annotations.Column("owningRelatedElement") + private Element owningRelatedElement; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelatedElementType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelatedElementId", table = "ElementFilter") + public Element getOwningRelatedElement() { + return owningRelatedElement; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwningRelatedElement(Element owningRelatedElement) { + this.owningRelatedElement = owningRelatedElement; + } + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") private Relationship owningRelationship; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) - @JoinColumn(name = "owningRelationshipId", table = "ModelQuery") + @JoinColumn(name = "owningRelationshipId", table = "ElementFilter") public Relationship getOwningRelationship() { return owningRelationship; } @@ -376,4 +457,78 @@ public void setOwningRelationship(Relationship owningRelationship) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("relatedElement") + private List relatedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ElementFilter_relatedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getRelatedElement() { + if (relatedElement == null) { + relatedElement = new ArrayList<>(); + } + return relatedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setRelatedElement(List relatedElement) { + this.relatedElement = relatedElement; + } + + + + // @info.archinnov.achilles.annotations.Column("source") + private List source; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ElementFilter_source", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getSource() { + if (source == null) { + source = new ArrayList<>(); + } + return source; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setSource(List source) { + this.source = source; + } + + + + // @info.archinnov.achilles.annotations.Column("target") + private List target; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ElementFilter_target", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getTarget() { + if (target == null) { + target = new ArrayList<>(); + } + return target; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setTarget(List target) { + this.target = target; + } + + + } diff --git a/app/org/omg/sysml/metamodel/impl/ElementImpl.java b/app/org/omg/sysml/metamodel/impl/ElementImpl.java index ddb14895..ecc05bfe 100644 --- a/app/org/omg/sysml/metamodel/impl/ElementImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ElementImpl.java @@ -338,20 +338,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Element") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/EndFeatureMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/EndFeatureMembershipImpl.java index a1c99ed9..3ee6e8be 100644 --- a/app/org/omg/sysml/metamodel/impl/EndFeatureMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/EndFeatureMembershipImpl.java @@ -368,21 +368,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "EndFeatureMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "EndFeatureMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -632,20 +632,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "EndFeatureMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl.java new file mode 100644 index 00000000..0745b6f1 --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl.java @@ -0,0 +1,1649 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "EnumerationDefinitionImpl") +@SecondaryTable(name = "EnumerationDefinition") +@org.hibernate.annotations.Table(appliesTo = "EnumerationDefinition", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "EnumerationDefinition") +@DiscriminatorValue(value = "EnumerationDefinition") +@JsonTypeName(value = "EnumerationDefinition") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class EnumerationDefinitionImpl extends MofObjectImpl implements EnumerationDefinition { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "EnumerationDefinition_aliasId", + joinColumns = @JoinColumn(name = "EnumerationDefinitionId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("enumeratedValue") + private Collection enumeratedValue; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_enumeratedValue", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEnumeratedValue() { + if (enumeratedValue == null) { + enumeratedValue = new ArrayList<>(); + } + return enumeratedValue; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setEnumeratedValue(Collection enumeratedValue) { + this.enumeratedValue = enumeratedValue; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("flowFeature") + private Collection flowFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_flowFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFlowFeature() { + if (flowFeature == null) { + flowFeature = new ArrayList<>(); + } + return flowFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setFlowFeature(Collection flowFeature) { + this.flowFeature = flowFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "EnumerationDefinition") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "EnumerationDefinition") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "EnumerationDefinition") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "EnumerationDefinition") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "EnumerationDefinition") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isVariation") + private Boolean isVariation; + + @JsonGetter + @javax.persistence.Column(name = "isVariation", table = "EnumerationDefinition") + public Boolean getIsVariation() { + return isVariation; + } + + @JsonSetter + public void setIsVariation(Boolean isVariation) { + this.isVariation = isVariation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "EnumerationDefinition") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "EnumerationDefinition") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedAction") + private Collection ownedAction; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ActionUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedAction", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAction() { + if (ownedAction == null) { + ownedAction = new ArrayList<>(); + } + return ownedAction; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ActionUsageImpl.class) + public void setOwnedAction(Collection ownedAction) { + this.ownedAction = ownedAction; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedAnalysisCase") + private Collection ownedAnalysisCase; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "AnalysisCaseUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedAnalysisCase", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnalysisCase() { + if (ownedAnalysisCase == null) { + ownedAnalysisCase = new ArrayList<>(); + } + return ownedAnalysisCase; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnalysisCaseUsageImpl.class) + public void setOwnedAnalysisCase(Collection ownedAnalysisCase) { + this.ownedAnalysisCase = ownedAnalysisCase; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedAttribute") + private Collection ownedAttribute; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "AttributeUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedAttribute", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAttribute() { + if (ownedAttribute == null) { + ownedAttribute = new ArrayList<>(); + } + return ownedAttribute; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AttributeUsageImpl.class) + public void setOwnedAttribute(Collection ownedAttribute) { + this.ownedAttribute = ownedAttribute; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedCalculation") + private Collection ownedCalculation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CalculationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedCalculation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedCalculation() { + if (ownedCalculation == null) { + ownedCalculation = new ArrayList<>(); + } + return ownedCalculation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CalculationUsageImpl.class) + public void setOwnedCalculation(Collection ownedCalculation) { + this.ownedCalculation = ownedCalculation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedCase") + private Collection ownedCase; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CaseUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedCase", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedCase() { + if (ownedCase == null) { + ownedCase = new ArrayList<>(); + } + return ownedCase; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CaseUsageImpl.class) + public void setOwnedCase(Collection ownedCase) { + this.ownedCase = ownedCase; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "EnumerationDefinition") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConnection") + private Collection ownedConnection; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ConnectionUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedConnection", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedConnection() { + if (ownedConnection == null) { + ownedConnection = new ArrayList<>(); + } + return ownedConnection; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ConnectionUsageImpl.class) + public void setOwnedConnection(Collection ownedConnection) { + this.ownedConnection = ownedConnection; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConstraint") + private Collection ownedConstraint; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ConstraintUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedConstraint", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedConstraint() { + if (ownedConstraint == null) { + ownedConstraint = new ArrayList<>(); + } + return ownedConstraint; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ConstraintUsageImpl.class) + public void setOwnedConstraint(Collection ownedConstraint) { + this.ownedConstraint = ownedConstraint; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedIndividual") + private Collection ownedIndividual; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "IndividualUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedIndividual", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedIndividual() { + if (ownedIndividual == null) { + ownedIndividual = new ArrayList<>(); + } + return ownedIndividual; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = IndividualUsageImpl.class) + public void setOwnedIndividual(Collection ownedIndividual) { + this.ownedIndividual = ownedIndividual; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedInterface") + private Collection ownedInterface; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "InterfaceUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedInterface", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedInterface() { + if (ownedInterface == null) { + ownedInterface = new ArrayList<>(); + } + return ownedInterface; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = InterfaceUsageImpl.class) + public void setOwnedInterface(Collection ownedInterface) { + this.ownedInterface = ownedInterface; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedItem") + private Collection ownedItem; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ItemUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedItem", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedItem() { + if (ownedItem == null) { + ownedItem = new ArrayList<>(); + } + return ownedItem; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ItemUsageImpl.class) + public void setOwnedItem(Collection ownedItem) { + this.ownedItem = ownedItem; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedPart") + private Collection ownedPart; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "PartUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedPart", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedPart() { + if (ownedPart == null) { + ownedPart = new ArrayList<>(); + } + return ownedPart; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = PartUsageImpl.class) + public void setOwnedPart(Collection ownedPart) { + this.ownedPart = ownedPart; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedPort") + private Collection ownedPort; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "PortUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedPort", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedPort() { + if (ownedPort == null) { + ownedPort = new ArrayList<>(); + } + return ownedPort; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = PortUsageImpl.class) + public void setOwnedPort(Collection ownedPort) { + this.ownedPort = ownedPort; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedReference") + private Collection ownedReference; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ReferenceUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedReference", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedReference() { + if (ownedReference == null) { + ownedReference = new ArrayList<>(); + } + return ownedReference; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ReferenceUsageImpl.class) + public void setOwnedReference(Collection ownedReference) { + this.ownedReference = ownedReference; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRendering") + private Collection ownedRendering; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RenderingUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedRendering", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRendering() { + if (ownedRendering == null) { + ownedRendering = new ArrayList<>(); + } + return ownedRendering; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RenderingUsageImpl.class) + public void setOwnedRendering(Collection ownedRendering) { + this.ownedRendering = ownedRendering; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRequirement") + private Collection ownedRequirement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RequirementUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedRequirement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRequirement() { + if (ownedRequirement == null) { + ownedRequirement = new ArrayList<>(); + } + return ownedRequirement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RequirementUsageImpl.class) + public void setOwnedRequirement(Collection ownedRequirement) { + this.ownedRequirement = ownedRequirement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedState") + private Collection ownedState; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "StateUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedState", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedState() { + if (ownedState == null) { + ownedState = new ArrayList<>(); + } + return ownedState; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = StateUsageImpl.class) + public void setOwnedState(Collection ownedState) { + this.ownedState = ownedState; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSuperclassing") + private Collection ownedSuperclassing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SuperclassingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedSuperclassing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSuperclassing() { + if (ownedSuperclassing == null) { + ownedSuperclassing = new ArrayList<>(); + } + return ownedSuperclassing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SuperclassingImpl.class) + public void setOwnedSuperclassing(Collection ownedSuperclassing) { + this.ownedSuperclassing = ownedSuperclassing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTransition") + private Collection ownedTransition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TransitionUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedTransition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTransition() { + if (ownedTransition == null) { + ownedTransition = new ArrayList<>(); + } + return ownedTransition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TransitionUsageImpl.class) + public void setOwnedTransition(Collection ownedTransition) { + this.ownedTransition = ownedTransition; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedUsage") + private Collection ownedUsage; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedUsage", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedUsage() { + if (ownedUsage == null) { + ownedUsage = new ArrayList<>(); + } + return ownedUsage; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setOwnedUsage(Collection ownedUsage) { + this.ownedUsage = ownedUsage; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedVerificationCase") + private Collection ownedVerificationCase; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "VerificationCaseUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedVerificationCase", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedVerificationCase() { + if (ownedVerificationCase == null) { + ownedVerificationCase = new ArrayList<>(); + } + return ownedVerificationCase; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = VerificationCaseUsageImpl.class) + public void setOwnedVerificationCase(Collection ownedVerificationCase) { + this.ownedVerificationCase = ownedVerificationCase; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedView") + private Collection ownedView; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ViewUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedView", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedView() { + if (ownedView == null) { + ownedView = new ArrayList<>(); + } + return ownedView; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ViewUsageImpl.class) + public void setOwnedView(Collection ownedView) { + this.ownedView = ownedView; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedViewpoint") + private Collection ownedViewpoint; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ViewpointUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_ownedViewpoint", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedViewpoint() { + if (ownedViewpoint == null) { + ownedViewpoint = new ArrayList<>(); + } + return ownedViewpoint; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ViewpointUsageImpl.class) + public void setOwnedViewpoint(Collection ownedViewpoint) { + this.ownedViewpoint = ownedViewpoint; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "EnumerationDefinition") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "EnumerationDefinition") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "EnumerationDefinition") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "EnumerationDefinition") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("usage") + private Collection usage; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_usage", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getUsage() { + if (usage == null) { + usage = new ArrayList<>(); + } + return usage; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setUsage(Collection usage) { + this.usage = usage; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("variant") + private Collection variant; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_variant", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getVariant() { + if (variant == null) { + variant = new ArrayList<>(); + } + return variant; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setVariant(Collection variant) { + this.variant = variant; + } + + + + // @info.archinnov.achilles.annotations.Column("variantMembership") + private Collection variantMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "VariantMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationDefinition_variantMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getVariantMembership() { + if (variantMembership == null) { + variantMembership = new ArrayList<>(); + } + return variantMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = VariantMembershipImpl.class) + public void setVariantMembership(Collection variantMembership) { + this.variantMembership = variantMembership; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/EnumerationUsageImpl.java b/app/org/omg/sysml/metamodel/impl/EnumerationUsageImpl.java new file mode 100644 index 00000000..fae72599 --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/EnumerationUsageImpl.java @@ -0,0 +1,1989 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "EnumerationUsageImpl") +@SecondaryTable(name = "EnumerationUsage") +@org.hibernate.annotations.Table(appliesTo = "EnumerationUsage", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "EnumerationUsage") +@DiscriminatorValue(value = "EnumerationUsage") +@JsonTypeName(value = "EnumerationUsage") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class EnumerationUsageImpl extends MofObjectImpl implements EnumerationUsage { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "EnumerationUsage_aliasId", + joinColumns = @JoinColumn(name = "EnumerationUsageId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("attributeDefinition") + private Collection attributeDefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "DataTypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_attributeDefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getAttributeDefinition() { + if (attributeDefinition == null) { + attributeDefinition = new ArrayList<>(); + } + return attributeDefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DataTypeImpl.class) + public void setAttributeDefinition(Collection attributeDefinition) { + this.attributeDefinition = attributeDefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endOwningType") + private Type endOwningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "endOwningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "endOwningTypeId", table = "EnumerationUsage") + public Type getEndOwningType() { + return endOwningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setEndOwningType(Type endOwningType) { + this.endOwningType = endOwningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("enumerationDefinition") + private EnumerationDefinition enumerationDefinition; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "EnumerationDefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "enumerationDefinitionType"), fetch = FetchType.LAZY) + @JoinColumn(name = "enumerationDefinitionId", table = "EnumerationUsage") + public EnumerationDefinition getEnumerationDefinition() { + return enumerationDefinition; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = EnumerationDefinitionImpl.class) + public void setEnumerationDefinition(EnumerationDefinition enumerationDefinition) { + this.enumerationDefinition = enumerationDefinition; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featuringType") + private Collection featuringType; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_featuringType", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeaturingType() { + if (featuringType == null) { + featuringType = new ArrayList<>(); + } + return featuringType; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setFeaturingType(Collection featuringType) { + this.featuringType = featuringType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("flowFeature") + private Collection flowFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_flowFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFlowFeature() { + if (flowFeature == null) { + flowFeature = new ArrayList<>(); + } + return flowFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setFlowFeature(Collection flowFeature) { + this.flowFeature = flowFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "EnumerationUsage") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "EnumerationUsage") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "EnumerationUsage") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isComposite") + private Boolean isComposite; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isComposite", table = "EnumerationUsage") + public Boolean getIsComposite() { + return isComposite; + } + + @JsonSetter + public void setIsComposite(Boolean isComposite) { + this.isComposite = isComposite; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "EnumerationUsage") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isEnd") + private Boolean isEnd; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isEnd", table = "EnumerationUsage") + public Boolean getIsEnd() { + return isEnd; + } + + @JsonSetter + public void setIsEnd(Boolean isEnd) { + this.isEnd = isEnd; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isNonunique") + private Boolean isNonunique; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isNonunique", table = "EnumerationUsage") + public Boolean getIsNonunique() { + return isNonunique; + } + + @JsonSetter + public void setIsNonunique(Boolean isNonunique) { + this.isNonunique = isNonunique; + } + + + + // @info.archinnov.achilles.annotations.Column("isOrdered") + private Boolean isOrdered; + + @JsonGetter + @javax.persistence.Column(name = "isOrdered", table = "EnumerationUsage") + public Boolean getIsOrdered() { + return isOrdered; + } + + @JsonSetter + public void setIsOrdered(Boolean isOrdered) { + this.isOrdered = isOrdered; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "EnumerationUsage") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isUnique") + private Boolean isUnique; + + @JsonGetter + @javax.persistence.Column(name = "isUnique", table = "EnumerationUsage") + public Boolean getIsUnique() { + return isUnique; + } + + @JsonSetter + public void setIsUnique(Boolean isUnique) { + this.isUnique = isUnique; + } + + + + // @info.archinnov.achilles.annotations.Column("isVariation") + private Boolean isVariation; + + @JsonGetter + @javax.persistence.Column(name = "isVariation", table = "EnumerationUsage") + public Boolean getIsVariation() { + return isVariation; + } + + @JsonSetter + public void setIsVariation(Boolean isVariation) { + this.isVariation = isVariation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "EnumerationUsage") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "EnumerationUsage") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedAction") + private Collection nestedAction; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ActionUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedAction", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedAction() { + if (nestedAction == null) { + nestedAction = new ArrayList<>(); + } + return nestedAction; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ActionUsageImpl.class) + public void setNestedAction(Collection nestedAction) { + this.nestedAction = nestedAction; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedAnalysisCase") + private Collection nestedAnalysisCase; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "AnalysisCaseUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedAnalysisCase", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedAnalysisCase() { + if (nestedAnalysisCase == null) { + nestedAnalysisCase = new ArrayList<>(); + } + return nestedAnalysisCase; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnalysisCaseUsageImpl.class) + public void setNestedAnalysisCase(Collection nestedAnalysisCase) { + this.nestedAnalysisCase = nestedAnalysisCase; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedAttribute") + private Collection nestedAttribute; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "AttributeUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedAttribute", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedAttribute() { + if (nestedAttribute == null) { + nestedAttribute = new ArrayList<>(); + } + return nestedAttribute; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AttributeUsageImpl.class) + public void setNestedAttribute(Collection nestedAttribute) { + this.nestedAttribute = nestedAttribute; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedCalculation") + private Collection nestedCalculation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CalculationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedCalculation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedCalculation() { + if (nestedCalculation == null) { + nestedCalculation = new ArrayList<>(); + } + return nestedCalculation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CalculationUsageImpl.class) + public void setNestedCalculation(Collection nestedCalculation) { + this.nestedCalculation = nestedCalculation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedCase") + private Collection nestedCase; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CaseUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedCase", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedCase() { + if (nestedCase == null) { + nestedCase = new ArrayList<>(); + } + return nestedCase; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CaseUsageImpl.class) + public void setNestedCase(Collection nestedCase) { + this.nestedCase = nestedCase; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedConnection") + private Collection nestedConnection; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ConnectionUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedConnection", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedConnection() { + if (nestedConnection == null) { + nestedConnection = new ArrayList<>(); + } + return nestedConnection; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ConnectionUsageImpl.class) + public void setNestedConnection(Collection nestedConnection) { + this.nestedConnection = nestedConnection; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedConstraint") + private Collection nestedConstraint; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ConstraintUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedConstraint", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedConstraint() { + if (nestedConstraint == null) { + nestedConstraint = new ArrayList<>(); + } + return nestedConstraint; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ConstraintUsageImpl.class) + public void setNestedConstraint(Collection nestedConstraint) { + this.nestedConstraint = nestedConstraint; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedIndividual") + private Collection nestedIndividual; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "IndividualUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedIndividual", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedIndividual() { + if (nestedIndividual == null) { + nestedIndividual = new ArrayList<>(); + } + return nestedIndividual; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = IndividualUsageImpl.class) + public void setNestedIndividual(Collection nestedIndividual) { + this.nestedIndividual = nestedIndividual; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedInterface") + private Collection nestedInterface; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "InterfaceUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedInterface", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedInterface() { + if (nestedInterface == null) { + nestedInterface = new ArrayList<>(); + } + return nestedInterface; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = InterfaceUsageImpl.class) + public void setNestedInterface(Collection nestedInterface) { + this.nestedInterface = nestedInterface; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedItem") + private Collection nestedItem; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ItemUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedItem", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedItem() { + if (nestedItem == null) { + nestedItem = new ArrayList<>(); + } + return nestedItem; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ItemUsageImpl.class) + public void setNestedItem(Collection nestedItem) { + this.nestedItem = nestedItem; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedPart") + private Collection nestedPart; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "PartUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedPart", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedPart() { + if (nestedPart == null) { + nestedPart = new ArrayList<>(); + } + return nestedPart; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = PartUsageImpl.class) + public void setNestedPart(Collection nestedPart) { + this.nestedPart = nestedPart; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedPort") + private Collection nestedPort; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "PortUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedPort", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedPort() { + if (nestedPort == null) { + nestedPort = new ArrayList<>(); + } + return nestedPort; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = PortUsageImpl.class) + public void setNestedPort(Collection nestedPort) { + this.nestedPort = nestedPort; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedReference") + private Collection nestedReference; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ReferenceUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedReference", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedReference() { + if (nestedReference == null) { + nestedReference = new ArrayList<>(); + } + return nestedReference; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ReferenceUsageImpl.class) + public void setNestedReference(Collection nestedReference) { + this.nestedReference = nestedReference; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedRendering") + private Collection nestedRendering; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RenderingUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedRendering", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedRendering() { + if (nestedRendering == null) { + nestedRendering = new ArrayList<>(); + } + return nestedRendering; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RenderingUsageImpl.class) + public void setNestedRendering(Collection nestedRendering) { + this.nestedRendering = nestedRendering; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedRequirement") + private Collection nestedRequirement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RequirementUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedRequirement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedRequirement() { + if (nestedRequirement == null) { + nestedRequirement = new ArrayList<>(); + } + return nestedRequirement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RequirementUsageImpl.class) + public void setNestedRequirement(Collection nestedRequirement) { + this.nestedRequirement = nestedRequirement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedState") + private Collection nestedState; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "StateUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedState", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedState() { + if (nestedState == null) { + nestedState = new ArrayList<>(); + } + return nestedState; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = StateUsageImpl.class) + public void setNestedState(Collection nestedState) { + this.nestedState = nestedState; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedTransition") + private Collection nestedTransition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TransitionUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedTransition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedTransition() { + if (nestedTransition == null) { + nestedTransition = new ArrayList<>(); + } + return nestedTransition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TransitionUsageImpl.class) + public void setNestedTransition(Collection nestedTransition) { + this.nestedTransition = nestedTransition; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedUsage") + private Collection nestedUsage; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedUsage", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedUsage() { + if (nestedUsage == null) { + nestedUsage = new ArrayList<>(); + } + return nestedUsage; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setNestedUsage(Collection nestedUsage) { + this.nestedUsage = nestedUsage; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedVerificationCase") + private Collection nestedVerificationCase; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "VerificationCaseUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedVerificationCase", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedVerificationCase() { + if (nestedVerificationCase == null) { + nestedVerificationCase = new ArrayList<>(); + } + return nestedVerificationCase; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = VerificationCaseUsageImpl.class) + public void setNestedVerificationCase(Collection nestedVerificationCase) { + this.nestedVerificationCase = nestedVerificationCase; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedView") + private Collection nestedView; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ViewUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedView", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedView() { + if (nestedView == null) { + nestedView = new ArrayList<>(); + } + return nestedView; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ViewUsageImpl.class) + public void setNestedView(Collection nestedView) { + this.nestedView = nestedView; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedViewpoint") + private Collection nestedViewpoint; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ViewpointUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_nestedViewpoint", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedViewpoint() { + if (nestedViewpoint == null) { + nestedViewpoint = new ArrayList<>(); + } + return nestedViewpoint; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ViewpointUsageImpl.class) + public void setNestedViewpoint(Collection nestedViewpoint) { + this.nestedViewpoint = nestedViewpoint; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "EnumerationUsage") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRedefinition") + private Collection ownedRedefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RedefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedRedefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRedefinition() { + if (ownedRedefinition == null) { + ownedRedefinition = new ArrayList<>(); + } + return ownedRedefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RedefinitionImpl.class) + public void setOwnedRedefinition(Collection ownedRedefinition) { + this.ownedRedefinition = ownedRedefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSubsetting") + private Collection ownedSubsetting; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SubsettingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedSubsetting", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSubsetting() { + if (ownedSubsetting == null) { + ownedSubsetting = new ArrayList<>(); + } + return ownedSubsetting; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SubsettingImpl.class) + public void setOwnedSubsetting(Collection ownedSubsetting) { + this.ownedSubsetting = ownedSubsetting; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTypeFeaturing") + private Collection ownedTypeFeaturing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeFeaturingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedTypeFeaturing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTypeFeaturing() { + if (ownedTypeFeaturing == null) { + ownedTypeFeaturing = new ArrayList<>(); + } + return ownedTypeFeaturing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeFeaturingImpl.class) + public void setOwnedTypeFeaturing(Collection ownedTypeFeaturing) { + this.ownedTypeFeaturing = ownedTypeFeaturing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTyping") + private Collection ownedTyping; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureTypingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_ownedTyping", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTyping() { + if (ownedTyping == null) { + ownedTyping = new ArrayList<>(); + } + return ownedTyping; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureTypingImpl.class) + public void setOwnedTyping(Collection ownedTyping) { + this.ownedTyping = ownedTyping; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "EnumerationUsage") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningDefinition") + private Definition owningDefinition; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "DefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "owningDefinitionType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningDefinitionId", table = "EnumerationUsage") + public Definition getOwningDefinition() { + return owningDefinition; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = DefinitionImpl.class) + public void setOwningDefinition(Definition owningDefinition) { + this.owningDefinition = owningDefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("owningFeatureMembership") + private FeatureMembership owningFeatureMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningFeatureMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningFeatureMembershipId", table = "EnumerationUsage") + public FeatureMembership getOwningFeatureMembership() { + return owningFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureMembershipImpl.class) + public void setOwningFeatureMembership(FeatureMembership owningFeatureMembership) { + this.owningFeatureMembership = owningFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "EnumerationUsage") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "EnumerationUsage") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "EnumerationUsage") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningType") + private Type owningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "owningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningTypeId", table = "EnumerationUsage") + public Type getOwningType() { + return owningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setOwningType(Type owningType) { + this.owningType = owningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningUsage") + private Usage owningUsage; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "owningUsageType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningUsageId", table = "EnumerationUsage") + public Usage getOwningUsage() { + return owningUsage; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = UsageImpl.class) + public void setOwningUsage(Usage owningUsage) { + this.owningUsage = owningUsage; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("type") + private Collection type; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_type", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getType() { + if (type == null) { + type = new ArrayList<>(); + } + return type; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setType(Collection type) { + this.type = type; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("usage") + private Collection usage; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_usage", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getUsage() { + if (usage == null) { + usage = new ArrayList<>(); + } + return usage; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setUsage(Collection usage) { + this.usage = usage; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("variant") + private Collection variant; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "UsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_variant", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getVariant() { + if (variant == null) { + variant = new ArrayList<>(); + } + return variant; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = UsageImpl.class) + public void setVariant(Collection variant) { + this.variant = variant; + } + + + + // @info.archinnov.achilles.annotations.Column("variantMembership") + private Collection variantMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "VariantMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "EnumerationUsage_variantMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getVariantMembership() { + if (variantMembership == null) { + variantMembership = new ArrayList<>(); + } + return variantMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = VariantMembershipImpl.class) + public void setVariantMembership(Collection variantMembership) { + this.variantMembership = variantMembership; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl.java index e1c502fa..170c7aa3 100644 --- a/app/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl.java @@ -994,6 +994,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ExhibitStateUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1867,20 +1893,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ExhibitStateUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ExposeImpl.java b/app/org/omg/sysml/metamodel/impl/ExposeImpl.java index bf7dc7db..89fbcf06 100644 --- a/app/org/omg/sysml/metamodel/impl/ExposeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ExposeImpl.java @@ -176,59 +176,56 @@ public void setIdentifier(java.util.UUID identifier) { - // @info.archinnov.achilles.annotations.Column("importOwningPackage") - private Package importOwningPackage; + // @info.archinnov.achilles.annotations.Column("importOwningNamespace") + private Namespace importOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "importOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "importOwningPackageId", table = "Expose") - public Package getImportOwningPackage() { - return importOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "importOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "importOwningNamespaceId", table = "Expose") + public Namespace getImportOwningNamespace() { + return importOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setImportOwningPackage(Package importOwningPackage) { - this.importOwningPackage = importOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setImportOwningNamespace(Namespace importOwningNamespace) { + this.importOwningNamespace = importOwningNamespace; } - // @info.archinnov.achilles.annotations.Column("importedPackage") - private Package importedPackage; + // @info.archinnov.achilles.annotations.Column("importedNamespace") + private Namespace importedNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "importedPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "importedPackageId", table = "Expose") - public Package getImportedPackage() { - return importedPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "importedNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "importedNamespaceId", table = "Expose") + public Namespace getImportedNamespace() { + return importedNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setImportedPackage(Package importedPackage) { - this.importedPackage = importedPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setImportedNamespace(Namespace importedNamespace) { + this.importedNamespace = importedNamespace; } - // @info.archinnov.achilles.annotations.Column("modelQuery") - private ModelQuery modelQuery; + // @info.archinnov.achilles.annotations.Column("isRecursive") + private Boolean isRecursive; @JsonGetter - @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "ModelQueryMetaDef", metaColumn = @javax.persistence.Column(name = "modelQueryType"), fetch = FetchType.LAZY) - @JoinColumn(name = "modelQueryId", table = "Expose") - public ModelQuery getModelQuery() { - return modelQuery; + @javax.persistence.Column(name = "isRecursive", table = "Expose") + public Boolean getIsRecursive() { + return isRecursive; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = ModelQueryImpl.class) - public void setModelQuery(ModelQuery modelQuery) { - this.modelQuery = modelQuery; + public void setIsRecursive(Boolean isRecursive) { + this.isRecursive = isRecursive; } @@ -419,20 +416,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Expose") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/ExpressionImpl.java index 5fa6554e..4844552c 100644 --- a/app/org/omg/sysml/metamodel/impl/ExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ExpressionImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Expression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/FeatureImpl.java b/app/org/omg/sysml/metamodel/impl/FeatureImpl.java index a98ba5ad..f7bd1b60 100644 --- a/app/org/omg/sysml/metamodel/impl/FeatureImpl.java +++ b/app/org/omg/sysml/metamodel/impl/FeatureImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Feature") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/FeatureMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/FeatureMembershipImpl.java index 8896d3aa..a548bc0c 100644 --- a/app/org/omg/sysml/metamodel/impl/FeatureMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/FeatureMembershipImpl.java @@ -368,21 +368,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "FeatureMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "FeatureMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -632,20 +632,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "FeatureMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/FeatureReferenceExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/FeatureReferenceExpressionImpl.java index 05cdbc99..671d8ae1 100644 --- a/app/org/omg/sysml/metamodel/impl/FeatureReferenceExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/FeatureReferenceExpressionImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "FeatureReferenceExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/FeatureTypingImpl.java b/app/org/omg/sysml/metamodel/impl/FeatureTypingImpl.java index 0985f6ac..ec0818fd 100644 --- a/app/org/omg/sysml/metamodel/impl/FeatureTypingImpl.java +++ b/app/org/omg/sysml/metamodel/impl/FeatureTypingImpl.java @@ -402,20 +402,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "FeatureTyping") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/FeatureValueImpl.java b/app/org/omg/sysml/metamodel/impl/FeatureValueImpl.java index 49da35f2..4252560f 100644 --- a/app/org/omg/sysml/metamodel/impl/FeatureValueImpl.java +++ b/app/org/omg/sysml/metamodel/impl/FeatureValueImpl.java @@ -232,21 +232,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "FeatureValue") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "FeatureValue") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -456,20 +456,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "FeatureValue") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ForkNodeImpl.java b/app/org/omg/sysml/metamodel/impl/ForkNodeImpl.java index 0bbf2fbd..f6b3ea64 100644 --- a/app/org/omg/sysml/metamodel/impl/ForkNodeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ForkNodeImpl.java @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ForkNode_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ForkNode") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/FunctionImpl.java b/app/org/omg/sysml/metamodel/impl/FunctionImpl.java index 979faaf8..5ae78c90 100644 --- a/app/org/omg/sysml/metamodel/impl/FunctionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/FunctionImpl.java @@ -918,20 +918,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Function") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/GeneralizationImpl.java b/app/org/omg/sysml/metamodel/impl/GeneralizationImpl.java index eb37269f..363fdf5d 100644 --- a/app/org/omg/sysml/metamodel/impl/GeneralizationImpl.java +++ b/app/org/omg/sysml/metamodel/impl/GeneralizationImpl.java @@ -381,20 +381,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Generalization") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ImportImpl.java b/app/org/omg/sysml/metamodel/impl/ImportImpl.java index 1b67ebf0..8c846522 100644 --- a/app/org/omg/sysml/metamodel/impl/ImportImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ImportImpl.java @@ -176,40 +176,56 @@ public void setIdentifier(java.util.UUID identifier) { - // @info.archinnov.achilles.annotations.Column("importOwningPackage") - private Package importOwningPackage; + // @info.archinnov.achilles.annotations.Column("importOwningNamespace") + private Namespace importOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "importOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "importOwningPackageId", table = "Import") - public Package getImportOwningPackage() { - return importOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "importOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "importOwningNamespaceId", table = "Import") + public Namespace getImportOwningNamespace() { + return importOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setImportOwningPackage(Package importOwningPackage) { - this.importOwningPackage = importOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setImportOwningNamespace(Namespace importOwningNamespace) { + this.importOwningNamespace = importOwningNamespace; } - // @info.archinnov.achilles.annotations.Column("importedPackage") - private Package importedPackage; + // @info.archinnov.achilles.annotations.Column("importedNamespace") + private Namespace importedNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "importedPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "importedPackageId", table = "Import") - public Package getImportedPackage() { - return importedPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "importedNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "importedNamespaceId", table = "Import") + public Namespace getImportedNamespace() { + return importedNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setImportedPackage(Package importedPackage) { - this.importedPackage = importedPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setImportedNamespace(Namespace importedNamespace) { + this.importedNamespace = importedNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("isRecursive") + private Boolean isRecursive; + + @JsonGetter + @javax.persistence.Column(name = "isRecursive", table = "Import") + public Boolean getIsRecursive() { + return isRecursive; + } + + @JsonSetter + public void setIsRecursive(Boolean isRecursive) { + this.isRecursive = isRecursive; } @@ -400,20 +416,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Import") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl.java index a7c04acf..f43c264b 100644 --- a/app/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl.java @@ -869,6 +869,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "IndividualDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1501,20 +1527,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "IndividualDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/IndividualUsageImpl.java b/app/org/omg/sysml/metamodel/impl/IndividualUsageImpl.java index 8a532822..10216a82 100644 --- a/app/org/omg/sysml/metamodel/impl/IndividualUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/IndividualUsageImpl.java @@ -941,6 +941,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "IndividualUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1814,20 +1840,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "IndividualUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/InstanceCreationExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/InstanceCreationExpressionImpl.java index 664b5e36..1a6ea931 100644 --- a/app/org/omg/sysml/metamodel/impl/InstanceCreationExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/InstanceCreationExpressionImpl.java @@ -1214,20 +1214,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "InstanceCreationExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/InteractionImpl.java b/app/org/omg/sysml/metamodel/impl/InteractionImpl.java index ef2eb763..6f6965c2 100644 --- a/app/org/omg/sysml/metamodel/impl/InteractionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/InteractionImpl.java @@ -942,20 +942,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Interaction") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl.java index 81d4faa1..59a3442c 100644 --- a/app/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl.java @@ -926,6 +926,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "InterfaceDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1582,20 +1608,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "InterfaceDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/InterfaceUsageImpl.java b/app/org/omg/sysml/metamodel/impl/InterfaceUsageImpl.java index da988b37..70dc60fc 100644 --- a/app/org/omg/sysml/metamodel/impl/InterfaceUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/InterfaceUsageImpl.java @@ -999,6 +999,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "InterfaceUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1896,20 +1922,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "InterfaceUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/InvariantImpl.java b/app/org/omg/sysml/metamodel/impl/InvariantImpl.java index 61047b2d..775cacf3 100644 --- a/app/org/omg/sysml/metamodel/impl/InvariantImpl.java +++ b/app/org/omg/sysml/metamodel/impl/InvariantImpl.java @@ -1190,20 +1190,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Invariant") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/InvocationExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/InvocationExpressionImpl.java index 0a03e447..787ea233 100644 --- a/app/org/omg/sysml/metamodel/impl/InvocationExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/InvocationExpressionImpl.java @@ -1195,20 +1195,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "InvocationExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ItemDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/ItemDefinitionImpl.java index eaba1763..819d0bf9 100644 --- a/app/org/omg/sysml/metamodel/impl/ItemDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ItemDefinitionImpl.java @@ -848,6 +848,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ItemDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1480,20 +1506,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ItemDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ItemFeatureImpl.java b/app/org/omg/sysml/metamodel/impl/ItemFeatureImpl.java index 6eeb161b..0426a8b6 100644 --- a/app/org/omg/sysml/metamodel/impl/ItemFeatureImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ItemFeatureImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ItemFeature") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ItemFlowEndImpl.java b/app/org/omg/sysml/metamodel/impl/ItemFlowEndImpl.java index 31fc6cb2..813a8a53 100644 --- a/app/org/omg/sysml/metamodel/impl/ItemFlowEndImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ItemFlowEndImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ItemFlowEnd") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ItemFlowFeatureImpl.java b/app/org/omg/sysml/metamodel/impl/ItemFlowFeatureImpl.java index a3c4a127..f714caa9 100644 --- a/app/org/omg/sysml/metamodel/impl/ItemFlowFeatureImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ItemFlowFeatureImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ItemFlowFeature") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ItemFlowImpl.java b/app/org/omg/sysml/metamodel/impl/ItemFlowImpl.java index ddaf0115..825444c6 100644 --- a/app/org/omg/sysml/metamodel/impl/ItemFlowImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ItemFlowImpl.java @@ -1344,20 +1344,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ItemFlow") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ItemUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ItemUsageImpl.java index 9d4da229..017eb923 100644 --- a/app/org/omg/sysml/metamodel/impl/ItemUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ItemUsageImpl.java @@ -884,6 +884,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ItemUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1757,20 +1783,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ItemUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/JoinNodeImpl.java b/app/org/omg/sysml/metamodel/impl/JoinNodeImpl.java index ab16ba0c..b09915f1 100644 --- a/app/org/omg/sysml/metamodel/impl/JoinNodeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/JoinNodeImpl.java @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "JoinNode_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "JoinNode") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/LifeClassImpl.java b/app/org/omg/sysml/metamodel/impl/LifeClassImpl.java index 72a92b9f..53e83fbd 100644 --- a/app/org/omg/sysml/metamodel/impl/LifeClassImpl.java +++ b/app/org/omg/sysml/metamodel/impl/LifeClassImpl.java @@ -892,20 +892,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "LifeClass") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/LiteralBooleanImpl.java b/app/org/omg/sysml/metamodel/impl/LiteralBooleanImpl.java index c49de241..da27ecf9 100644 --- a/app/org/omg/sysml/metamodel/impl/LiteralBooleanImpl.java +++ b/app/org/omg/sysml/metamodel/impl/LiteralBooleanImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "LiteralBoolean") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/LiteralExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/LiteralExpressionImpl.java index f404b3fb..1d27e708 100644 --- a/app/org/omg/sysml/metamodel/impl/LiteralExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/LiteralExpressionImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "LiteralExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/LiteralIntegerImpl.java b/app/org/omg/sysml/metamodel/impl/LiteralIntegerImpl.java index 00016e9d..4d815204 100644 --- a/app/org/omg/sysml/metamodel/impl/LiteralIntegerImpl.java +++ b/app/org/omg/sysml/metamodel/impl/LiteralIntegerImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "LiteralInteger") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/LiteralRealImpl.java b/app/org/omg/sysml/metamodel/impl/LiteralRealImpl.java index e12c7407..b6128c88 100644 --- a/app/org/omg/sysml/metamodel/impl/LiteralRealImpl.java +++ b/app/org/omg/sysml/metamodel/impl/LiteralRealImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "LiteralReal") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/LiteralStringImpl.java b/app/org/omg/sysml/metamodel/impl/LiteralStringImpl.java index 35ead22e..a47e34cf 100644 --- a/app/org/omg/sysml/metamodel/impl/LiteralStringImpl.java +++ b/app/org/omg/sysml/metamodel/impl/LiteralStringImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "LiteralString") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/LiteralUnboundedImpl.java b/app/org/omg/sysml/metamodel/impl/LiteralUnboundedImpl.java index 1155cf16..6e8308f7 100644 --- a/app/org/omg/sysml/metamodel/impl/LiteralUnboundedImpl.java +++ b/app/org/omg/sysml/metamodel/impl/LiteralUnboundedImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "LiteralUnbounded") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/MembershipImpl.java b/app/org/omg/sysml/metamodel/impl/MembershipImpl.java index 5a09ffcf..bb8b5e9d 100644 --- a/app/org/omg/sysml/metamodel/impl/MembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/MembershipImpl.java @@ -213,21 +213,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "Membership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "Membership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -437,20 +437,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Membership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/MergeNodeImpl.java b/app/org/omg/sysml/metamodel/impl/MergeNodeImpl.java index a74ab460..97337036 100644 --- a/app/org/omg/sysml/metamodel/impl/MergeNodeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/MergeNodeImpl.java @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MergeNode_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "MergeNode") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/MetadataConditionImpl.java b/app/org/omg/sysml/metamodel/impl/MetadataConditionImpl.java new file mode 100644 index 00000000..dcfc70bf --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/MetadataConditionImpl.java @@ -0,0 +1,1325 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "MetadataConditionImpl") +@SecondaryTable(name = "MetadataCondition") +@org.hibernate.annotations.Table(appliesTo = "MetadataCondition", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "MetadataCondition") +@DiscriminatorValue(value = "MetadataCondition") +@JsonTypeName(value = "MetadataCondition") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class MetadataConditionImpl extends MofObjectImpl implements MetadataCondition { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "MetadataCondition_aliasId", + joinColumns = @JoinColumn(name = "MetadataConditionId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("annotationParameter") + private Feature annotationParameter; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "annotationParameterType"), fetch = FetchType.LAZY) + @JoinColumn(name = "annotationParameterId", table = "MetadataCondition") + public Feature getAnnotationParameter() { + return annotationParameter; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureImpl.class) + public void setAnnotationParameter(Feature annotationParameter) { + this.annotationParameter = annotationParameter; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("behavior") + private Collection behavior; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "BehaviorMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_behavior", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getBehavior() { + if (behavior == null) { + behavior = new ArrayList<>(); + } + return behavior; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = BehaviorImpl.class) + public void setBehavior(Collection behavior) { + this.behavior = behavior; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endOwningType") + private Type endOwningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "endOwningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "endOwningTypeId", table = "MetadataCondition") + public Type getEndOwningType() { + return endOwningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setEndOwningType(Type endOwningType) { + this.endOwningType = endOwningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featuringType") + private Collection featuringType; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_featuringType", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeaturingType() { + if (featuringType == null) { + featuringType = new ArrayList<>(); + } + return featuringType; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setFeaturingType(Collection featuringType) { + this.featuringType = featuringType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("function") + private Function function; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FunctionMetaDef", metaColumn = @javax.persistence.Column(name = "functionType"), fetch = FetchType.LAZY) + @JoinColumn(name = "functionId", table = "MetadataCondition") + public Function getFunction() { + return function; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FunctionImpl.class) + public void setFunction(Function function) { + this.function = function; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "MetadataCondition") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "MetadataCondition") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "MetadataCondition") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isComposite") + private Boolean isComposite; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isComposite", table = "MetadataCondition") + public Boolean getIsComposite() { + return isComposite; + } + + @JsonSetter + public void setIsComposite(Boolean isComposite) { + this.isComposite = isComposite; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "MetadataCondition") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isEnd") + private Boolean isEnd; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isEnd", table = "MetadataCondition") + public Boolean getIsEnd() { + return isEnd; + } + + @JsonSetter + public void setIsEnd(Boolean isEnd) { + this.isEnd = isEnd; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isNonunique") + private Boolean isNonunique; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isNonunique", table = "MetadataCondition") + public Boolean getIsNonunique() { + return isNonunique; + } + + @JsonSetter + public void setIsNonunique(Boolean isNonunique) { + this.isNonunique = isNonunique; + } + + + + // @info.archinnov.achilles.annotations.Column("isOrdered") + private Boolean isOrdered; + + @JsonGetter + @javax.persistence.Column(name = "isOrdered", table = "MetadataCondition") + public Boolean getIsOrdered() { + return isOrdered; + } + + @JsonSetter + public void setIsOrdered(Boolean isOrdered) { + this.isOrdered = isOrdered; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "MetadataCondition") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isUnique") + private Boolean isUnique; + + @JsonGetter + @javax.persistence.Column(name = "isUnique", table = "MetadataCondition") + public Boolean getIsUnique() { + return isUnique; + } + + @JsonSetter + public void setIsUnique(Boolean isUnique) { + this.isUnique = isUnique; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "MetadataCondition") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "MetadataCondition") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "MetadataCondition") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRedefinition") + private Collection ownedRedefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RedefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedRedefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRedefinition() { + if (ownedRedefinition == null) { + ownedRedefinition = new ArrayList<>(); + } + return ownedRedefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RedefinitionImpl.class) + public void setOwnedRedefinition(Collection ownedRedefinition) { + this.ownedRedefinition = ownedRedefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSubsetting") + private Collection ownedSubsetting; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SubsettingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedSubsetting", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSubsetting() { + if (ownedSubsetting == null) { + ownedSubsetting = new ArrayList<>(); + } + return ownedSubsetting; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SubsettingImpl.class) + public void setOwnedSubsetting(Collection ownedSubsetting) { + this.ownedSubsetting = ownedSubsetting; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTypeFeaturing") + private Collection ownedTypeFeaturing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeFeaturingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedTypeFeaturing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTypeFeaturing() { + if (ownedTypeFeaturing == null) { + ownedTypeFeaturing = new ArrayList<>(); + } + return ownedTypeFeaturing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeFeaturingImpl.class) + public void setOwnedTypeFeaturing(Collection ownedTypeFeaturing) { + this.ownedTypeFeaturing = ownedTypeFeaturing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTyping") + private Collection ownedTyping; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureTypingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_ownedTyping", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTyping() { + if (ownedTyping == null) { + ownedTyping = new ArrayList<>(); + } + return ownedTyping; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureTypingImpl.class) + public void setOwnedTyping(Collection ownedTyping) { + this.ownedTyping = ownedTyping; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "MetadataCondition") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningFeatureMembership") + private FeatureMembership owningFeatureMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningFeatureMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningFeatureMembershipId", table = "MetadataCondition") + public FeatureMembership getOwningFeatureMembership() { + return owningFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureMembershipImpl.class) + public void setOwningFeatureMembership(FeatureMembership owningFeatureMembership) { + this.owningFeatureMembership = owningFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "MetadataCondition") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "MetadataCondition") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "MetadataCondition") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningType") + private Type owningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "owningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningTypeId", table = "MetadataCondition") + public Type getOwningType() { + return owningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setOwningType(Type owningType) { + this.owningType = owningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("parameter") + private Collection parameter; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_parameter", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getParameter() { + if (parameter == null) { + parameter = new ArrayList<>(); + } + return parameter; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setParameter(Collection parameter) { + this.parameter = parameter; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("result") + private Feature result; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "resultType"), fetch = FetchType.LAZY) + @JoinColumn(name = "resultId", table = "MetadataCondition") + public Feature getResult() { + return result; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureImpl.class) + public void setResult(Feature result) { + this.result = result; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("type") + private Collection type; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataCondition_type", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getType() { + if (type == null) { + type = new ArrayList<>(); + } + return type; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setType(Collection type) { + this.type = type; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/MetadataExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/MetadataExpressionImpl.java new file mode 100644 index 00000000..e1009a68 --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/MetadataExpressionImpl.java @@ -0,0 +1,1304 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "MetadataExpressionImpl") +@SecondaryTable(name = "MetadataExpression") +@org.hibernate.annotations.Table(appliesTo = "MetadataExpression", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "MetadataExpression") +@DiscriminatorValue(value = "MetadataExpression") +@JsonTypeName(value = "MetadataExpression") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class MetadataExpressionImpl extends MofObjectImpl implements MetadataExpression { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "MetadataExpression_aliasId", + joinColumns = @JoinColumn(name = "MetadataExpressionId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("behavior") + private Collection behavior; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "BehaviorMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_behavior", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getBehavior() { + if (behavior == null) { + behavior = new ArrayList<>(); + } + return behavior; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = BehaviorImpl.class) + public void setBehavior(Collection behavior) { + this.behavior = behavior; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endOwningType") + private Type endOwningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "endOwningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "endOwningTypeId", table = "MetadataExpression") + public Type getEndOwningType() { + return endOwningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setEndOwningType(Type endOwningType) { + this.endOwningType = endOwningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featuringType") + private Collection featuringType; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_featuringType", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeaturingType() { + if (featuringType == null) { + featuringType = new ArrayList<>(); + } + return featuringType; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setFeaturingType(Collection featuringType) { + this.featuringType = featuringType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("function") + private Function function; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FunctionMetaDef", metaColumn = @javax.persistence.Column(name = "functionType"), fetch = FetchType.LAZY) + @JoinColumn(name = "functionId", table = "MetadataExpression") + public Function getFunction() { + return function; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FunctionImpl.class) + public void setFunction(Function function) { + this.function = function; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "MetadataExpression") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "MetadataExpression") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "MetadataExpression") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isComposite") + private Boolean isComposite; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isComposite", table = "MetadataExpression") + public Boolean getIsComposite() { + return isComposite; + } + + @JsonSetter + public void setIsComposite(Boolean isComposite) { + this.isComposite = isComposite; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "MetadataExpression") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isEnd") + private Boolean isEnd; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isEnd", table = "MetadataExpression") + public Boolean getIsEnd() { + return isEnd; + } + + @JsonSetter + public void setIsEnd(Boolean isEnd) { + this.isEnd = isEnd; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isNonunique") + private Boolean isNonunique; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isNonunique", table = "MetadataExpression") + public Boolean getIsNonunique() { + return isNonunique; + } + + @JsonSetter + public void setIsNonunique(Boolean isNonunique) { + this.isNonunique = isNonunique; + } + + + + // @info.archinnov.achilles.annotations.Column("isOrdered") + private Boolean isOrdered; + + @JsonGetter + @javax.persistence.Column(name = "isOrdered", table = "MetadataExpression") + public Boolean getIsOrdered() { + return isOrdered; + } + + @JsonSetter + public void setIsOrdered(Boolean isOrdered) { + this.isOrdered = isOrdered; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "MetadataExpression") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isUnique") + private Boolean isUnique; + + @JsonGetter + @javax.persistence.Column(name = "isUnique", table = "MetadataExpression") + public Boolean getIsUnique() { + return isUnique; + } + + @JsonSetter + public void setIsUnique(Boolean isUnique) { + this.isUnique = isUnique; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "MetadataExpression") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "MetadataExpression") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "MetadataExpression") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRedefinition") + private Collection ownedRedefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RedefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedRedefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRedefinition() { + if (ownedRedefinition == null) { + ownedRedefinition = new ArrayList<>(); + } + return ownedRedefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RedefinitionImpl.class) + public void setOwnedRedefinition(Collection ownedRedefinition) { + this.ownedRedefinition = ownedRedefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSubsetting") + private Collection ownedSubsetting; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SubsettingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedSubsetting", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSubsetting() { + if (ownedSubsetting == null) { + ownedSubsetting = new ArrayList<>(); + } + return ownedSubsetting; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SubsettingImpl.class) + public void setOwnedSubsetting(Collection ownedSubsetting) { + this.ownedSubsetting = ownedSubsetting; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTypeFeaturing") + private Collection ownedTypeFeaturing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeFeaturingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedTypeFeaturing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTypeFeaturing() { + if (ownedTypeFeaturing == null) { + ownedTypeFeaturing = new ArrayList<>(); + } + return ownedTypeFeaturing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeFeaturingImpl.class) + public void setOwnedTypeFeaturing(Collection ownedTypeFeaturing) { + this.ownedTypeFeaturing = ownedTypeFeaturing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTyping") + private Collection ownedTyping; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureTypingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_ownedTyping", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTyping() { + if (ownedTyping == null) { + ownedTyping = new ArrayList<>(); + } + return ownedTyping; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureTypingImpl.class) + public void setOwnedTyping(Collection ownedTyping) { + this.ownedTyping = ownedTyping; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "MetadataExpression") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningFeatureMembership") + private FeatureMembership owningFeatureMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningFeatureMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningFeatureMembershipId", table = "MetadataExpression") + public FeatureMembership getOwningFeatureMembership() { + return owningFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureMembershipImpl.class) + public void setOwningFeatureMembership(FeatureMembership owningFeatureMembership) { + this.owningFeatureMembership = owningFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "MetadataExpression") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "MetadataExpression") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "MetadataExpression") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningType") + private Type owningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "owningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningTypeId", table = "MetadataExpression") + public Type getOwningType() { + return owningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setOwningType(Type owningType) { + this.owningType = owningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("parameter") + private Collection parameter; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_parameter", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getParameter() { + if (parameter == null) { + parameter = new ArrayList<>(); + } + return parameter; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setParameter(Collection parameter) { + this.parameter = parameter; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("result") + private Feature result; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "resultType"), fetch = FetchType.LAZY) + @JoinColumn(name = "resultId", table = "MetadataExpression") + public Feature getResult() { + return result; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureImpl.class) + public void setResult(Feature result) { + this.result = result; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("type") + private Collection type; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataExpression_type", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getType() { + if (type == null) { + type = new ArrayList<>(); + } + return type; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setType(Collection type) { + this.type = type; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/MetadataFeatureImpl.java b/app/org/omg/sysml/metamodel/impl/MetadataFeatureImpl.java new file mode 100644 index 00000000..e50525fe --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/MetadataFeatureImpl.java @@ -0,0 +1,1231 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "MetadataFeatureImpl") +@SecondaryTable(name = "MetadataFeature") +@org.hibernate.annotations.Table(appliesTo = "MetadataFeature", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "MetadataFeature") +@DiscriminatorValue(value = "MetadataFeature") +@JsonTypeName(value = "MetadataFeature") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class MetadataFeatureImpl extends MofObjectImpl implements MetadataFeature { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "MetadataFeature_aliasId", + joinColumns = @JoinColumn(name = "MetadataFeatureId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endOwningType") + private Type endOwningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "endOwningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "endOwningTypeId", table = "MetadataFeature") + public Type getEndOwningType() { + return endOwningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setEndOwningType(Type endOwningType) { + this.endOwningType = endOwningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featuringType") + private Collection featuringType; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_featuringType", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeaturingType() { + if (featuringType == null) { + featuringType = new ArrayList<>(); + } + return featuringType; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setFeaturingType(Collection featuringType) { + this.featuringType = featuringType; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "MetadataFeature") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "MetadataFeature") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "MetadataFeature") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isComposite") + private Boolean isComposite; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isComposite", table = "MetadataFeature") + public Boolean getIsComposite() { + return isComposite; + } + + @JsonSetter + public void setIsComposite(Boolean isComposite) { + this.isComposite = isComposite; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "MetadataFeature") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isEnd") + private Boolean isEnd; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isEnd", table = "MetadataFeature") + public Boolean getIsEnd() { + return isEnd; + } + + @JsonSetter + public void setIsEnd(Boolean isEnd) { + this.isEnd = isEnd; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isNonunique") + private Boolean isNonunique; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isNonunique", table = "MetadataFeature") + public Boolean getIsNonunique() { + return isNonunique; + } + + @JsonSetter + public void setIsNonunique(Boolean isNonunique) { + this.isNonunique = isNonunique; + } + + + + // @info.archinnov.achilles.annotations.Column("isOrdered") + private Boolean isOrdered; + + @JsonGetter + @javax.persistence.Column(name = "isOrdered", table = "MetadataFeature") + public Boolean getIsOrdered() { + return isOrdered; + } + + @JsonSetter + public void setIsOrdered(Boolean isOrdered) { + this.isOrdered = isOrdered; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "MetadataFeature") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isUnique") + private Boolean isUnique; + + @JsonGetter + @javax.persistence.Column(name = "isUnique", table = "MetadataFeature") + public Boolean getIsUnique() { + return isUnique; + } + + @JsonSetter + public void setIsUnique(Boolean isUnique) { + this.isUnique = isUnique; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("metadataFeatureValue") + private MetadataFeatureValue metadataFeatureValue; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MetadataFeatureValueMetaDef", metaColumn = @javax.persistence.Column(name = "metadataFeatureValueType"), fetch = FetchType.LAZY) + @JoinColumn(name = "metadataFeatureValueId", table = "MetadataFeature") + public MetadataFeatureValue getMetadataFeatureValue() { + return metadataFeatureValue; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MetadataFeatureValueImpl.class) + public void setMetadataFeatureValue(MetadataFeatureValue metadataFeatureValue) { + this.metadataFeatureValue = metadataFeatureValue; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "MetadataFeature") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "MetadataFeature") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "MetadataFeature") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRedefinition") + private Collection ownedRedefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RedefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedRedefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRedefinition() { + if (ownedRedefinition == null) { + ownedRedefinition = new ArrayList<>(); + } + return ownedRedefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RedefinitionImpl.class) + public void setOwnedRedefinition(Collection ownedRedefinition) { + this.ownedRedefinition = ownedRedefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSubsetting") + private Collection ownedSubsetting; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SubsettingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedSubsetting", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSubsetting() { + if (ownedSubsetting == null) { + ownedSubsetting = new ArrayList<>(); + } + return ownedSubsetting; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SubsettingImpl.class) + public void setOwnedSubsetting(Collection ownedSubsetting) { + this.ownedSubsetting = ownedSubsetting; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTypeFeaturing") + private Collection ownedTypeFeaturing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeFeaturingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedTypeFeaturing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTypeFeaturing() { + if (ownedTypeFeaturing == null) { + ownedTypeFeaturing = new ArrayList<>(); + } + return ownedTypeFeaturing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeFeaturingImpl.class) + public void setOwnedTypeFeaturing(Collection ownedTypeFeaturing) { + this.ownedTypeFeaturing = ownedTypeFeaturing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTyping") + private Collection ownedTyping; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureTypingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_ownedTyping", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTyping() { + if (ownedTyping == null) { + ownedTyping = new ArrayList<>(); + } + return ownedTyping; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureTypingImpl.class) + public void setOwnedTyping(Collection ownedTyping) { + this.ownedTyping = ownedTyping; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "MetadataFeature") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningFeatureMembership") + private FeatureMembership owningFeatureMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningFeatureMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningFeatureMembershipId", table = "MetadataFeature") + public FeatureMembership getOwningFeatureMembership() { + return owningFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureMembershipImpl.class) + public void setOwningFeatureMembership(FeatureMembership owningFeatureMembership) { + this.owningFeatureMembership = owningFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "MetadataFeature") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "MetadataFeature") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "MetadataFeature") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningType") + private Type owningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "owningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningTypeId", table = "MetadataFeature") + public Type getOwningType() { + return owningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setOwningType(Type owningType) { + this.owningType = owningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("type") + private Collection type; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeature_type", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getType() { + if (type == null) { + type = new ArrayList<>(); + } + return type; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setType(Collection type) { + this.type = type; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl.java b/app/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl.java new file mode 100644 index 00000000..8c718cf1 --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl.java @@ -0,0 +1,667 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "MetadataFeatureValueImpl") +@SecondaryTable(name = "MetadataFeatureValue") +@org.hibernate.annotations.Table(appliesTo = "MetadataFeatureValue", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "MetadataFeatureValue") +@DiscriminatorValue(value = "MetadataFeatureValue") +@JsonTypeName(value = "MetadataFeatureValue") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class MetadataFeatureValueImpl extends MofObjectImpl implements MetadataFeatureValue { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "MetadataFeatureValue_aliasId", + joinColumns = @JoinColumn(name = "MetadataFeatureValueId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Column("featureWithValue") + private Feature featureWithValue; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "featureWithValueType"), fetch = FetchType.LAZY) + @JoinColumn(name = "featureWithValueId", table = "MetadataFeatureValue") + public Feature getFeatureWithValue() { + return featureWithValue; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureImpl.class) + public void setFeatureWithValue(Feature featureWithValue) { + this.featureWithValue = featureWithValue; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "MetadataFeatureValue") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "MetadataFeatureValue") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Column("memberElement") + private Element memberElement; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "memberElementType"), fetch = FetchType.LAZY) + @JoinColumn(name = "memberElementId", table = "MetadataFeatureValue") + public Element getMemberElement() { + return memberElement; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setMemberElement(Element memberElement) { + this.memberElement = memberElement; + } + + + + // @info.archinnov.achilles.annotations.Column("memberName") + private String memberName; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "memberName", table = "MetadataFeatureValue") + public String getMemberName() { + return memberName; + } + + @JsonSetter + public void setMemberName(String memberName) { + this.memberName = memberName; + } + + + + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "MetadataFeatureValue") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("metadataValue") + private MetadataExpression metadataValue; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MetadataExpressionMetaDef", metaColumn = @javax.persistence.Column(name = "metadataValueType"), fetch = FetchType.LAZY) + @JoinColumn(name = "metadataValueId", table = "MetadataFeatureValue") + public MetadataExpression getMetadataValue() { + return metadataValue; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MetadataExpressionImpl.class) + public void setMetadataValue(MetadataExpression metadataValue) { + this.metadataValue = metadataValue; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "MetadataFeatureValue") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMemberElement") + private Element ownedMemberElement; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownedMemberElementType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedMemberElementId", table = "MetadataFeatureValue") + public Element getOwnedMemberElement() { + return ownedMemberElement; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwnedMemberElement(Element ownedMemberElement) { + this.ownedMemberElement = ownedMemberElement; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelatedElement") + private List ownedRelatedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_ownedRelatedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelatedElement() { + if (ownedRelatedElement == null) { + ownedRelatedElement = new ArrayList<>(); + } + return ownedRelatedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedRelatedElement(List ownedRelatedElement) { + this.ownedRelatedElement = ownedRelatedElement; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "MetadataFeatureValue") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "MetadataFeatureValue") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "MetadataFeatureValue") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelatedElement") + private Element owningRelatedElement; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelatedElementType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelatedElementId", table = "MetadataFeatureValue") + public Element getOwningRelatedElement() { + return owningRelatedElement; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwningRelatedElement(Element owningRelatedElement) { + this.owningRelatedElement = owningRelatedElement; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "MetadataFeatureValue") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("relatedElement") + private List relatedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_relatedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getRelatedElement() { + if (relatedElement == null) { + relatedElement = new ArrayList<>(); + } + return relatedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setRelatedElement(List relatedElement) { + this.relatedElement = relatedElement; + } + + + + // @info.archinnov.achilles.annotations.Column("source") + private List source; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_source", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getSource() { + if (source == null) { + source = new ArrayList<>(); + } + return source; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setSource(List source) { + this.source = source; + } + + + + // @info.archinnov.achilles.annotations.Column("target") + private List target; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataFeatureValue_target", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getTarget() { + if (target == null) { + target = new ArrayList<>(); + } + return target; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setTarget(List target) { + this.target = target; + } + + + + // @info.archinnov.achilles.annotations.Column("value") + private Expression value; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "ExpressionMetaDef", metaColumn = @javax.persistence.Column(name = "valueType"), fetch = FetchType.LAZY) + @JoinColumn(name = "valueId", table = "MetadataFeatureValue") + public Expression getValue() { + return value; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ExpressionImpl.class) + public void setValue(Expression value) { + this.value = value; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("valueConnector") + private BindingConnector valueConnector; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "BindingConnectorMetaDef", metaColumn = @javax.persistence.Column(name = "valueConnectorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "valueConnectorId", table = "MetadataFeatureValue") + public BindingConnector getValueConnector() { + return valueConnector; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = BindingConnectorImpl.class) + public void setValueConnector(BindingConnector valueConnector) { + this.valueConnector = valueConnector; + } + + + + // @info.archinnov.achilles.annotations.Column("visibility") + // @info.archinnov.achilles.annotations.Enumerated(info.archinnov.achilles.annotations.Enumerated.Encoding.NAME) + private VisibilityKind visibility; + + @JsonGetter + @javax.persistence.Enumerated(EnumType.STRING) + @javax.persistence.Column(name = "visibility", table = "MetadataFeatureValue") + public VisibilityKind getVisibility() { + return visibility; + } + + @JsonSetter + public void setVisibility(VisibilityKind visibility) { + this.visibility = visibility; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl.java new file mode 100644 index 00000000..4179caeb --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl.java @@ -0,0 +1,1330 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "MetadataOperationExpressionImpl") +@SecondaryTable(name = "MetadataOperationExpression") +@org.hibernate.annotations.Table(appliesTo = "MetadataOperationExpression", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "MetadataOperationExpression") +@DiscriminatorValue(value = "MetadataOperationExpression") +@JsonTypeName(value = "MetadataOperationExpression") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class MetadataOperationExpressionImpl extends MofObjectImpl implements MetadataOperationExpression { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "MetadataOperationExpression_aliasId", + joinColumns = @JoinColumn(name = "MetadataOperationExpressionId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("argument") + private List argument; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MetadataExpressionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_argument", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getArgument() { + if (argument == null) { + argument = new ArrayList<>(); + } + return argument; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MetadataExpressionImpl.class) + public void setArgument(List argument) { + this.argument = argument; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("behavior") + private Collection behavior; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "BehaviorMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_behavior", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getBehavior() { + if (behavior == null) { + behavior = new ArrayList<>(); + } + return behavior; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = BehaviorImpl.class) + public void setBehavior(Collection behavior) { + this.behavior = behavior; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endOwningType") + private Type endOwningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "endOwningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "endOwningTypeId", table = "MetadataOperationExpression") + public Type getEndOwningType() { + return endOwningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setEndOwningType(Type endOwningType) { + this.endOwningType = endOwningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featuringType") + private Collection featuringType; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_featuringType", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeaturingType() { + if (featuringType == null) { + featuringType = new ArrayList<>(); + } + return featuringType; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setFeaturingType(Collection featuringType) { + this.featuringType = featuringType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("function") + private Function function; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FunctionMetaDef", metaColumn = @javax.persistence.Column(name = "functionType"), fetch = FetchType.LAZY) + @JoinColumn(name = "functionId", table = "MetadataOperationExpression") + public Function getFunction() { + return function; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FunctionImpl.class) + public void setFunction(Function function) { + this.function = function; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "MetadataOperationExpression") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "MetadataOperationExpression") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "MetadataOperationExpression") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isComposite") + private Boolean isComposite; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isComposite", table = "MetadataOperationExpression") + public Boolean getIsComposite() { + return isComposite; + } + + @JsonSetter + public void setIsComposite(Boolean isComposite) { + this.isComposite = isComposite; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "MetadataOperationExpression") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isEnd") + private Boolean isEnd; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isEnd", table = "MetadataOperationExpression") + public Boolean getIsEnd() { + return isEnd; + } + + @JsonSetter + public void setIsEnd(Boolean isEnd) { + this.isEnd = isEnd; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isNonunique") + private Boolean isNonunique; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isNonunique", table = "MetadataOperationExpression") + public Boolean getIsNonunique() { + return isNonunique; + } + + @JsonSetter + public void setIsNonunique(Boolean isNonunique) { + this.isNonunique = isNonunique; + } + + + + // @info.archinnov.achilles.annotations.Column("isOrdered") + private Boolean isOrdered; + + @JsonGetter + @javax.persistence.Column(name = "isOrdered", table = "MetadataOperationExpression") + public Boolean getIsOrdered() { + return isOrdered; + } + + @JsonSetter + public void setIsOrdered(Boolean isOrdered) { + this.isOrdered = isOrdered; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "MetadataOperationExpression") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isUnique") + private Boolean isUnique; + + @JsonGetter + @javax.persistence.Column(name = "isUnique", table = "MetadataOperationExpression") + public Boolean getIsUnique() { + return isUnique; + } + + @JsonSetter + public void setIsUnique(Boolean isUnique) { + this.isUnique = isUnique; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "MetadataOperationExpression") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "MetadataOperationExpression") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "MetadataOperationExpression") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRedefinition") + private Collection ownedRedefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RedefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedRedefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRedefinition() { + if (ownedRedefinition == null) { + ownedRedefinition = new ArrayList<>(); + } + return ownedRedefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RedefinitionImpl.class) + public void setOwnedRedefinition(Collection ownedRedefinition) { + this.ownedRedefinition = ownedRedefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSubsetting") + private Collection ownedSubsetting; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SubsettingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedSubsetting", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSubsetting() { + if (ownedSubsetting == null) { + ownedSubsetting = new ArrayList<>(); + } + return ownedSubsetting; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SubsettingImpl.class) + public void setOwnedSubsetting(Collection ownedSubsetting) { + this.ownedSubsetting = ownedSubsetting; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTypeFeaturing") + private Collection ownedTypeFeaturing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeFeaturingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedTypeFeaturing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTypeFeaturing() { + if (ownedTypeFeaturing == null) { + ownedTypeFeaturing = new ArrayList<>(); + } + return ownedTypeFeaturing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeFeaturingImpl.class) + public void setOwnedTypeFeaturing(Collection ownedTypeFeaturing) { + this.ownedTypeFeaturing = ownedTypeFeaturing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTyping") + private Collection ownedTyping; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureTypingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_ownedTyping", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTyping() { + if (ownedTyping == null) { + ownedTyping = new ArrayList<>(); + } + return ownedTyping; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureTypingImpl.class) + public void setOwnedTyping(Collection ownedTyping) { + this.ownedTyping = ownedTyping; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "MetadataOperationExpression") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningFeatureMembership") + private FeatureMembership owningFeatureMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningFeatureMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningFeatureMembershipId", table = "MetadataOperationExpression") + public FeatureMembership getOwningFeatureMembership() { + return owningFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureMembershipImpl.class) + public void setOwningFeatureMembership(FeatureMembership owningFeatureMembership) { + this.owningFeatureMembership = owningFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "MetadataOperationExpression") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "MetadataOperationExpression") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "MetadataOperationExpression") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningType") + private Type owningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "owningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningTypeId", table = "MetadataOperationExpression") + public Type getOwningType() { + return owningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setOwningType(Type owningType) { + this.owningType = owningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("parameter") + private Collection parameter; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_parameter", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getParameter() { + if (parameter == null) { + parameter = new ArrayList<>(); + } + return parameter; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setParameter(Collection parameter) { + this.parameter = parameter; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("result") + private Feature result; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "resultType"), fetch = FetchType.LAZY) + @JoinColumn(name = "resultId", table = "MetadataOperationExpression") + public Feature getResult() { + return result; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureImpl.class) + public void setResult(Feature result) { + this.result = result; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("type") + private Collection type; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataOperationExpression_type", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getType() { + if (type == null) { + type = new ArrayList<>(); + } + return type; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setType(Collection type) { + this.type = type; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl.java new file mode 100644 index 00000000..5740dd39 --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl.java @@ -0,0 +1,1325 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "MetadataReferenceExpressionImpl") +@SecondaryTable(name = "MetadataReferenceExpression") +@org.hibernate.annotations.Table(appliesTo = "MetadataReferenceExpression", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "MetadataReferenceExpression") +@DiscriminatorValue(value = "MetadataReferenceExpression") +@JsonTypeName(value = "MetadataReferenceExpression") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class MetadataReferenceExpressionImpl extends MofObjectImpl implements MetadataReferenceExpression { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "MetadataReferenceExpression_aliasId", + joinColumns = @JoinColumn(name = "MetadataReferenceExpressionId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("behavior") + private Collection behavior; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "BehaviorMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_behavior", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getBehavior() { + if (behavior == null) { + behavior = new ArrayList<>(); + } + return behavior; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = BehaviorImpl.class) + public void setBehavior(Collection behavior) { + this.behavior = behavior; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endFeature") + private Collection endFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_endFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getEndFeature() { + if (endFeature == null) { + endFeature = new ArrayList<>(); + } + return endFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setEndFeature(Collection endFeature) { + this.endFeature = endFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("endOwningType") + private Type endOwningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "endOwningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "endOwningTypeId", table = "MetadataReferenceExpression") + public Type getEndOwningType() { + return endOwningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setEndOwningType(Type endOwningType) { + this.endOwningType = endOwningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("feature") + private Collection feature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_feature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeature() { + if (feature == null) { + feature = new ArrayList<>(); + } + return feature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setFeature(Collection feature) { + this.feature = feature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featureMembership") + private List featureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_featureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getFeatureMembership() { + if (featureMembership == null) { + featureMembership = new ArrayList<>(); + } + return featureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setFeatureMembership(List featureMembership) { + this.featureMembership = featureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("featuringType") + private Collection featuringType; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_featuringType", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFeaturingType() { + if (featuringType == null) { + featuringType = new ArrayList<>(); + } + return featuringType; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setFeaturingType(Collection featuringType) { + this.featuringType = featuringType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("function") + private Function function; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FunctionMetaDef", metaColumn = @javax.persistence.Column(name = "functionType"), fetch = FetchType.LAZY) + @JoinColumn(name = "functionId", table = "MetadataReferenceExpression") + public Function getFunction() { + return function; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FunctionImpl.class) + public void setFunction(Function function) { + this.function = function; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "MetadataReferenceExpression") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "MetadataReferenceExpression") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedFeature") + private Collection inheritedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_inheritedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInheritedFeature() { + if (inheritedFeature == null) { + inheritedFeature = new ArrayList<>(); + } + return inheritedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInheritedFeature(Collection inheritedFeature) { + this.inheritedFeature = inheritedFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("inheritedMembership") + private List inheritedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_inheritedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getInheritedMembership() { + if (inheritedMembership == null) { + inheritedMembership = new ArrayList<>(); + } + return inheritedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setInheritedMembership(List inheritedMembership) { + this.inheritedMembership = inheritedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("input") + private Collection input; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_input", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getInput() { + if (input == null) { + input = new ArrayList<>(); + } + return input; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setInput(Collection input) { + this.input = input; + } + + + + // @info.archinnov.achilles.annotations.Column("isAbstract") + private Boolean isAbstract; + + @JsonGetter + @javax.persistence.Column(name = "isAbstract", table = "MetadataReferenceExpression") + public Boolean getIsAbstract() { + return isAbstract; + } + + @JsonSetter + public void setIsAbstract(Boolean isAbstract) { + this.isAbstract = isAbstract; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isComposite") + private Boolean isComposite; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isComposite", table = "MetadataReferenceExpression") + public Boolean getIsComposite() { + return isComposite; + } + + @JsonSetter + public void setIsComposite(Boolean isComposite) { + this.isComposite = isComposite; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isConjugated") + private Boolean isConjugated; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isConjugated", table = "MetadataReferenceExpression") + public Boolean getIsConjugated() { + return isConjugated; + } + + @JsonSetter + public void setIsConjugated(Boolean isConjugated) { + this.isConjugated = isConjugated; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isEnd") + private Boolean isEnd; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isEnd", table = "MetadataReferenceExpression") + public Boolean getIsEnd() { + return isEnd; + } + + @JsonSetter + public void setIsEnd(Boolean isEnd) { + this.isEnd = isEnd; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("isNonunique") + private Boolean isNonunique; + + @JsonGetter + // @javax.persistence.Transient + @javax.persistence.Column(name = "isNonunique", table = "MetadataReferenceExpression") + public Boolean getIsNonunique() { + return isNonunique; + } + + @JsonSetter + public void setIsNonunique(Boolean isNonunique) { + this.isNonunique = isNonunique; + } + + + + // @info.archinnov.achilles.annotations.Column("isOrdered") + private Boolean isOrdered; + + @JsonGetter + @javax.persistence.Column(name = "isOrdered", table = "MetadataReferenceExpression") + public Boolean getIsOrdered() { + return isOrdered; + } + + @JsonSetter + public void setIsOrdered(Boolean isOrdered) { + this.isOrdered = isOrdered; + } + + + + // @info.archinnov.achilles.annotations.Column("isSufficient") + private Boolean isSufficient; + + @JsonGetter + @javax.persistence.Column(name = "isSufficient", table = "MetadataReferenceExpression") + public Boolean getIsSufficient() { + return isSufficient; + } + + @JsonSetter + public void setIsSufficient(Boolean isSufficient) { + this.isSufficient = isSufficient; + } + + + + // @info.archinnov.achilles.annotations.Column("isUnique") + private Boolean isUnique; + + @JsonGetter + @javax.persistence.Column(name = "isUnique", table = "MetadataReferenceExpression") + public Boolean getIsUnique() { + return isUnique; + } + + @JsonSetter + public void setIsUnique(Boolean isUnique) { + this.isUnique = isUnique; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("multiplicity") + private Multiplicity multiplicity; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MultiplicityMetaDef", metaColumn = @javax.persistence.Column(name = "multiplicityType"), fetch = FetchType.LAZY) + @JoinColumn(name = "multiplicityId", table = "MetadataReferenceExpression") + public Multiplicity getMultiplicity() { + return multiplicity; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MultiplicityImpl.class) + public void setMultiplicity(Multiplicity multiplicity) { + this.multiplicity = multiplicity; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "MetadataReferenceExpression") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("output") + private Collection output; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_output", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOutput() { + if (output == null) { + output = new ArrayList<>(); + } + return output; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOutput(Collection output) { + this.output = output; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedConjugator") + private Conjugation ownedConjugator; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ConjugationMetaDef", metaColumn = @javax.persistence.Column(name = "ownedConjugatorType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownedConjugatorId", table = "MetadataReferenceExpression") + public Conjugation getOwnedConjugator() { + return ownedConjugator; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ConjugationImpl.class) + public void setOwnedConjugator(Conjugation ownedConjugator) { + this.ownedConjugator = ownedConjugator; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEndFeature") + private Collection ownedEndFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedEndFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEndFeature() { + if (ownedEndFeature == null) { + ownedEndFeature = new ArrayList<>(); + } + return ownedEndFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedEndFeature(Collection ownedEndFeature) { + this.ownedEndFeature = ownedEndFeature; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedFeature") + private Collection ownedFeature; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedFeature", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedFeature() { + if (ownedFeature == null) { + ownedFeature = new ArrayList<>(); + } + return ownedFeature; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setOwnedFeature(Collection ownedFeature) { + this.ownedFeature = ownedFeature; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedFeatureMembership") + private List ownedFeatureMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedFeatureMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedFeatureMembership() { + if (ownedFeatureMembership == null) { + ownedFeatureMembership = new ArrayList<>(); + } + return ownedFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureMembershipImpl.class) + public void setOwnedFeatureMembership(List ownedFeatureMembership) { + this.ownedFeatureMembership = ownedFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedGeneralization") + private List ownedGeneralization; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "GeneralizationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedGeneralization", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedGeneralization() { + if (ownedGeneralization == null) { + ownedGeneralization = new ArrayList<>(); + } + return ownedGeneralization; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = GeneralizationImpl.class) + public void setOwnedGeneralization(List ownedGeneralization) { + this.ownedGeneralization = ownedGeneralization; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedRedefinition") + private Collection ownedRedefinition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "RedefinitionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedRedefinition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedRedefinition() { + if (ownedRedefinition == null) { + ownedRedefinition = new ArrayList<>(); + } + return ownedRedefinition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RedefinitionImpl.class) + public void setOwnedRedefinition(Collection ownedRedefinition) { + this.ownedRedefinition = ownedRedefinition; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedSubsetting") + private Collection ownedSubsetting; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "SubsettingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedSubsetting", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedSubsetting() { + if (ownedSubsetting == null) { + ownedSubsetting = new ArrayList<>(); + } + return ownedSubsetting; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = SubsettingImpl.class) + public void setOwnedSubsetting(Collection ownedSubsetting) { + this.ownedSubsetting = ownedSubsetting; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTypeFeaturing") + private Collection ownedTypeFeaturing; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeFeaturingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedTypeFeaturing", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTypeFeaturing() { + if (ownedTypeFeaturing == null) { + ownedTypeFeaturing = new ArrayList<>(); + } + return ownedTypeFeaturing; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeFeaturingImpl.class) + public void setOwnedTypeFeaturing(Collection ownedTypeFeaturing) { + this.ownedTypeFeaturing = ownedTypeFeaturing; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTyping") + private Collection ownedTyping; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureTypingMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_ownedTyping", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTyping() { + if (ownedTyping == null) { + ownedTyping = new ArrayList<>(); + } + return ownedTyping; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureTypingImpl.class) + public void setOwnedTyping(Collection ownedTyping) { + this.ownedTyping = ownedTyping; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "MetadataReferenceExpression") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningFeatureMembership") + private FeatureMembership owningFeatureMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "FeatureMembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningFeatureMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningFeatureMembershipId", table = "MetadataReferenceExpression") + public FeatureMembership getOwningFeatureMembership() { + return owningFeatureMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureMembershipImpl.class) + public void setOwningFeatureMembership(FeatureMembership owningFeatureMembership) { + this.owningFeatureMembership = owningFeatureMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "MetadataReferenceExpression") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "MetadataReferenceExpression") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "MetadataReferenceExpression") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningType") + private Type owningType; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "owningTypeType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningTypeId", table = "MetadataReferenceExpression") + public Type getOwningType() { + return owningType; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = TypeImpl.class) + public void setOwningType(Type owningType) { + this.owningType = owningType; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("parameter") + private Collection parameter; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_parameter", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getParameter() { + if (parameter == null) { + parameter = new ArrayList<>(); + } + return parameter; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = FeatureImpl.class) + public void setParameter(Collection parameter) { + this.parameter = parameter; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("referent") + private MetadataFeature referent; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "MetadataFeatureMetaDef", metaColumn = @javax.persistence.Column(name = "referentType"), fetch = FetchType.LAZY) + @JoinColumn(name = "referentId", table = "MetadataReferenceExpression") + public MetadataFeature getReferent() { + return referent; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MetadataFeatureImpl.class) + public void setReferent(MetadataFeature referent) { + this.referent = referent; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("result") + private Feature result; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "FeatureMetaDef", metaColumn = @javax.persistence.Column(name = "resultType"), fetch = FetchType.LAZY) + @JoinColumn(name = "resultId", table = "MetadataReferenceExpression") + public Feature getResult() { + return result; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = FeatureImpl.class) + public void setResult(Feature result) { + this.result = result; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("type") + private Collection type; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TypeMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "MetadataReferenceExpression_type", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getType() { + if (type == null) { + type = new ArrayList<>(); + } + return type; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TypeImpl.class) + public void setType(Collection type) { + this.type = type; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/MultiplicityImpl.java b/app/org/omg/sysml/metamodel/impl/MultiplicityImpl.java index 56f9b372..99143864 100644 --- a/app/org/omg/sysml/metamodel/impl/MultiplicityImpl.java +++ b/app/org/omg/sysml/metamodel/impl/MultiplicityImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Multiplicity") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/MultiplicityRangeImpl.java b/app/org/omg/sysml/metamodel/impl/MultiplicityRangeImpl.java index 35f4cf87..98ae52b9 100644 --- a/app/org/omg/sysml/metamodel/impl/MultiplicityRangeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/MultiplicityRangeImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "MultiplicityRange") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/NamespaceImpl.java b/app/org/omg/sysml/metamodel/impl/NamespaceImpl.java new file mode 100644 index 00000000..86f4096f --- /dev/null +++ b/app/org/omg/sysml/metamodel/impl/NamespaceImpl.java @@ -0,0 +1,531 @@ +/* + * SysML v2 REST/HTTP Pilot Implementation + * Copyright (C) 2020 InterCAX LLC + * Copyright (C) 2020 California Institute of Technology ("Caltech") + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY 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, see . + * + * @license LGPL-3.0-or-later + */ + +package org.omg.sysml.metamodel.impl; + +import org.omg.sysml.metamodel.*; + +import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.Class; + +import jackson.MofObjectSerializer; +import jackson.MofObjectDeserializer; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +import org.hibernate.annotations.Any; +import org.hibernate.annotations.ManyToAny; +import org.hibernate.annotations.FetchMode; + +// import info.archinnov.achilles.annotations.UDT; + +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.EnumType; +import javax.persistence.ElementCollection; +import javax.persistence.Inheritance; +import javax.persistence.InheritanceType; +import javax.persistence.PrimaryKeyJoinColumn; +import javax.persistence.JoinColumn; +import javax.persistence.JoinTable; +import javax.persistence.Lob; +import javax.persistence.FetchType; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Table; +import javax.persistence.SecondaryTable; +import javax.persistence.CollectionTable; + +import java.util.Collection; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +@Entity(name = "NamespaceImpl") +@SecondaryTable(name = "Namespace") +@org.hibernate.annotations.Table(appliesTo = "Namespace", fetch = FetchMode.SELECT, optional = false) +// @info.archinnov.achilles.annotations.Table(table = "Namespace") +@DiscriminatorValue(value = "Namespace") +@JsonTypeName(value = "Namespace") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME) +public class NamespaceImpl extends MofObjectImpl implements Namespace { + // @info.archinnov.achilles.annotations.Column("aliasId") + private Collection aliasId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @ElementCollection(targetClass = String.class) + @CollectionTable(name = "Namespace_aliasId", + joinColumns = @JoinColumn(name = "NamespaceId")) + public Collection getAliasId() { + if (aliasId == null) { + aliasId = new ArrayList<>(); + } + return aliasId; + } + + @JsonSetter + public void setAliasId(Collection aliasId) { + this.aliasId = aliasId; + } + + + + // @info.archinnov.achilles.annotations.Column("documentation") + private Collection documentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "DocumentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_documentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentation() { + if (documentation == null) { + documentation = new ArrayList<>(); + } + return documentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = DocumentationImpl.class) + public void setDocumentation(Collection documentation) { + this.documentation = documentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("documentationComment") + private Collection documentationComment; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "CommentMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_documentationComment", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getDocumentationComment() { + if (documentationComment == null) { + documentationComment = new ArrayList<>(); + } + return documentationComment; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = CommentImpl.class) + public void setDocumentationComment(Collection documentationComment) { + this.documentationComment = documentationComment; + } + + + + // @info.archinnov.achilles.annotations.Column("humanId") + private String humanId; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + @javax.persistence.Column(name = "humanId", table = "Namespace") + public String getHumanId() { + return humanId; + } + + @JsonSetter + public void setHumanId(String humanId) { + this.humanId = humanId; + } + + + + // @info.archinnov.achilles.annotations.Column("identifier") + private java.util.UUID identifier; + + @JsonGetter + @javax.persistence.Column(name = "identifier", table = "Namespace") + public java.util.UUID getIdentifier() { + return identifier; + } + + @JsonSetter + public void setIdentifier(java.util.UUID identifier) { + this.identifier = identifier; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("importedMembership") + private List importedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_importedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getImportedMembership() { + if (importedMembership == null) { + importedMembership = new ArrayList<>(); + } + return importedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setImportedMembership(List importedMembership) { + this.importedMembership = importedMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("member") + private List member; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_member", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMember() { + if (member == null) { + member = new ArrayList<>(); + } + return member; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setMember(List member) { + this.member = member; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("membership") + private List membership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_membership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getMembership() { + if (membership == null) { + membership = new ArrayList<>(); + } + return membership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setMembership(List membership) { + this.membership = membership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("name") + private String name; + + @JsonGetter + @Lob + @org.hibernate.annotations.Type(type = "org.hibernate.type.TextType") + // @javax.persistence.Transient + @javax.persistence.Column(name = "name", table = "Namespace") + public String getName() { + return name; + } + + @JsonSetter + public void setName(String name) { + this.name = name; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedAnnotation") + private Collection ownedAnnotation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "AnnotationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_ownedAnnotation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedAnnotation() { + if (ownedAnnotation == null) { + ownedAnnotation = new ArrayList<>(); + } + return ownedAnnotation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = AnnotationImpl.class) + public void setOwnedAnnotation(Collection ownedAnnotation) { + this.ownedAnnotation = ownedAnnotation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedElement") + private Collection ownedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_ownedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedElement() { + if (ownedElement == null) { + ownedElement = new ArrayList<>(); + } + return ownedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedElement(Collection ownedElement) { + this.ownedElement = ownedElement; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedImport") + private List ownedImport; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ImportMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_ownedImport", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedImport() { + if (ownedImport == null) { + ownedImport = new ArrayList<>(); + } + return ownedImport; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ImportImpl.class) + public void setOwnedImport(List ownedImport) { + this.ownedImport = ownedImport; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedMember") + private List ownedMember; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_ownedMember", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMember() { + if (ownedMember == null) { + ownedMember = new ArrayList<>(); + } + return ownedMember; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setOwnedMember(List ownedMember) { + this.ownedMember = ownedMember; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedMembership") + private List ownedMembership; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_ownedMembership", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedMembership() { + if (ownedMembership == null) { + ownedMembership = new ArrayList<>(); + } + return ownedMembership; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MembershipImpl.class) + public void setOwnedMembership(List ownedMembership) { + this.ownedMembership = ownedMembership; + } + + + + // @info.archinnov.achilles.annotations.Column("ownedRelationship") + private List ownedRelationship; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_ownedRelationship", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public List getOwnedRelationship() { + if (ownedRelationship == null) { + ownedRelationship = new ArrayList<>(); + } + return ownedRelationship; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = RelationshipImpl.class) + public void setOwnedRelationship(List ownedRelationship) { + this.ownedRelationship = ownedRelationship; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedTextualRepresentation") + private Collection ownedTextualRepresentation; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "TextualRepresentationMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Namespace_ownedTextualRepresentation", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedTextualRepresentation() { + if (ownedTextualRepresentation == null) { + ownedTextualRepresentation = new ArrayList<>(); + } + return ownedTextualRepresentation; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = TextualRepresentationImpl.class) + public void setOwnedTextualRepresentation(Collection ownedTextualRepresentation) { + this.ownedTextualRepresentation = ownedTextualRepresentation; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owner") + private Element owner; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownerType"), fetch = FetchType.LAZY) + @JoinColumn(name = "ownerId", table = "Namespace") + public Element getOwner() { + return owner; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = ElementImpl.class) + public void setOwner(Element owner) { + this.owner = owner; + } + + + + // @info.archinnov.achilles.annotations.Column("owningMembership") + private Membership owningMembership; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "MembershipMetaDef", metaColumn = @javax.persistence.Column(name = "owningMembershipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningMembershipId", table = "Namespace") + public Membership getOwningMembership() { + return owningMembership; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = MembershipImpl.class) + public void setOwningMembership(Membership owningMembership) { + this.owningMembership = owningMembership; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("owningNamespace") + private Namespace owningNamespace; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + // @javax.persistence.Transient + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningNamespaceId", table = "Namespace") + public Namespace getOwningNamespace() { + return owningNamespace; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { + this.owningNamespace = owningNamespace; + } + + + + // @info.archinnov.achilles.annotations.Column("owningRelationship") + private Relationship owningRelationship; + + @JsonGetter + @JsonSerialize(using = MofObjectSerializer.class) + @Any(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "owningRelationshipType"), fetch = FetchType.LAZY) + @JoinColumn(name = "owningRelationshipId", table = "Namespace") + public Relationship getOwningRelationship() { + return owningRelationship; + } + + @JsonSetter + @JsonDeserialize(using = MofObjectDeserializer.class, as = RelationshipImpl.class) + public void setOwningRelationship(Relationship owningRelationship) { + this.owningRelationship = owningRelationship; + } + + + +} diff --git a/app/org/omg/sysml/metamodel/impl/NullExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/NullExpressionImpl.java index 540d5c4e..8dc93d49 100644 --- a/app/org/omg/sysml/metamodel/impl/NullExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/NullExpressionImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "NullExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ObjectiveMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/ObjectiveMembershipImpl.java index e52d9b81..d5d131c5 100644 --- a/app/org/omg/sysml/metamodel/impl/ObjectiveMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ObjectiveMembershipImpl.java @@ -368,21 +368,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "ObjectiveMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "ObjectiveMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -651,20 +651,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ObjectiveMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/OperatorExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/OperatorExpressionImpl.java index d67d779e..35d4b67a 100644 --- a/app/org/omg/sysml/metamodel/impl/OperatorExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/OperatorExpressionImpl.java @@ -1237,20 +1237,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "OperatorExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PackageImpl.java b/app/org/omg/sysml/metamodel/impl/PackageImpl.java index da4c996b..fbdd9b9f 100644 --- a/app/org/omg/sysml/metamodel/impl/PackageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PackageImpl.java @@ -142,6 +142,56 @@ public void setDocumentationComment(Collection documentationComment) { + // @info.archinnov.achilles.annotations.Column("filter") + private Collection filter; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + @ManyToAny(metaDef = "ElementFilterMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Package_filter", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFilter() { + if (filter == null) { + filter = new ArrayList<>(); + } + return filter; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementFilterImpl.class) + public void setFilter(Collection filter) { + this.filter = filter; + } + + + + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("filterCondition") + private Collection filterCondition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MetadataConditionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Package_filterCondition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getFilterCondition() { + if (filterCondition == null) { + filterCondition = new ArrayList<>(); + } + return filterCondition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MetadataConditionImpl.class) + public void setFilterCondition(Collection filterCondition) { + this.filterCondition = filterCondition; + } + + + // @info.archinnov.achilles.annotations.Column("humanId") private String humanId; @@ -490,20 +540,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Package") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ParameterMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/ParameterMembershipImpl.java index f77cff62..5addd935 100644 --- a/app/org/omg/sysml/metamodel/impl/ParameterMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ParameterMembershipImpl.java @@ -387,21 +387,21 @@ public void setMemberParameter(Feature memberParameter) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "ParameterMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "ParameterMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -670,20 +670,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ParameterMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PartDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/PartDefinitionImpl.java index 3dcacc7e..ed1709e8 100644 --- a/app/org/omg/sysml/metamodel/impl/PartDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PartDefinitionImpl.java @@ -848,6 +848,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "PartDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1480,20 +1506,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "PartDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PartUsageImpl.java b/app/org/omg/sysml/metamodel/impl/PartUsageImpl.java index add00668..abad33b9 100644 --- a/app/org/omg/sysml/metamodel/impl/PartUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PartUsageImpl.java @@ -884,6 +884,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "PartUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1757,20 +1783,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "PartUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PerformActionUsageImpl.java b/app/org/omg/sysml/metamodel/impl/PerformActionUsageImpl.java index 556832e8..d7bdb79f 100644 --- a/app/org/omg/sysml/metamodel/impl/PerformActionUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PerformActionUsageImpl.java @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "PerformActionUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "PerformActionUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PortConjugationImpl.java b/app/org/omg/sysml/metamodel/impl/PortConjugationImpl.java index 1e678942..51781ae3 100644 --- a/app/org/omg/sysml/metamodel/impl/PortConjugationImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PortConjugationImpl.java @@ -438,20 +438,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "PortConjugation") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PortDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/PortDefinitionImpl.java index ee32c5bc..cd34166c 100644 --- a/app/org/omg/sysml/metamodel/impl/PortDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PortDefinitionImpl.java @@ -869,6 +869,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "PortDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1501,20 +1527,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "PortDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PortUsageImpl.java b/app/org/omg/sysml/metamodel/impl/PortUsageImpl.java index 4d9aaf17..170ecabf 100644 --- a/app/org/omg/sysml/metamodel/impl/PortUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PortUsageImpl.java @@ -858,6 +858,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "PortUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1731,20 +1757,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "PortUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/PredicateImpl.java b/app/org/omg/sysml/metamodel/impl/PredicateImpl.java index 0257a122..326e772a 100644 --- a/app/org/omg/sysml/metamodel/impl/PredicateImpl.java +++ b/app/org/omg/sysml/metamodel/impl/PredicateImpl.java @@ -918,20 +918,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Predicate") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/QueryPathExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/QueryPathExpressionImpl.java index b50a8a18..3aebcdd6 100644 --- a/app/org/omg/sysml/metamodel/impl/QueryPathExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/QueryPathExpressionImpl.java @@ -1169,20 +1169,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "QueryPathExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/QueryPathStepExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/QueryPathStepExpressionImpl.java index 44c10637..1cc3c530 100644 --- a/app/org/omg/sysml/metamodel/impl/QueryPathStepExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/QueryPathStepExpressionImpl.java @@ -1237,20 +1237,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "QueryPathStepExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/QueryQualifierExpressionImpl.java b/app/org/omg/sysml/metamodel/impl/QueryQualifierExpressionImpl.java index 0d7d71c9..13cf162f 100644 --- a/app/org/omg/sysml/metamodel/impl/QueryQualifierExpressionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/QueryQualifierExpressionImpl.java @@ -1237,20 +1237,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "QueryQualifierExpression") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RedefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/RedefinitionImpl.java index 176f4b74..cdc3ede6 100644 --- a/app/org/omg/sysml/metamodel/impl/RedefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RedefinitionImpl.java @@ -402,20 +402,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Redefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ReferenceUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ReferenceUsageImpl.java index a11734fe..c044c819 100644 --- a/app/org/omg/sysml/metamodel/impl/ReferenceUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ReferenceUsageImpl.java @@ -858,6 +858,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ReferenceUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1731,20 +1757,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ReferenceUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RelationshipImpl.java b/app/org/omg/sysml/metamodel/impl/RelationshipImpl.java index 27eadd97..e4cfffb7 100644 --- a/app/org/omg/sysml/metamodel/impl/RelationshipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RelationshipImpl.java @@ -362,20 +362,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Relationship") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl.java index 3b3395ec..ef78ee03 100644 --- a/app/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl.java @@ -848,6 +848,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "RenderingDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1480,20 +1506,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "RenderingDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RenderingUsageImpl.java b/app/org/omg/sysml/metamodel/impl/RenderingUsageImpl.java index 97f35e87..5182b9d3 100644 --- a/app/org/omg/sysml/metamodel/impl/RenderingUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RenderingUsageImpl.java @@ -884,6 +884,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "RenderingUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1757,20 +1783,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "RenderingUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RequirementConstraintMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/RequirementConstraintMembershipImpl.java index fd53305c..2ec502e2 100644 --- a/app/org/omg/sysml/metamodel/impl/RequirementConstraintMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RequirementConstraintMembershipImpl.java @@ -405,21 +405,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "RequirementConstraintMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "RequirementConstraintMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -669,20 +669,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "RequirementConstraintMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl.java index 4ee0e8ce..2279f694 100644 --- a/app/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl.java @@ -900,6 +900,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "RequirementDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1532,20 +1558,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "RequirementDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RequirementUsageImpl.java b/app/org/omg/sysml/metamodel/impl/RequirementUsageImpl.java index a8f0624e..d9a5a40b 100644 --- a/app/org/omg/sysml/metamodel/impl/RequirementUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RequirementUsageImpl.java @@ -952,6 +952,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "RequirementUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1825,20 +1851,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "RequirementUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/RequirementVerificationMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/RequirementVerificationMembershipImpl.java index 840aacbc..e0ce5b48 100644 --- a/app/org/omg/sysml/metamodel/impl/RequirementVerificationMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/RequirementVerificationMembershipImpl.java @@ -405,21 +405,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "RequirementVerificationMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "RequirementVerificationMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -688,20 +688,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "RequirementVerificationMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ResultExpressionMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/ResultExpressionMembershipImpl.java index 43713ce7..7683ff3c 100644 --- a/app/org/omg/sysml/metamodel/impl/ResultExpressionMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ResultExpressionMembershipImpl.java @@ -368,21 +368,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "ResultExpressionMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "ResultExpressionMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -651,20 +651,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ResultExpressionMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ReturnParameterMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/ReturnParameterMembershipImpl.java index e2d8418e..f4fe1500 100644 --- a/app/org/omg/sysml/metamodel/impl/ReturnParameterMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ReturnParameterMembershipImpl.java @@ -387,21 +387,21 @@ public void setMemberParameter(Feature memberParameter) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "ReturnParameterMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "ReturnParameterMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -670,20 +670,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ReturnParameterMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl.java b/app/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl.java index bb1a61bd..860e414b 100644 --- a/app/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl.java @@ -994,6 +994,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "SatisfyRequirementUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1867,20 +1893,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "SatisfyRequirementUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SendActionUsageImpl.java b/app/org/omg/sysml/metamodel/impl/SendActionUsageImpl.java index 52469b63..ba694e75 100644 --- a/app/org/omg/sysml/metamodel/impl/SendActionUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SendActionUsageImpl.java @@ -931,6 +931,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "SendActionUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1804,20 +1830,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "SendActionUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SnapshotFeatureImpl.java b/app/org/omg/sysml/metamodel/impl/SnapshotFeatureImpl.java index d8485491..7969cba8 100644 --- a/app/org/omg/sysml/metamodel/impl/SnapshotFeatureImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SnapshotFeatureImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "SnapshotFeature") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SourceEndImpl.java b/app/org/omg/sysml/metamodel/impl/SourceEndImpl.java index 3e46c6b0..e029ab94 100644 --- a/app/org/omg/sysml/metamodel/impl/SourceEndImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SourceEndImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "SourceEnd") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/StateDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/StateDefinitionImpl.java index d2b2a510..7626b28d 100644 --- a/app/org/omg/sysml/metamodel/impl/StateDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/StateDefinitionImpl.java @@ -937,6 +937,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "StateDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1569,20 +1595,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "StateDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/StateSubactionMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/StateSubactionMembershipImpl.java index c4adfa05..2d3e5d47 100644 --- a/app/org/omg/sysml/metamodel/impl/StateSubactionMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/StateSubactionMembershipImpl.java @@ -405,21 +405,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "StateSubactionMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "StateSubactionMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -669,20 +669,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "StateSubactionMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/StateUsageImpl.java b/app/org/omg/sysml/metamodel/impl/StateUsageImpl.java index 1864ed25..9dd6e942 100644 --- a/app/org/omg/sysml/metamodel/impl/StateUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/StateUsageImpl.java @@ -973,6 +973,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "StateUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1846,20 +1872,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "StateUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/StepImpl.java b/app/org/omg/sysml/metamodel/impl/StepImpl.java index 1da7bd8f..10db8801 100644 --- a/app/org/omg/sysml/metamodel/impl/StepImpl.java +++ b/app/org/omg/sysml/metamodel/impl/StepImpl.java @@ -1148,20 +1148,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Step") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SubjectMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/SubjectMembershipImpl.java index 00c94558..15032e33 100644 --- a/app/org/omg/sysml/metamodel/impl/SubjectMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SubjectMembershipImpl.java @@ -387,21 +387,21 @@ public void setMemberParameter(Feature memberParameter) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "SubjectMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "SubjectMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -689,20 +689,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "SubjectMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SubsettingImpl.java b/app/org/omg/sysml/metamodel/impl/SubsettingImpl.java index fcb8b783..abf59de3 100644 --- a/app/org/omg/sysml/metamodel/impl/SubsettingImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SubsettingImpl.java @@ -402,20 +402,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Subsetting") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SuccessionImpl.java b/app/org/omg/sysml/metamodel/impl/SuccessionImpl.java index b238e52b..ee54a394 100644 --- a/app/org/omg/sysml/metamodel/impl/SuccessionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SuccessionImpl.java @@ -1266,20 +1266,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Succession") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SuccessionItemFlowImpl.java b/app/org/omg/sysml/metamodel/impl/SuccessionItemFlowImpl.java index cf6e16bf..316644c3 100644 --- a/app/org/omg/sysml/metamodel/impl/SuccessionItemFlowImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SuccessionItemFlowImpl.java @@ -1396,20 +1396,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "SuccessionItemFlow") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/SuperclassingImpl.java b/app/org/omg/sysml/metamodel/impl/SuperclassingImpl.java index f6ad27e7..d6978949 100644 --- a/app/org/omg/sysml/metamodel/impl/SuperclassingImpl.java +++ b/app/org/omg/sysml/metamodel/impl/SuperclassingImpl.java @@ -402,20 +402,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Superclassing") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TargetEndImpl.java b/app/org/omg/sysml/metamodel/impl/TargetEndImpl.java index 8ee8fb69..fe261e1f 100644 --- a/app/org/omg/sysml/metamodel/impl/TargetEndImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TargetEndImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "TargetEnd") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TextualRepresentationImpl.java b/app/org/omg/sysml/metamodel/impl/TextualRepresentationImpl.java index f7bb0217..20d1c5c4 100644 --- a/app/org/omg/sysml/metamodel/impl/TextualRepresentationImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TextualRepresentationImpl.java @@ -424,20 +424,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "TextualRepresentation") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TimeSliceFeatureImpl.java b/app/org/omg/sysml/metamodel/impl/TimeSliceFeatureImpl.java index 549c18b4..3660bea0 100644 --- a/app/org/omg/sysml/metamodel/impl/TimeSliceFeatureImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TimeSliceFeatureImpl.java @@ -1122,20 +1122,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "TimeSliceFeature") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TransferActionUsageImpl.java b/app/org/omg/sysml/metamodel/impl/TransferActionUsageImpl.java index 640b6659..db96a743 100644 --- a/app/org/omg/sysml/metamodel/impl/TransferActionUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TransferActionUsageImpl.java @@ -931,6 +931,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "TransferActionUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1804,20 +1830,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "TransferActionUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TransitionFeatureMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/TransitionFeatureMembershipImpl.java index 7b9145e9..a35839fa 100644 --- a/app/org/omg/sysml/metamodel/impl/TransitionFeatureMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TransitionFeatureMembershipImpl.java @@ -386,21 +386,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "TransitionFeatureMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "TransitionFeatureMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -650,20 +650,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "TransitionFeatureMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TransitionUsageImpl.java b/app/org/omg/sysml/metamodel/impl/TransitionUsageImpl.java index b2d8220e..ccc9160f 100644 --- a/app/org/omg/sysml/metamodel/impl/TransitionUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TransitionUsageImpl.java @@ -962,6 +962,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "TransitionUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1835,20 +1861,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "TransitionUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TypeFeaturingImpl.java b/app/org/omg/sysml/metamodel/impl/TypeFeaturingImpl.java index b3a3b11a..a72f0a43 100644 --- a/app/org/omg/sysml/metamodel/impl/TypeFeaturingImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TypeFeaturingImpl.java @@ -421,20 +421,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "TypeFeaturing") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/TypeImpl.java b/app/org/omg/sysml/metamodel/impl/TypeImpl.java index 1eae398c..873c8ff0 100644 --- a/app/org/omg/sysml/metamodel/impl/TypeImpl.java +++ b/app/org/omg/sysml/metamodel/impl/TypeImpl.java @@ -866,20 +866,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Type") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/UsageImpl.java b/app/org/omg/sysml/metamodel/impl/UsageImpl.java index 8023b621..bccb5d24 100644 --- a/app/org/omg/sysml/metamodel/impl/UsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/UsageImpl.java @@ -858,6 +858,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "Usage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1731,20 +1757,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "Usage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/VariantMembershipImpl.java b/app/org/omg/sysml/metamodel/impl/VariantMembershipImpl.java index 1b42f3bb..229d8ba2 100644 --- a/app/org/omg/sysml/metamodel/impl/VariantMembershipImpl.java +++ b/app/org/omg/sysml/metamodel/impl/VariantMembershipImpl.java @@ -213,21 +213,21 @@ public void setMemberName(String memberName) { - // @info.archinnov.achilles.annotations.Column("membershipOwningPackage") - private Package membershipOwningPackage; + // @info.archinnov.achilles.annotations.Column("membershipOwningNamespace") + private Namespace membershipOwningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningPackageType"), fetch = FetchType.LAZY) - @JoinColumn(name = "membershipOwningPackageId", table = "VariantMembership") - public Package getMembershipOwningPackage() { - return membershipOwningPackage; + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "membershipOwningNamespaceType"), fetch = FetchType.LAZY) + @JoinColumn(name = "membershipOwningNamespaceId", table = "VariantMembership") + public Namespace getMembershipOwningNamespace() { + return membershipOwningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setMembershipOwningPackage(Package membershipOwningPackage) { - this.membershipOwningPackage = membershipOwningPackage; + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setMembershipOwningNamespace(Namespace membershipOwningNamespace) { + this.membershipOwningNamespace = membershipOwningNamespace; } @@ -456,20 +456,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "VariantMembership") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl.java index fe6324ac..871332a0 100644 --- a/app/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl.java @@ -947,6 +947,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "VerificationCaseDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1579,20 +1605,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "VerificationCaseDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl.java b/app/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl.java index c63012cb..6dcdab0f 100644 --- a/app/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl.java @@ -973,6 +973,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "VerificationCaseUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1867,20 +1893,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "VerificationCaseUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ViewDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/ViewDefinitionImpl.java index 39915f82..ae41c113 100644 --- a/app/org/omg/sysml/metamodel/impl/ViewDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ViewDefinitionImpl.java @@ -502,27 +502,6 @@ public void setMembership(List membership) { - // @info.archinnov.achilles.annotations.Transient - // @info.archinnov.achilles.annotations.Column("modelQuery") - private ModelQuery modelQuery; - - @JsonGetter - @JsonSerialize(using = MofObjectSerializer.class) - // @javax.persistence.Transient - @Any(metaDef = "ModelQueryMetaDef", metaColumn = @javax.persistence.Column(name = "modelQueryType"), fetch = FetchType.LAZY) - @JoinColumn(name = "modelQueryId", table = "ViewDefinition") - public ModelQuery getModelQuery() { - return modelQuery; - } - - @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = ModelQueryImpl.class) - public void setModelQuery(ModelQuery modelQuery) { - this.modelQuery = modelQuery; - } - - - // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("multiplicity") private Multiplicity multiplicity; @@ -869,6 +848,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1501,20 +1506,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ViewDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } @@ -1688,4 +1693,30 @@ public void setView(Collection view) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("viewCondition") + private Collection viewCondition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MetadataConditionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewDefinition_viewCondition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getViewCondition() { + if (viewCondition == null) { + viewCondition = new ArrayList<>(); + } + return viewCondition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MetadataConditionImpl.class) + public void setViewCondition(Collection viewCondition) { + this.viewCondition = viewCondition; + } + + + } diff --git a/app/org/omg/sysml/metamodel/impl/ViewUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ViewUsageImpl.java index dfb55988..dba7b60f 100644 --- a/app/org/omg/sysml/metamodel/impl/ViewUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ViewUsageImpl.java @@ -190,27 +190,27 @@ public void setEndOwningType(Type endOwningType) { // @info.archinnov.achilles.annotations.Transient - // @info.archinnov.achilles.annotations.Column("exposedPackage") - private Collection exposedPackage; + // @info.archinnov.achilles.annotations.Column("exposedNamespace") + private Collection exposedNamespace; @JsonGetter @JsonSerialize(contentUsing = MofObjectSerializer.class) // @javax.persistence.Transient - @ManyToAny(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) - @JoinTable(name = "ViewUsage_exposedPackage", + @ManyToAny(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewUsage_exposedNamespace", joinColumns = @JoinColumn(name = "classId"), inverseJoinColumns = @JoinColumn(name = "attributeId")) - public Collection getExposedPackage() { - if (exposedPackage == null) { - exposedPackage = new ArrayList<>(); + public Collection getExposedNamespace() { + if (exposedNamespace == null) { + exposedNamespace = new ArrayList<>(); } - return exposedPackage; + return exposedNamespace; } @JsonSetter - @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = PackageImpl.class) - public void setExposedPackage(Collection exposedPackage) { - this.exposedPackage = exposedPackage; + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = NamespaceImpl.class) + public void setExposedNamespace(Collection exposedNamespace) { + this.exposedNamespace = exposedNamespace; } @@ -910,6 +910,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1783,20 +1809,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ViewUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } @@ -2038,6 +2064,32 @@ public void setVariantMembership(Collection variantMembership + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("viewCondition") + private Collection viewCondition; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "MetadataConditionMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewUsage_viewCondition", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getViewCondition() { + if (viewCondition == null) { + viewCondition = new ArrayList<>(); + } + return viewCondition; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = MetadataConditionImpl.class) + public void setViewCondition(Collection viewCondition) { + this.viewCondition = viewCondition; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("viewDefinition") private ViewDefinition viewDefinition; @@ -2059,4 +2111,30 @@ public void setViewDefinition(ViewDefinition viewDefinition) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("viewedElement") + private Collection viewedElement; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewUsage_viewedElement", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getViewedElement() { + if (viewedElement == null) { + viewedElement = new ArrayList<>(); + } + return viewedElement; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = ElementImpl.class) + public void setViewedElement(Collection viewedElement) { + this.viewedElement = viewedElement; + } + + + } diff --git a/app/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl.java b/app/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl.java index 1832631b..c8ce12ac 100644 --- a/app/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl.java @@ -900,6 +900,32 @@ public void setOwnedEndFeature(Collection ownedEndFeature) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("ownedEnumeration") + private Collection ownedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewpointDefinition_ownedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getOwnedEnumeration() { + if (ownedEnumeration == null) { + ownedEnumeration = new ArrayList<>(); + } + return ownedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setOwnedEnumeration(Collection ownedEnumeration) { + this.ownedEnumeration = ownedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("ownedFeature") private Collection ownedFeature; @@ -1532,20 +1558,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ViewpointDefinition") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/ViewpointUsageImpl.java b/app/org/omg/sysml/metamodel/impl/ViewpointUsageImpl.java index 481f2b88..987205c1 100644 --- a/app/org/omg/sysml/metamodel/impl/ViewpointUsageImpl.java +++ b/app/org/omg/sysml/metamodel/impl/ViewpointUsageImpl.java @@ -952,6 +952,32 @@ public void setNestedConstraint(Collection nestedConstraint) { + // @info.archinnov.achilles.annotations.Transient + // @info.archinnov.achilles.annotations.Column("nestedEnumeration") + private Collection nestedEnumeration; + + @JsonGetter + @JsonSerialize(contentUsing = MofObjectSerializer.class) + // @javax.persistence.Transient + @ManyToAny(metaDef = "EnumerationUsageMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY) + @JoinTable(name = "ViewpointUsage_nestedEnumeration", + joinColumns = @JoinColumn(name = "classId"), + inverseJoinColumns = @JoinColumn(name = "attributeId")) + public Collection getNestedEnumeration() { + if (nestedEnumeration == null) { + nestedEnumeration = new ArrayList<>(); + } + return nestedEnumeration; + } + + @JsonSetter + @JsonDeserialize(contentUsing = MofObjectDeserializer.class, contentAs = EnumerationUsageImpl.class) + public void setNestedEnumeration(Collection nestedEnumeration) { + this.nestedEnumeration = nestedEnumeration; + } + + + // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("nestedIndividual") private Collection nestedIndividual; @@ -1825,20 +1851,20 @@ public void setOwningMembership(Membership owningMembership) { // @info.archinnov.achilles.annotations.Transient // @info.archinnov.achilles.annotations.Column("owningNamespace") - private Package owningNamespace; + private Namespace owningNamespace; @JsonGetter @JsonSerialize(using = MofObjectSerializer.class) // @javax.persistence.Transient - @Any(metaDef = "PackageMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) + @Any(metaDef = "NamespaceMetaDef", metaColumn = @javax.persistence.Column(name = "owningNamespaceType"), fetch = FetchType.LAZY) @JoinColumn(name = "owningNamespaceId", table = "ViewpointUsage") - public Package getOwningNamespace() { + public Namespace getOwningNamespace() { return owningNamespace; } @JsonSetter - @JsonDeserialize(using = MofObjectDeserializer.class, as = PackageImpl.class) - public void setOwningNamespace(Package owningNamespace) { + @JsonDeserialize(using = MofObjectDeserializer.class, as = NamespaceImpl.class) + public void setOwningNamespace(Namespace owningNamespace) { this.owningNamespace = owningNamespace; } diff --git a/app/org/omg/sysml/metamodel/impl/package-info.java b/app/org/omg/sysml/metamodel/impl/package-info.java index a4c8a97c..246291f5 100644 --- a/app/org/omg/sysml/metamodel/impl/package-info.java +++ b/app/org/omg/sysml/metamodel/impl/package-info.java @@ -28,6 +28,7 @@ @MetaValue(value = "AnalysisCaseDefinition", targetEntity = AnalysisCaseDefinitionImpl.class), @MetaValue(value = "AnalysisCaseUsage", targetEntity = AnalysisCaseUsageImpl.class), @MetaValue(value = "AnnotatingElement", targetEntity = AnnotatingElementImpl.class), + @MetaValue(value = "AnnotatingFeature", targetEntity = AnnotatingFeatureImpl.class), @MetaValue(value = "Annotation", targetEntity = AnnotationImpl.class), @MetaValue(value = "AssertConstraintUsage", targetEntity = AssertConstraintUsageImpl.class), @MetaValue(value = "Association", targetEntity = AssociationImpl.class), @@ -59,7 +60,10 @@ @MetaValue(value = "Dependency", targetEntity = DependencyImpl.class), @MetaValue(value = "Documentation", targetEntity = DocumentationImpl.class), @MetaValue(value = "Element", targetEntity = ElementImpl.class), + @MetaValue(value = "ElementFilter", targetEntity = ElementFilterImpl.class), @MetaValue(value = "EndFeatureMembership", targetEntity = EndFeatureMembershipImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), @MetaValue(value = "ExhibitStateUsage", targetEntity = ExhibitStateUsageImpl.class), @MetaValue(value = "Expose", targetEntity = ExposeImpl.class), @MetaValue(value = "Expression", targetEntity = ExpressionImpl.class), @@ -98,9 +102,15 @@ @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), @MetaValue(value = "Membership", targetEntity = MembershipImpl.class), @MetaValue(value = "MergeNode", targetEntity = MergeNodeImpl.class), - @MetaValue(value = "ModelQuery", targetEntity = ModelQueryImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataFeature", targetEntity = MetadataFeatureImpl.class), + @MetaValue(value = "MetadataFeatureValue", targetEntity = MetadataFeatureValueImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "Multiplicity", targetEntity = MultiplicityImpl.class), @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), + @MetaValue(value = "Namespace", targetEntity = NamespaceImpl.class), @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), @MetaValue(value = "ObjectiveMembership", targetEntity = ObjectiveMembershipImpl.class), @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), @@ -201,9 +211,14 @@ @AnyMetaDef(name = "AnnotatingElementMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "AnnotatingElement", targetEntity = AnnotatingElementImpl.class), + @MetaValue(value = "AnnotatingFeature", targetEntity = AnnotatingFeatureImpl.class), @MetaValue(value = "Comment", targetEntity = CommentImpl.class), @MetaValue(value = "TextualRepresentation", targetEntity = TextualRepresentationImpl.class), }), + @AnyMetaDef(name = "AnnotatingFeatureMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "AnnotatingFeature", targetEntity = AnnotatingFeatureImpl.class), + }), @AnyMetaDef(name = "AnnotationMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "Annotation", targetEntity = AnnotationImpl.class), @@ -224,10 +239,12 @@ @AnyMetaDef(name = "AttributeDefinitionMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "AttributeDefinition", targetEntity = AttributeDefinitionImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), }), @AnyMetaDef(name = "AttributeUsageMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "AttributeUsage", targetEntity = AttributeUsageImpl.class), + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), }), @AnyMetaDef(name = "BehaviorMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @@ -319,6 +336,7 @@ @MetaValue(value = "ConstraintDefinition", targetEntity = ConstraintDefinitionImpl.class), @MetaValue(value = "DataType", targetEntity = DataTypeImpl.class), @MetaValue(value = "Definition", targetEntity = DefinitionImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), @MetaValue(value = "Function", targetEntity = FunctionImpl.class), @MetaValue(value = "IndividualDefinition", targetEntity = IndividualDefinitionImpl.class), @MetaValue(value = "Interaction", targetEntity = InteractionImpl.class), @@ -398,6 +416,7 @@ metaValues = { @MetaValue(value = "AttributeDefinition", targetEntity = AttributeDefinitionImpl.class), @MetaValue(value = "DataType", targetEntity = DataTypeImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), }), @AnyMetaDef(name = "DecisionNodeMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @@ -414,6 +433,7 @@ @MetaValue(value = "ConnectionDefinition", targetEntity = ConnectionDefinitionImpl.class), @MetaValue(value = "ConstraintDefinition", targetEntity = ConstraintDefinitionImpl.class), @MetaValue(value = "Definition", targetEntity = DefinitionImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), @MetaValue(value = "IndividualDefinition", targetEntity = IndividualDefinitionImpl.class), @MetaValue(value = "InterfaceDefinition", targetEntity = InterfaceDefinitionImpl.class), @MetaValue(value = "ItemDefinition", targetEntity = ItemDefinitionImpl.class), @@ -442,6 +462,7 @@ @MetaValue(value = "AnalysisCaseDefinition", targetEntity = AnalysisCaseDefinitionImpl.class), @MetaValue(value = "AnalysisCaseUsage", targetEntity = AnalysisCaseUsageImpl.class), @MetaValue(value = "AnnotatingElement", targetEntity = AnnotatingElementImpl.class), + @MetaValue(value = "AnnotatingFeature", targetEntity = AnnotatingFeatureImpl.class), @MetaValue(value = "Annotation", targetEntity = AnnotationImpl.class), @MetaValue(value = "AssertConstraintUsage", targetEntity = AssertConstraintUsageImpl.class), @MetaValue(value = "Association", targetEntity = AssociationImpl.class), @@ -473,7 +494,10 @@ @MetaValue(value = "Dependency", targetEntity = DependencyImpl.class), @MetaValue(value = "Documentation", targetEntity = DocumentationImpl.class), @MetaValue(value = "Element", targetEntity = ElementImpl.class), + @MetaValue(value = "ElementFilter", targetEntity = ElementFilterImpl.class), @MetaValue(value = "EndFeatureMembership", targetEntity = EndFeatureMembershipImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), @MetaValue(value = "ExhibitStateUsage", targetEntity = ExhibitStateUsageImpl.class), @MetaValue(value = "Expose", targetEntity = ExposeImpl.class), @MetaValue(value = "Expression", targetEntity = ExpressionImpl.class), @@ -512,9 +536,15 @@ @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), @MetaValue(value = "Membership", targetEntity = MembershipImpl.class), @MetaValue(value = "MergeNode", targetEntity = MergeNodeImpl.class), - @MetaValue(value = "ModelQuery", targetEntity = ModelQueryImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataFeature", targetEntity = MetadataFeatureImpl.class), + @MetaValue(value = "MetadataFeatureValue", targetEntity = MetadataFeatureValueImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "Multiplicity", targetEntity = MultiplicityImpl.class), @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), + @MetaValue(value = "Namespace", targetEntity = NamespaceImpl.class), @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), @MetaValue(value = "ObjectiveMembership", targetEntity = ObjectiveMembershipImpl.class), @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), @@ -571,10 +601,22 @@ @MetaValue(value = "ViewpointDefinition", targetEntity = ViewpointDefinitionImpl.class), @MetaValue(value = "ViewpointUsage", targetEntity = ViewpointUsageImpl.class), }), + @AnyMetaDef(name = "ElementFilterMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "ElementFilter", targetEntity = ElementFilterImpl.class), + }), @AnyMetaDef(name = "EndFeatureMembershipMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "EndFeatureMembership", targetEntity = EndFeatureMembershipImpl.class), }), + @AnyMetaDef(name = "EnumerationDefinitionMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), + }), + @AnyMetaDef(name = "EnumerationUsageMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), + }), @AnyMetaDef(name = "ExhibitStateUsageMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "ExhibitStateUsage", targetEntity = ExhibitStateUsageImpl.class), @@ -603,6 +645,10 @@ @MetaValue(value = "LiteralReal", targetEntity = LiteralRealImpl.class), @MetaValue(value = "LiteralString", targetEntity = LiteralStringImpl.class), @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), @MetaValue(value = "QueryPathExpression", targetEntity = QueryPathExpressionImpl.class), @@ -618,6 +664,7 @@ @MetaValue(value = "AcceptActionUsage", targetEntity = AcceptActionUsageImpl.class), @MetaValue(value = "ActionUsage", targetEntity = ActionUsageImpl.class), @MetaValue(value = "AnalysisCaseUsage", targetEntity = AnalysisCaseUsageImpl.class), + @MetaValue(value = "AnnotatingFeature", targetEntity = AnnotatingFeatureImpl.class), @MetaValue(value = "AssertConstraintUsage", targetEntity = AssertConstraintUsageImpl.class), @MetaValue(value = "AttributeUsage", targetEntity = AttributeUsageImpl.class), @MetaValue(value = "BindingConnector", targetEntity = BindingConnectorImpl.class), @@ -630,6 +677,7 @@ @MetaValue(value = "ConstraintUsage", targetEntity = ConstraintUsageImpl.class), @MetaValue(value = "ControlNode", targetEntity = ControlNodeImpl.class), @MetaValue(value = "DecisionNode", targetEntity = DecisionNodeImpl.class), + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), @MetaValue(value = "ExhibitStateUsage", targetEntity = ExhibitStateUsageImpl.class), @MetaValue(value = "Expression", targetEntity = ExpressionImpl.class), @MetaValue(value = "Feature", targetEntity = FeatureImpl.class), @@ -653,6 +701,11 @@ @MetaValue(value = "LiteralString", targetEntity = LiteralStringImpl.class), @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), @MetaValue(value = "MergeNode", targetEntity = MergeNodeImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataFeature", targetEntity = MetadataFeatureImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "Multiplicity", targetEntity = MultiplicityImpl.class), @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), @@ -700,6 +753,7 @@ @AnyMetaDef(name = "FeatureReferenceExpressionMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "FeatureReferenceExpression", targetEntity = FeatureReferenceExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "QueryPathExpression", targetEntity = QueryPathExpressionImpl.class), }), @AnyMetaDef(name = "FeatureTypingMetaDef", metaType = "string", idType = "java.util.UUID", @@ -710,6 +764,7 @@ @AnyMetaDef(name = "FeatureValueMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "FeatureValue", targetEntity = FeatureValueImpl.class), + @MetaValue(value = "MetadataFeatureValue", targetEntity = MetadataFeatureValueImpl.class), }), @AnyMetaDef(name = "ForkNodeMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @@ -775,6 +830,7 @@ metaValues = { @MetaValue(value = "InstanceCreationExpression", targetEntity = InstanceCreationExpressionImpl.class), @MetaValue(value = "InvocationExpression", targetEntity = InvocationExpressionImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), @MetaValue(value = "QueryPathStepExpression", targetEntity = QueryPathStepExpressionImpl.class), @MetaValue(value = "QueryQualifierExpression", targetEntity = QueryQualifierExpressionImpl.class), @@ -859,6 +915,7 @@ @MetaValue(value = "FeatureMembership", targetEntity = FeatureMembershipImpl.class), @MetaValue(value = "FeatureValue", targetEntity = FeatureValueImpl.class), @MetaValue(value = "Membership", targetEntity = MembershipImpl.class), + @MetaValue(value = "MetadataFeatureValue", targetEntity = MetadataFeatureValueImpl.class), @MetaValue(value = "ObjectiveMembership", targetEntity = ObjectiveMembershipImpl.class), @MetaValue(value = "ParameterMembership", targetEntity = ParameterMembershipImpl.class), @MetaValue(value = "RequirementConstraintMembership", targetEntity = RequirementConstraintMembershipImpl.class), @@ -874,40 +931,57 @@ metaValues = { @MetaValue(value = "MergeNode", targetEntity = MergeNodeImpl.class), }), - @AnyMetaDef(name = "ModelQueryMetaDef", metaType = "string", idType = "java.util.UUID", + @AnyMetaDef(name = "MetadataConditionMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { - @MetaValue(value = "ModelQuery", targetEntity = ModelQueryImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), }), - @AnyMetaDef(name = "MultiplicityMetaDef", metaType = "string", idType = "java.util.UUID", + @AnyMetaDef(name = "MetadataExpressionMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { - @MetaValue(value = "Multiplicity", targetEntity = MultiplicityImpl.class), - @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), + @MetaValue(value = "LiteralBoolean", targetEntity = LiteralBooleanImpl.class), + @MetaValue(value = "LiteralExpression", targetEntity = LiteralExpressionImpl.class), + @MetaValue(value = "LiteralInteger", targetEntity = LiteralIntegerImpl.class), + @MetaValue(value = "LiteralReal", targetEntity = LiteralRealImpl.class), + @MetaValue(value = "LiteralString", targetEntity = LiteralStringImpl.class), + @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), + @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), }), - @AnyMetaDef(name = "MultiplicityRangeMetaDef", metaType = "string", idType = "java.util.UUID", + @AnyMetaDef(name = "MetadataFeatureMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { - @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), + @MetaValue(value = "MetadataFeature", targetEntity = MetadataFeatureImpl.class), }), - @AnyMetaDef(name = "NullExpressionMetaDef", metaType = "string", idType = "java.util.UUID", + @AnyMetaDef(name = "MetadataFeatureValueMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { - @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), + @MetaValue(value = "MetadataFeatureValue", targetEntity = MetadataFeatureValueImpl.class), }), - @AnyMetaDef(name = "ObjectiveMembershipMetaDef", metaType = "string", idType = "java.util.UUID", + @AnyMetaDef(name = "MetadataOperationExpressionMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { - @MetaValue(value = "ObjectiveMembership", targetEntity = ObjectiveMembershipImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), }), - @AnyMetaDef(name = "OperatorExpressionMetaDef", metaType = "string", idType = "java.util.UUID", + @AnyMetaDef(name = "MetadataReferenceExpressionMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { - @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), - @MetaValue(value = "QueryPathStepExpression", targetEntity = QueryPathStepExpressionImpl.class), - @MetaValue(value = "QueryQualifierExpression", targetEntity = QueryQualifierExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), }), - @AnyMetaDef(name = "PackageMetaDef", metaType = "string", idType = "java.util.UUID", + @AnyMetaDef(name = "MultiplicityMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "Multiplicity", targetEntity = MultiplicityImpl.class), + @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), + }), + @AnyMetaDef(name = "MultiplicityRangeMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), + }), + @AnyMetaDef(name = "NamespaceMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "AcceptActionUsage", targetEntity = AcceptActionUsageImpl.class), @MetaValue(value = "ActionDefinition", targetEntity = ActionDefinitionImpl.class), @MetaValue(value = "ActionUsage", targetEntity = ActionUsageImpl.class), @MetaValue(value = "AnalysisCaseDefinition", targetEntity = AnalysisCaseDefinitionImpl.class), @MetaValue(value = "AnalysisCaseUsage", targetEntity = AnalysisCaseUsageImpl.class), + @MetaValue(value = "AnnotatingFeature", targetEntity = AnnotatingFeatureImpl.class), @MetaValue(value = "AssertConstraintUsage", targetEntity = AssertConstraintUsageImpl.class), @MetaValue(value = "Association", targetEntity = AssociationImpl.class), @MetaValue(value = "AttributeDefinition", targetEntity = AttributeDefinitionImpl.class), @@ -932,6 +1006,8 @@ @MetaValue(value = "DataType", targetEntity = DataTypeImpl.class), @MetaValue(value = "DecisionNode", targetEntity = DecisionNodeImpl.class), @MetaValue(value = "Definition", targetEntity = DefinitionImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), @MetaValue(value = "ExhibitStateUsage", targetEntity = ExhibitStateUsageImpl.class), @MetaValue(value = "Expression", targetEntity = ExpressionImpl.class), @MetaValue(value = "Feature", targetEntity = FeatureImpl.class), @@ -961,8 +1037,14 @@ @MetaValue(value = "LiteralString", targetEntity = LiteralStringImpl.class), @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), @MetaValue(value = "MergeNode", targetEntity = MergeNodeImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataFeature", targetEntity = MetadataFeatureImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "Multiplicity", targetEntity = MultiplicityImpl.class), @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), + @MetaValue(value = "Namespace", targetEntity = NamespaceImpl.class), @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), @MetaValue(value = "Package", targetEntity = PackageImpl.class), @@ -1002,6 +1084,24 @@ @MetaValue(value = "ViewpointDefinition", targetEntity = ViewpointDefinitionImpl.class), @MetaValue(value = "ViewpointUsage", targetEntity = ViewpointUsageImpl.class), }), + @AnyMetaDef(name = "NullExpressionMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), + }), + @AnyMetaDef(name = "ObjectiveMembershipMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "ObjectiveMembership", targetEntity = ObjectiveMembershipImpl.class), + }), + @AnyMetaDef(name = "OperatorExpressionMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), + @MetaValue(value = "QueryPathStepExpression", targetEntity = QueryPathStepExpressionImpl.class), + @MetaValue(value = "QueryQualifierExpression", targetEntity = QueryQualifierExpressionImpl.class), + }), + @AnyMetaDef(name = "PackageMetaDef", metaType = "string", idType = "java.util.UUID", + metaValues = { + @MetaValue(value = "Package", targetEntity = PackageImpl.class), + }), @AnyMetaDef(name = "ParameterMembershipMetaDef", metaType = "string", idType = "java.util.UUID", metaValues = { @MetaValue(value = "ParameterMembership", targetEntity = ParameterMembershipImpl.class), @@ -1080,6 +1180,7 @@ @MetaValue(value = "Connector", targetEntity = ConnectorImpl.class), @MetaValue(value = "Dependency", targetEntity = DependencyImpl.class), @MetaValue(value = "Documentation", targetEntity = DocumentationImpl.class), + @MetaValue(value = "ElementFilter", targetEntity = ElementFilterImpl.class), @MetaValue(value = "EndFeatureMembership", targetEntity = EndFeatureMembershipImpl.class), @MetaValue(value = "Expose", targetEntity = ExposeImpl.class), @MetaValue(value = "ExternalRelationship", targetEntity = ExternalRelationshipImpl.class), @@ -1093,6 +1194,7 @@ @MetaValue(value = "InterfaceUsage", targetEntity = InterfaceUsageImpl.class), @MetaValue(value = "ItemFlow", targetEntity = ItemFlowImpl.class), @MetaValue(value = "Membership", targetEntity = MembershipImpl.class), + @MetaValue(value = "MetadataFeatureValue", targetEntity = MetadataFeatureValueImpl.class), @MetaValue(value = "ObjectiveMembership", targetEntity = ObjectiveMembershipImpl.class), @MetaValue(value = "ParameterMembership", targetEntity = ParameterMembershipImpl.class), @MetaValue(value = "PortConjugation", targetEntity = PortConjugationImpl.class), @@ -1206,6 +1308,10 @@ @MetaValue(value = "LiteralString", targetEntity = LiteralStringImpl.class), @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), @MetaValue(value = "MergeNode", targetEntity = MergeNodeImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), @MetaValue(value = "OperatorExpression", targetEntity = OperatorExpressionImpl.class), @MetaValue(value = "PerformActionUsage", targetEntity = PerformActionUsageImpl.class), @@ -1278,6 +1384,7 @@ @MetaValue(value = "ActionUsage", targetEntity = ActionUsageImpl.class), @MetaValue(value = "AnalysisCaseDefinition", targetEntity = AnalysisCaseDefinitionImpl.class), @MetaValue(value = "AnalysisCaseUsage", targetEntity = AnalysisCaseUsageImpl.class), + @MetaValue(value = "AnnotatingFeature", targetEntity = AnnotatingFeatureImpl.class), @MetaValue(value = "AssertConstraintUsage", targetEntity = AssertConstraintUsageImpl.class), @MetaValue(value = "Association", targetEntity = AssociationImpl.class), @MetaValue(value = "AttributeDefinition", targetEntity = AttributeDefinitionImpl.class), @@ -1302,6 +1409,8 @@ @MetaValue(value = "DataType", targetEntity = DataTypeImpl.class), @MetaValue(value = "DecisionNode", targetEntity = DecisionNodeImpl.class), @MetaValue(value = "Definition", targetEntity = DefinitionImpl.class), + @MetaValue(value = "EnumerationDefinition", targetEntity = EnumerationDefinitionImpl.class), + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), @MetaValue(value = "ExhibitStateUsage", targetEntity = ExhibitStateUsageImpl.class), @MetaValue(value = "Expression", targetEntity = ExpressionImpl.class), @MetaValue(value = "Feature", targetEntity = FeatureImpl.class), @@ -1331,6 +1440,11 @@ @MetaValue(value = "LiteralString", targetEntity = LiteralStringImpl.class), @MetaValue(value = "LiteralUnbounded", targetEntity = LiteralUnboundedImpl.class), @MetaValue(value = "MergeNode", targetEntity = MergeNodeImpl.class), + @MetaValue(value = "MetadataCondition", targetEntity = MetadataConditionImpl.class), + @MetaValue(value = "MetadataExpression", targetEntity = MetadataExpressionImpl.class), + @MetaValue(value = "MetadataFeature", targetEntity = MetadataFeatureImpl.class), + @MetaValue(value = "MetadataOperationExpression", targetEntity = MetadataOperationExpressionImpl.class), + @MetaValue(value = "MetadataReferenceExpression", targetEntity = MetadataReferenceExpressionImpl.class), @MetaValue(value = "Multiplicity", targetEntity = MultiplicityImpl.class), @MetaValue(value = "MultiplicityRange", targetEntity = MultiplicityRangeImpl.class), @MetaValue(value = "NullExpression", targetEntity = NullExpressionImpl.class), @@ -1399,6 +1513,7 @@ @MetaValue(value = "ConstraintUsage", targetEntity = ConstraintUsageImpl.class), @MetaValue(value = "ControlNode", targetEntity = ControlNodeImpl.class), @MetaValue(value = "DecisionNode", targetEntity = DecisionNodeImpl.class), + @MetaValue(value = "EnumerationUsage", targetEntity = EnumerationUsageImpl.class), @MetaValue(value = "ExhibitStateUsage", targetEntity = ExhibitStateUsageImpl.class), @MetaValue(value = "ForkNode", targetEntity = ForkNodeImpl.class), @MetaValue(value = "IndividualUsage", targetEntity = IndividualUsageImpl.class), diff --git a/conf/META-INF/persistence.xml b/conf/META-INF/persistence.xml index 5ca70a91..a229e4bd 100644 --- a/conf/META-INF/persistence.xml +++ b/conf/META-INF/persistence.xml @@ -12,6 +12,7 @@ org.omg.sysml.metamodel.impl.AnalysisCaseDefinitionImpl org.omg.sysml.metamodel.impl.AnalysisCaseUsageImpl org.omg.sysml.metamodel.impl.AnnotatingElementImpl + org.omg.sysml.metamodel.impl.AnnotatingFeatureImpl org.omg.sysml.metamodel.impl.AnnotationImpl org.omg.sysml.metamodel.impl.AssertConstraintUsageImpl org.omg.sysml.metamodel.impl.AssociationImpl @@ -42,8 +43,11 @@ org.omg.sysml.metamodel.impl.DefinitionImpl org.omg.sysml.metamodel.impl.DependencyImpl org.omg.sysml.metamodel.impl.DocumentationImpl + org.omg.sysml.metamodel.impl.ElementFilterImpl org.omg.sysml.metamodel.impl.ElementImpl org.omg.sysml.metamodel.impl.EndFeatureMembershipImpl + org.omg.sysml.metamodel.impl.EnumerationDefinitionImpl + org.omg.sysml.metamodel.impl.EnumerationUsageImpl org.omg.sysml.metamodel.impl.ExhibitStateUsageImpl org.omg.sysml.metamodel.impl.ExposeImpl org.omg.sysml.metamodel.impl.ExpressionImpl @@ -80,10 +84,16 @@ org.omg.sysml.metamodel.impl.LiteralUnboundedImpl org.omg.sysml.metamodel.impl.MembershipImpl org.omg.sysml.metamodel.impl.MergeNodeImpl - org.omg.sysml.metamodel.impl.ModelQueryImpl + org.omg.sysml.metamodel.impl.MetadataConditionImpl + org.omg.sysml.metamodel.impl.MetadataExpressionImpl + org.omg.sysml.metamodel.impl.MetadataFeatureImpl + org.omg.sysml.metamodel.impl.MetadataFeatureValueImpl + org.omg.sysml.metamodel.impl.MetadataOperationExpressionImpl + org.omg.sysml.metamodel.impl.MetadataReferenceExpressionImpl org.omg.sysml.metamodel.impl.MofObjectImpl org.omg.sysml.metamodel.impl.MultiplicityImpl org.omg.sysml.metamodel.impl.MultiplicityRangeImpl + org.omg.sysml.metamodel.impl.NamespaceImpl org.omg.sysml.metamodel.impl.NullExpressionImpl org.omg.sysml.metamodel.impl.ObjectiveMembershipImpl org.omg.sysml.metamodel.impl.OperatorExpressionImpl diff --git a/generated/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl_.java index ac246854..9ed30237 100644 --- a/generated/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class AcceptActionUsageImpl_ extends org.omg.sysml.metamodel.imp public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class AcceptActionUsageImpl_ extends org.omg.sysml.metamodel.imp public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ActionDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/ActionDefinitionImpl_.java index 27d3f2c7..26a52f16 100644 --- a/generated/org/omg/sysml/metamodel/impl/ActionDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ActionDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -49,6 +50,7 @@ public abstract class ActionDefinitionImpl_ extends org.omg.sysml.metamodel.impl public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -110,6 +112,7 @@ public abstract class ActionDefinitionImpl_ extends org.omg.sysml.metamodel.impl public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/ActionUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ActionUsageImpl_.java index 68d5bd54..2d004362 100644 --- a/generated/org/omg/sysml/metamodel/impl/ActionUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ActionUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class ActionUsageImpl_ extends org.omg.sysml.metamodel.impl.MofO public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class ActionUsageImpl_ extends org.omg.sysml.metamodel.impl.MofO public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl_.java index 010a3e8b..a714bcdb 100644 --- a/generated/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/AnalysisCaseDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -51,6 +52,7 @@ public abstract class AnalysisCaseDefinitionImpl_ extends org.omg.sysml.metamode public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -115,6 +117,7 @@ public abstract class AnalysisCaseDefinitionImpl_ extends org.omg.sysml.metamode public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl_.java index d589f45e..1eeb01b0 100644 --- a/generated/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/AnalysisCaseUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class AnalysisCaseUsageImpl_ extends org.omg.sysml.metamodel.imp public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -145,6 +147,7 @@ public abstract class AnalysisCaseUsageImpl_ extends org.omg.sysml.metamodel.imp public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl_.java b/generated/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl_.java new file mode 100644 index 00000000..49319d8d --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/AnnotatingFeatureImpl_.java @@ -0,0 +1,122 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.FeatureTyping; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.MetadataFeature; +import org.omg.sysml.metamodel.Redefinition; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.Subsetting; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.Type; +import org.omg.sysml.metamodel.TypeFeaturing; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(AnnotatingFeatureImpl.class) +public abstract class AnnotatingFeatureImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile ListAttribute ownedGeneralization; + public static volatile CollectionAttribute ownedTypeFeaturing; + public static volatile SingularAttribute isConjugated; + public static volatile SingularAttribute isUnique; + public static volatile CollectionAttribute ownedSubsetting; + public static volatile ListAttribute membership; + public static volatile CollectionAttribute type; + public static volatile SingularAttribute isNonunique; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute ownedMetadata; + public static volatile CollectionAttribute ownedTyping; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute isOrdered; + public static volatile CollectionAttribute ownedRedefinition; + public static volatile CollectionAttribute annotation; + public static volatile SingularAttribute identifier; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile CollectionAttribute ownedFeature; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute featureMembership; + public static volatile CollectionAttribute endFeature; + public static volatile ListAttribute ownedImport; + public static volatile CollectionAttribute annotatedElement; + public static volatile SingularAttribute isAbstract; + public static volatile SingularAttribute isEnd; + public static volatile CollectionAttribute featuringType; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute isComposite; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile SingularAttribute name; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String OWNED_TYPE_FEATURING = "ownedTypeFeaturing"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String IS_UNIQUE = "isUnique"; + public static final String OWNED_SUBSETTING = "ownedSubsetting"; + public static final String MEMBERSHIP = "membership"; + public static final String TYPE = "type"; + public static final String IS_NONUNIQUE = "isNonunique"; + public static final String OUTPUT = "output"; + public static final String OWNED_METADATA = "ownedMetadata"; + public static final String OWNED_TYPING = "ownedTyping"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IS_ORDERED = "isOrdered"; + public static final String OWNED_REDEFINITION = "ownedRedefinition"; + public static final String ANNOTATION = "annotation"; + public static final String IDENTIFIER = "identifier"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String END_FEATURE = "endFeature"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String ANNOTATED_ELEMENT = "annotatedElement"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String IS_END = "isEnd"; + public static final String FEATURING_TYPE = "featuringType"; + public static final String INPUT = "input"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String IS_COMPOSITE = "isComposite"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String NAME = "name"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl_.java index b05a399d..ebe34def 100644 --- a/generated/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/AssertConstraintUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class AssertConstraintUsageImpl_ extends org.omg.sysml.metamodel public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -143,6 +145,7 @@ public abstract class AssertConstraintUsageImpl_ extends org.omg.sysml.metamodel public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl_.java index 39c0a110..465d81e7 100644 --- a/generated/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/AttributeDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class AttributeDefinitionImpl_ extends org.omg.sysml.metamodel.i public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -106,6 +108,7 @@ public abstract class AttributeDefinitionImpl_ extends org.omg.sysml.metamodel.i public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/AttributeUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/AttributeUsageImpl_.java index 6e32870e..8e5d314e 100644 --- a/generated/org/omg/sysml/metamodel/impl/AttributeUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/AttributeUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.DataType; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class AttributeUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -142,6 +144,7 @@ public abstract class AttributeUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl_.java index efa04258..58d44a8f 100644 --- a/generated/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/CalculationDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -51,6 +52,7 @@ public abstract class CalculationDefinitionImpl_ extends org.omg.sysml.metamodel public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -114,6 +116,7 @@ public abstract class CalculationDefinitionImpl_ extends org.omg.sysml.metamodel public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/CalculationUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/CalculationUsageImpl_.java index ca30b907..e56ea3fc 100644 --- a/generated/org/omg/sysml/metamodel/impl/CalculationUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/CalculationUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class CalculationUsageImpl_ extends org.omg.sysml.metamodel.impl public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class CalculationUsageImpl_ extends org.omg.sysml.metamodel.impl public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/CaseDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/CaseDefinitionImpl_.java index 7e50bc32..3f70910d 100644 --- a/generated/org/omg/sysml/metamodel/impl/CaseDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/CaseDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -51,6 +52,7 @@ public abstract class CaseDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -114,6 +116,7 @@ public abstract class CaseDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/CaseUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/CaseUsageImpl_.java index 4484444b..175c5323 100644 --- a/generated/org/omg/sysml/metamodel/impl/CaseUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/CaseUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class CaseUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class CaseUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl_.java index 676d3f1c..54498c42 100644 --- a/generated/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ConjugatedPortDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class ConjugatedPortDefinitionImpl_ extends org.omg.sysml.metamo public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -106,6 +108,7 @@ public abstract class ConjugatedPortDefinitionImpl_ extends org.omg.sysml.metamo public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl_.java index d1161be3..0ab53b94 100644 --- a/generated/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ConnectionDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -49,6 +50,7 @@ public abstract class ConnectionDefinitionImpl_ extends org.omg.sysml.metamodel. public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -115,6 +117,7 @@ public abstract class ConnectionDefinitionImpl_ extends org.omg.sysml.metamodel. public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/ConnectionUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ConnectionUsageImpl_.java index 6efbfacb..7b4b0d30 100644 --- a/generated/org/omg/sysml/metamodel/impl/ConnectionUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ConnectionUsageImpl_.java @@ -19,6 +19,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -76,6 +77,7 @@ public abstract class ConnectionUsageImpl_ extends org.omg.sysml.metamodel.impl. public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -156,6 +158,7 @@ public abstract class ConnectionUsageImpl_ extends org.omg.sysml.metamodel.impl. public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl_.java index 1cdff8e4..9af4acc0 100644 --- a/generated/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ConstraintDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -50,6 +51,7 @@ public abstract class ConstraintDefinitionImpl_ extends org.omg.sysml.metamodel. public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -111,6 +113,7 @@ public abstract class ConstraintDefinitionImpl_ extends org.omg.sysml.metamodel. public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/ConstraintUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ConstraintUsageImpl_.java index 4787912f..03981f23 100644 --- a/generated/org/omg/sysml/metamodel/impl/ConstraintUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ConstraintUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class ConstraintUsageImpl_ extends org.omg.sysml.metamodel.impl. public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -143,6 +145,7 @@ public abstract class ConstraintUsageImpl_ extends org.omg.sysml.metamodel.impl. public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ControlNodeImpl_.java b/generated/org/omg/sysml/metamodel/impl/ControlNodeImpl_.java index 047bfda8..57465db7 100644 --- a/generated/org/omg/sysml/metamodel/impl/ControlNodeImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ControlNodeImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class ControlNodeImpl_ extends org.omg.sysml.metamodel.impl.MofO public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class ControlNodeImpl_ extends org.omg.sysml.metamodel.impl.MofO public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/DecisionNodeImpl_.java b/generated/org/omg/sysml/metamodel/impl/DecisionNodeImpl_.java index 39b23fb5..302dd164 100644 --- a/generated/org/omg/sysml/metamodel/impl/DecisionNodeImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/DecisionNodeImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class DecisionNodeImpl_ extends org.omg.sysml.metamodel.impl.Mof public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class DecisionNodeImpl_ extends org.omg.sysml.metamodel.impl.Mof public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/DefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/DefinitionImpl_.java index b9dc7d6e..9fe0a5ee 100644 --- a/generated/org/omg/sysml/metamodel/impl/DefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/DefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class DefinitionImpl_ extends org.omg.sysml.metamodel.impl.MofOb public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -106,6 +108,7 @@ public abstract class DefinitionImpl_ extends org.omg.sysml.metamodel.impl.MofOb public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/ElementFilterImpl_.java b/generated/org/omg/sysml/metamodel/impl/ElementFilterImpl_.java new file mode 100644 index 00000000..e6107b24 --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/ElementFilterImpl_.java @@ -0,0 +1,51 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.TextualRepresentation; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(ElementFilterImpl.class) +public abstract class ElementFilterImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile SingularAttribute identifier; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute ownedRelatedElement; + public static volatile ListAttribute source; + public static volatile ListAttribute target; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile ListAttribute relatedElement; + public static volatile SingularAttribute name; + public static volatile CollectionAttribute documentationComment; + + public static final String IDENTIFIER = "identifier"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String OWNED_RELATED_ELEMENT = "ownedRelatedElement"; + public static final String SOURCE = "source"; + public static final String TARGET = "target"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String RELATED_ELEMENT = "relatedElement"; + public static final String NAME = "name"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl_.java new file mode 100644 index 00000000..f2f99dc0 --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/EnumerationDefinitionImpl_.java @@ -0,0 +1,170 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.ActionUsage; +import org.omg.sysml.metamodel.AnalysisCaseUsage; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.AttributeUsage; +import org.omg.sysml.metamodel.CalculationUsage; +import org.omg.sysml.metamodel.CaseUsage; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.ConnectionUsage; +import org.omg.sysml.metamodel.ConstraintUsage; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.IndividualUsage; +import org.omg.sysml.metamodel.InterfaceUsage; +import org.omg.sysml.metamodel.ItemUsage; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.PartUsage; +import org.omg.sysml.metamodel.PortUsage; +import org.omg.sysml.metamodel.ReferenceUsage; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.RenderingUsage; +import org.omg.sysml.metamodel.RequirementUsage; +import org.omg.sysml.metamodel.StateUsage; +import org.omg.sysml.metamodel.Superclassing; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.TransitionUsage; +import org.omg.sysml.metamodel.Usage; +import org.omg.sysml.metamodel.VariantMembership; +import org.omg.sysml.metamodel.VerificationCaseUsage; +import org.omg.sysml.metamodel.ViewUsage; +import org.omg.sysml.metamodel.ViewpointUsage; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(EnumerationDefinitionImpl.class) +public abstract class EnumerationDefinitionImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile CollectionAttribute ownedPort; + public static volatile ListAttribute ownedGeneralization; + public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; + public static volatile CollectionAttribute ownedVerificationCase; + public static volatile CollectionAttribute usage; + public static volatile CollectionAttribute ownedViewpoint; + public static volatile CollectionAttribute ownedAnalysisCase; + public static volatile CollectionAttribute ownedRendering; + public static volatile CollectionAttribute ownedConstraint; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute variant; + public static volatile CollectionAttribute ownedIndividual; + public static volatile CollectionAttribute ownedItem; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute identifier; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedView; + public static volatile CollectionAttribute ownedFeature; + public static volatile CollectionAttribute flowFeature; + public static volatile CollectionAttribute documentation; + public static volatile CollectionAttribute endFeature; + public static volatile CollectionAttribute ownedInterface; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute ownedAction; + public static volatile CollectionAttribute ownedCase; + public static volatile CollectionAttribute ownedCalculation; + public static volatile SingularAttribute name; + public static volatile CollectionAttribute ownedReference; + public static volatile CollectionAttribute ownedUsage; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + public static volatile CollectionAttribute ownedState; + public static volatile ListAttribute membership; + public static volatile CollectionAttribute ownedSuperclassing; + public static volatile SingularAttribute isVariation; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile CollectionAttribute ownedTransition; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedElement; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute ownedConnection; + public static volatile ListAttribute featureMembership; + public static volatile ListAttribute ownedImport; + public static volatile CollectionAttribute ownedRequirement; + public static volatile SingularAttribute isAbstract; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile CollectionAttribute variantMembership; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile CollectionAttribute enumeratedValue; + public static volatile CollectionAttribute ownedAttribute; + public static volatile CollectionAttribute ownedPart; + + public static final String OWNED_PORT = "ownedPort"; + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; + public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; + public static final String USAGE = "usage"; + public static final String OWNED_VIEWPOINT = "ownedViewpoint"; + public static final String OWNED_ANALYSIS_CASE = "ownedAnalysisCase"; + public static final String OWNED_RENDERING = "ownedRendering"; + public static final String OWNED_CONSTRAINT = "ownedConstraint"; + public static final String OUTPUT = "output"; + public static final String VARIANT = "variant"; + public static final String OWNED_INDIVIDUAL = "ownedIndividual"; + public static final String OWNED_ITEM = "ownedItem"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IDENTIFIER = "identifier"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_VIEW = "ownedView"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String FLOW_FEATURE = "flowFeature"; + public static final String DOCUMENTATION = "documentation"; + public static final String END_FEATURE = "endFeature"; + public static final String OWNED_INTERFACE = "ownedInterface"; + public static final String INPUT = "input"; + public static final String OWNED_ACTION = "ownedAction"; + public static final String OWNED_CASE = "ownedCase"; + public static final String OWNED_CALCULATION = "ownedCalculation"; + public static final String NAME = "name"; + public static final String OWNED_REFERENCE = "ownedReference"; + public static final String OWNED_USAGE = "ownedUsage"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + public static final String OWNED_STATE = "ownedState"; + public static final String MEMBERSHIP = "membership"; + public static final String OWNED_SUPERCLASSING = "ownedSuperclassing"; + public static final String IS_VARIATION = "isVariation"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String OWNED_TRANSITION = "ownedTransition"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String OWNED_CONNECTION = "ownedConnection"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String OWNED_REQUIREMENT = "ownedRequirement"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String VARIANT_MEMBERSHIP = "variantMembership"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String ENUMERATED_VALUE = "enumeratedValue"; + public static final String OWNED_ATTRIBUTE = "ownedAttribute"; + public static final String OWNED_PART = "ownedPart"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/EnumerationUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/EnumerationUsageImpl_.java new file mode 100644 index 00000000..7d8d6c32 --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/EnumerationUsageImpl_.java @@ -0,0 +1,195 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.ActionUsage; +import org.omg.sysml.metamodel.AnalysisCaseUsage; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.AttributeUsage; +import org.omg.sysml.metamodel.CalculationUsage; +import org.omg.sysml.metamodel.CaseUsage; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.ConnectionUsage; +import org.omg.sysml.metamodel.ConstraintUsage; +import org.omg.sysml.metamodel.DataType; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.FeatureTyping; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.IndividualUsage; +import org.omg.sysml.metamodel.InterfaceUsage; +import org.omg.sysml.metamodel.ItemUsage; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.PartUsage; +import org.omg.sysml.metamodel.PortUsage; +import org.omg.sysml.metamodel.Redefinition; +import org.omg.sysml.metamodel.ReferenceUsage; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.RenderingUsage; +import org.omg.sysml.metamodel.RequirementUsage; +import org.omg.sysml.metamodel.StateUsage; +import org.omg.sysml.metamodel.Subsetting; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.TransitionUsage; +import org.omg.sysml.metamodel.Type; +import org.omg.sysml.metamodel.TypeFeaturing; +import org.omg.sysml.metamodel.Usage; +import org.omg.sysml.metamodel.VariantMembership; +import org.omg.sysml.metamodel.VerificationCaseUsage; +import org.omg.sysml.metamodel.ViewUsage; +import org.omg.sysml.metamodel.ViewpointUsage; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(EnumerationUsageImpl.class) +public abstract class EnumerationUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile ListAttribute ownedGeneralization; + public static volatile CollectionAttribute nestedPart; + public static volatile CollectionAttribute ownedTypeFeaturing; + public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute usage; + public static volatile SingularAttribute isUnique; + public static volatile CollectionAttribute nestedUsage; + public static volatile CollectionAttribute ownedSubsetting; + public static volatile CollectionAttribute type; + public static volatile CollectionAttribute nestedRequirement; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute nestedPort; + public static volatile CollectionAttribute nestedTransition; + public static volatile CollectionAttribute nestedConstraint; + public static volatile CollectionAttribute variant; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute nestedState; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute isOrdered; + public static volatile CollectionAttribute ownedRedefinition; + public static volatile SingularAttribute identifier; + public static volatile CollectionAttribute nestedAttribute; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; + public static volatile CollectionAttribute ownedFeature; + public static volatile CollectionAttribute flowFeature; + public static volatile CollectionAttribute documentation; + public static volatile CollectionAttribute nestedAnalysisCase; + public static volatile CollectionAttribute nestedVerificationCase; + public static volatile CollectionAttribute endFeature; + public static volatile SingularAttribute isEnd; + public static volatile CollectionAttribute nestedItem; + public static volatile CollectionAttribute featuringType; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute nestedCalculation; + public static volatile SingularAttribute isComposite; + public static volatile CollectionAttribute nestedView; + public static volatile SingularAttribute name; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + public static volatile CollectionAttribute nestedCase; + public static volatile CollectionAttribute nestedIndividual; + public static volatile ListAttribute membership; + public static volatile SingularAttribute isNonunique; + public static volatile CollectionAttribute nestedReference; + public static volatile SingularAttribute isVariation; + public static volatile CollectionAttribute ownedTyping; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedElement; + public static volatile CollectionAttribute nestedAction; + public static volatile ListAttribute ownedRelationship; + public static volatile ListAttribute featureMembership; + public static volatile ListAttribute ownedImport; + public static volatile SingularAttribute isAbstract; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile CollectionAttribute variantMembership; + public static volatile CollectionAttribute nestedRendering; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute nestedConnection; + public static volatile CollectionAttribute aliasId; + public static volatile CollectionAttribute nestedInterface; + public static volatile CollectionAttribute attributeDefinition; + public static volatile CollectionAttribute nestedViewpoint; + + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String NESTED_PART = "nestedPart"; + public static final String OWNED_TYPE_FEATURING = "ownedTypeFeaturing"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String USAGE = "usage"; + public static final String IS_UNIQUE = "isUnique"; + public static final String NESTED_USAGE = "nestedUsage"; + public static final String OWNED_SUBSETTING = "ownedSubsetting"; + public static final String TYPE = "type"; + public static final String NESTED_REQUIREMENT = "nestedRequirement"; + public static final String OUTPUT = "output"; + public static final String NESTED_PORT = "nestedPort"; + public static final String NESTED_TRANSITION = "nestedTransition"; + public static final String NESTED_CONSTRAINT = "nestedConstraint"; + public static final String VARIANT = "variant"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String NESTED_STATE = "nestedState"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IS_ORDERED = "isOrdered"; + public static final String OWNED_REDEFINITION = "ownedRedefinition"; + public static final String IDENTIFIER = "identifier"; + public static final String NESTED_ATTRIBUTE = "nestedAttribute"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String FLOW_FEATURE = "flowFeature"; + public static final String DOCUMENTATION = "documentation"; + public static final String NESTED_ANALYSIS_CASE = "nestedAnalysisCase"; + public static final String NESTED_VERIFICATION_CASE = "nestedVerificationCase"; + public static final String END_FEATURE = "endFeature"; + public static final String IS_END = "isEnd"; + public static final String NESTED_ITEM = "nestedItem"; + public static final String FEATURING_TYPE = "featuringType"; + public static final String INPUT = "input"; + public static final String NESTED_CALCULATION = "nestedCalculation"; + public static final String IS_COMPOSITE = "isComposite"; + public static final String NESTED_VIEW = "nestedView"; + public static final String NAME = "name"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + public static final String NESTED_CASE = "nestedCase"; + public static final String NESTED_INDIVIDUAL = "nestedIndividual"; + public static final String MEMBERSHIP = "membership"; + public static final String IS_NONUNIQUE = "isNonunique"; + public static final String NESTED_REFERENCE = "nestedReference"; + public static final String IS_VARIATION = "isVariation"; + public static final String OWNED_TYPING = "ownedTyping"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String NESTED_ACTION = "nestedAction"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String VARIANT_MEMBERSHIP = "variantMembership"; + public static final String NESTED_RENDERING = "nestedRendering"; + public static final String HUMAN_ID = "humanId"; + public static final String NESTED_CONNECTION = "nestedConnection"; + public static final String ALIAS_ID = "aliasId"; + public static final String NESTED_INTERFACE = "nestedInterface"; + public static final String ATTRIBUTE_DEFINITION = "attributeDefinition"; + public static final String NESTED_VIEWPOINT = "nestedViewpoint"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl_.java index ad225bb0..5baa7569 100644 --- a/generated/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ExhibitStateUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -74,6 +75,7 @@ public abstract class ExhibitStateUsageImpl_ extends org.omg.sysml.metamodel.imp public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -146,6 +148,7 @@ public abstract class ExhibitStateUsageImpl_ extends org.omg.sysml.metamodel.imp public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ExposeImpl_.java b/generated/org/omg/sysml/metamodel/impl/ExposeImpl_.java index 4854c11d..df6a9a5f 100644 --- a/generated/org/omg/sysml/metamodel/impl/ExposeImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ExposeImpl_.java @@ -27,6 +27,7 @@ public abstract class ExposeImpl_ extends org.omg.sysml.metamodel.impl.MofObject public static volatile ListAttribute ownedRelatedElement; public static volatile ListAttribute source; public static volatile ListAttribute target; + public static volatile SingularAttribute isRecursive; public static volatile CollectionAttribute ownedTextualRepresentation; public static volatile SingularAttribute humanId; public static volatile CollectionAttribute aliasId; @@ -43,6 +44,7 @@ public abstract class ExposeImpl_ extends org.omg.sysml.metamodel.impl.MofObject public static final String OWNED_RELATED_ELEMENT = "ownedRelatedElement"; public static final String SOURCE = "source"; public static final String TARGET = "target"; + public static final String IS_RECURSIVE = "isRecursive"; public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; public static final String HUMAN_ID = "humanId"; public static final String ALIAS_ID = "aliasId"; diff --git a/generated/org/omg/sysml/metamodel/impl/ForkNodeImpl_.java b/generated/org/omg/sysml/metamodel/impl/ForkNodeImpl_.java index 7b5a4d27..22a708bf 100644 --- a/generated/org/omg/sysml/metamodel/impl/ForkNodeImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ForkNodeImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class ForkNodeImpl_ extends org.omg.sysml.metamodel.impl.MofObje public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class ForkNodeImpl_ extends org.omg.sysml.metamodel.impl.MofObje public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ImportImpl_.java b/generated/org/omg/sysml/metamodel/impl/ImportImpl_.java index 79a892db..83fcb86c 100644 --- a/generated/org/omg/sysml/metamodel/impl/ImportImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ImportImpl_.java @@ -27,6 +27,7 @@ public abstract class ImportImpl_ extends org.omg.sysml.metamodel.impl.MofObject public static volatile ListAttribute ownedRelatedElement; public static volatile ListAttribute source; public static volatile ListAttribute target; + public static volatile SingularAttribute isRecursive; public static volatile CollectionAttribute ownedTextualRepresentation; public static volatile SingularAttribute humanId; public static volatile CollectionAttribute aliasId; @@ -43,6 +44,7 @@ public abstract class ImportImpl_ extends org.omg.sysml.metamodel.impl.MofObject public static final String OWNED_RELATED_ELEMENT = "ownedRelatedElement"; public static final String SOURCE = "source"; public static final String TARGET = "target"; + public static final String IS_RECURSIVE = "isRecursive"; public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; public static final String HUMAN_ID = "humanId"; public static final String ALIAS_ID = "aliasId"; diff --git a/generated/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl_.java index 6f55119b..71beea30 100644 --- a/generated/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/IndividualDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class IndividualDefinitionImpl_ extends org.omg.sysml.metamodel. public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -106,6 +108,7 @@ public abstract class IndividualDefinitionImpl_ extends org.omg.sysml.metamodel. public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/IndividualUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/IndividualUsageImpl_.java index 70052038..d46669e4 100644 --- a/generated/org/omg/sysml/metamodel/impl/IndividualUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/IndividualUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -74,6 +75,7 @@ public abstract class IndividualUsageImpl_ extends org.omg.sysml.metamodel.impl. public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -145,6 +147,7 @@ public abstract class IndividualUsageImpl_ extends org.omg.sysml.metamodel.impl. public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl_.java index 1a6db920..13e59e9e 100644 --- a/generated/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/InterfaceDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -49,6 +50,7 @@ public abstract class InterfaceDefinitionImpl_ extends org.omg.sysml.metamodel.i public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -116,6 +118,7 @@ public abstract class InterfaceDefinitionImpl_ extends org.omg.sysml.metamodel.i public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/InterfaceUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/InterfaceUsageImpl_.java index 9f3dbbfd..8df61604 100644 --- a/generated/org/omg/sysml/metamodel/impl/InterfaceUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/InterfaceUsageImpl_.java @@ -19,6 +19,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -76,6 +77,7 @@ public abstract class InterfaceUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -156,6 +158,7 @@ public abstract class InterfaceUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ItemDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/ItemDefinitionImpl_.java index 7caeb612..781e382c 100644 --- a/generated/org/omg/sysml/metamodel/impl/ItemDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ItemDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class ItemDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -106,6 +108,7 @@ public abstract class ItemDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/ItemUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ItemUsageImpl_.java index cfa4dfc1..7a95caef 100644 --- a/generated/org/omg/sysml/metamodel/impl/ItemUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ItemUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class ItemUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -142,6 +144,7 @@ public abstract class ItemUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/JoinNodeImpl_.java b/generated/org/omg/sysml/metamodel/impl/JoinNodeImpl_.java index 788cd311..eafdb579 100644 --- a/generated/org/omg/sysml/metamodel/impl/JoinNodeImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/JoinNodeImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class JoinNodeImpl_ extends org.omg.sysml.metamodel.impl.MofObje public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class JoinNodeImpl_ extends org.omg.sysml.metamodel.impl.MofObje public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/MergeNodeImpl_.java b/generated/org/omg/sysml/metamodel/impl/MergeNodeImpl_.java index 1f8eaa6b..d3aaca6e 100644 --- a/generated/org/omg/sysml/metamodel/impl/MergeNodeImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/MergeNodeImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class MergeNodeImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class MergeNodeImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/MetadataConditionImpl_.java b/generated/org/omg/sysml/metamodel/impl/MetadataConditionImpl_.java new file mode 100644 index 00000000..a7eae971 --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/MetadataConditionImpl_.java @@ -0,0 +1,120 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Behavior; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.FeatureTyping; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.Redefinition; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.Subsetting; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.Type; +import org.omg.sysml.metamodel.TypeFeaturing; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(MetadataConditionImpl.class) +public abstract class MetadataConditionImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile ListAttribute ownedGeneralization; + public static volatile CollectionAttribute ownedTypeFeaturing; + public static volatile SingularAttribute isConjugated; + public static volatile SingularAttribute isUnique; + public static volatile CollectionAttribute ownedSubsetting; + public static volatile ListAttribute membership; + public static volatile CollectionAttribute type; + public static volatile SingularAttribute isNonunique; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute ownedTyping; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile CollectionAttribute parameter; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile CollectionAttribute behavior; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute isOrdered; + public static volatile CollectionAttribute ownedRedefinition; + public static volatile SingularAttribute identifier; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile CollectionAttribute ownedFeature; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute featureMembership; + public static volatile CollectionAttribute endFeature; + public static volatile ListAttribute ownedImport; + public static volatile SingularAttribute isAbstract; + public static volatile SingularAttribute isEnd; + public static volatile CollectionAttribute featuringType; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute isComposite; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile SingularAttribute name; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String OWNED_TYPE_FEATURING = "ownedTypeFeaturing"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String IS_UNIQUE = "isUnique"; + public static final String OWNED_SUBSETTING = "ownedSubsetting"; + public static final String MEMBERSHIP = "membership"; + public static final String TYPE = "type"; + public static final String IS_NONUNIQUE = "isNonunique"; + public static final String OUTPUT = "output"; + public static final String OWNED_TYPING = "ownedTyping"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String PARAMETER = "parameter"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String BEHAVIOR = "behavior"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IS_ORDERED = "isOrdered"; + public static final String OWNED_REDEFINITION = "ownedRedefinition"; + public static final String IDENTIFIER = "identifier"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String END_FEATURE = "endFeature"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String IS_END = "isEnd"; + public static final String FEATURING_TYPE = "featuringType"; + public static final String INPUT = "input"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String IS_COMPOSITE = "isComposite"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String NAME = "name"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/MetadataExpressionImpl_.java b/generated/org/omg/sysml/metamodel/impl/MetadataExpressionImpl_.java new file mode 100644 index 00000000..69e9ad0b --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/MetadataExpressionImpl_.java @@ -0,0 +1,120 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Behavior; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.FeatureTyping; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.Redefinition; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.Subsetting; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.Type; +import org.omg.sysml.metamodel.TypeFeaturing; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(MetadataExpressionImpl.class) +public abstract class MetadataExpressionImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile ListAttribute ownedGeneralization; + public static volatile CollectionAttribute ownedTypeFeaturing; + public static volatile SingularAttribute isConjugated; + public static volatile SingularAttribute isUnique; + public static volatile CollectionAttribute ownedSubsetting; + public static volatile ListAttribute membership; + public static volatile CollectionAttribute type; + public static volatile SingularAttribute isNonunique; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute ownedTyping; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile CollectionAttribute parameter; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile CollectionAttribute behavior; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute isOrdered; + public static volatile CollectionAttribute ownedRedefinition; + public static volatile SingularAttribute identifier; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile CollectionAttribute ownedFeature; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute featureMembership; + public static volatile CollectionAttribute endFeature; + public static volatile ListAttribute ownedImport; + public static volatile SingularAttribute isAbstract; + public static volatile SingularAttribute isEnd; + public static volatile CollectionAttribute featuringType; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute isComposite; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile SingularAttribute name; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String OWNED_TYPE_FEATURING = "ownedTypeFeaturing"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String IS_UNIQUE = "isUnique"; + public static final String OWNED_SUBSETTING = "ownedSubsetting"; + public static final String MEMBERSHIP = "membership"; + public static final String TYPE = "type"; + public static final String IS_NONUNIQUE = "isNonunique"; + public static final String OUTPUT = "output"; + public static final String OWNED_TYPING = "ownedTyping"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String PARAMETER = "parameter"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String BEHAVIOR = "behavior"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IS_ORDERED = "isOrdered"; + public static final String OWNED_REDEFINITION = "ownedRedefinition"; + public static final String IDENTIFIER = "identifier"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String END_FEATURE = "endFeature"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String IS_END = "isEnd"; + public static final String FEATURING_TYPE = "featuringType"; + public static final String INPUT = "input"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String IS_COMPOSITE = "isComposite"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String NAME = "name"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/MetadataFeatureImpl_.java b/generated/org/omg/sysml/metamodel/impl/MetadataFeatureImpl_.java new file mode 100644 index 00000000..1abd9be6 --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/MetadataFeatureImpl_.java @@ -0,0 +1,115 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.FeatureTyping; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.Redefinition; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.Subsetting; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.Type; +import org.omg.sysml.metamodel.TypeFeaturing; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(MetadataFeatureImpl.class) +public abstract class MetadataFeatureImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile ListAttribute ownedGeneralization; + public static volatile CollectionAttribute ownedTypeFeaturing; + public static volatile SingularAttribute isConjugated; + public static volatile SingularAttribute isUnique; + public static volatile CollectionAttribute ownedSubsetting; + public static volatile ListAttribute membership; + public static volatile CollectionAttribute type; + public static volatile SingularAttribute isNonunique; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute ownedTyping; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute isOrdered; + public static volatile CollectionAttribute ownedRedefinition; + public static volatile SingularAttribute identifier; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile CollectionAttribute ownedFeature; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute featureMembership; + public static volatile CollectionAttribute endFeature; + public static volatile ListAttribute ownedImport; + public static volatile SingularAttribute isAbstract; + public static volatile SingularAttribute isEnd; + public static volatile CollectionAttribute featuringType; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute isComposite; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile SingularAttribute name; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String OWNED_TYPE_FEATURING = "ownedTypeFeaturing"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String IS_UNIQUE = "isUnique"; + public static final String OWNED_SUBSETTING = "ownedSubsetting"; + public static final String MEMBERSHIP = "membership"; + public static final String TYPE = "type"; + public static final String IS_NONUNIQUE = "isNonunique"; + public static final String OUTPUT = "output"; + public static final String OWNED_TYPING = "ownedTyping"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IS_ORDERED = "isOrdered"; + public static final String OWNED_REDEFINITION = "ownedRedefinition"; + public static final String IDENTIFIER = "identifier"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String END_FEATURE = "endFeature"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String IS_END = "isEnd"; + public static final String FEATURING_TYPE = "featuringType"; + public static final String INPUT = "input"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String IS_COMPOSITE = "isComposite"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String NAME = "name"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl_.java b/generated/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl_.java new file mode 100644 index 00000000..9decee46 --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/MetadataFeatureValueImpl_.java @@ -0,0 +1,56 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.VisibilityKind; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(MetadataFeatureValueImpl.class) +public abstract class MetadataFeatureValueImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile SingularAttribute identifier; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile SingularAttribute visibility; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile SingularAttribute memberName; + public static volatile ListAttribute ownedRelatedElement; + public static volatile ListAttribute source; + public static volatile ListAttribute target; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile ListAttribute relatedElement; + public static volatile SingularAttribute name; + public static volatile CollectionAttribute documentationComment; + + public static final String IDENTIFIER = "identifier"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String VISIBILITY = "visibility"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String MEMBER_NAME = "memberName"; + public static final String OWNED_RELATED_ELEMENT = "ownedRelatedElement"; + public static final String SOURCE = "source"; + public static final String TARGET = "target"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String RELATED_ELEMENT = "relatedElement"; + public static final String NAME = "name"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl_.java b/generated/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl_.java new file mode 100644 index 00000000..73aea78e --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/MetadataOperationExpressionImpl_.java @@ -0,0 +1,123 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Behavior; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.FeatureTyping; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.MetadataExpression; +import org.omg.sysml.metamodel.Redefinition; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.Subsetting; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.Type; +import org.omg.sysml.metamodel.TypeFeaturing; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(MetadataOperationExpressionImpl.class) +public abstract class MetadataOperationExpressionImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile ListAttribute ownedGeneralization; + public static volatile ListAttribute argument; + public static volatile CollectionAttribute ownedTypeFeaturing; + public static volatile SingularAttribute isConjugated; + public static volatile SingularAttribute isUnique; + public static volatile CollectionAttribute ownedSubsetting; + public static volatile ListAttribute membership; + public static volatile CollectionAttribute type; + public static volatile SingularAttribute isNonunique; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute ownedTyping; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile CollectionAttribute parameter; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile CollectionAttribute behavior; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute isOrdered; + public static volatile CollectionAttribute ownedRedefinition; + public static volatile SingularAttribute identifier; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile CollectionAttribute ownedFeature; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute featureMembership; + public static volatile CollectionAttribute endFeature; + public static volatile ListAttribute ownedImport; + public static volatile SingularAttribute isAbstract; + public static volatile SingularAttribute isEnd; + public static volatile CollectionAttribute featuringType; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute isComposite; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile SingularAttribute name; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String ARGUMENT = "argument"; + public static final String OWNED_TYPE_FEATURING = "ownedTypeFeaturing"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String IS_UNIQUE = "isUnique"; + public static final String OWNED_SUBSETTING = "ownedSubsetting"; + public static final String MEMBERSHIP = "membership"; + public static final String TYPE = "type"; + public static final String IS_NONUNIQUE = "isNonunique"; + public static final String OUTPUT = "output"; + public static final String OWNED_TYPING = "ownedTyping"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String PARAMETER = "parameter"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String BEHAVIOR = "behavior"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IS_ORDERED = "isOrdered"; + public static final String OWNED_REDEFINITION = "ownedRedefinition"; + public static final String IDENTIFIER = "identifier"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String END_FEATURE = "endFeature"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String IS_END = "isEnd"; + public static final String FEATURING_TYPE = "featuringType"; + public static final String INPUT = "input"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String IS_COMPOSITE = "isComposite"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String NAME = "name"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl_.java b/generated/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl_.java new file mode 100644 index 00000000..adfdf6bd --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/MetadataReferenceExpressionImpl_.java @@ -0,0 +1,120 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Behavior; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Feature; +import org.omg.sysml.metamodel.FeatureMembership; +import org.omg.sysml.metamodel.FeatureTyping; +import org.omg.sysml.metamodel.Generalization; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.Redefinition; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.Subsetting; +import org.omg.sysml.metamodel.TextualRepresentation; +import org.omg.sysml.metamodel.Type; +import org.omg.sysml.metamodel.TypeFeaturing; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(MetadataReferenceExpressionImpl.class) +public abstract class MetadataReferenceExpressionImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile ListAttribute ownedGeneralization; + public static volatile CollectionAttribute ownedTypeFeaturing; + public static volatile SingularAttribute isConjugated; + public static volatile SingularAttribute isUnique; + public static volatile CollectionAttribute ownedSubsetting; + public static volatile ListAttribute membership; + public static volatile CollectionAttribute type; + public static volatile SingularAttribute isNonunique; + public static volatile CollectionAttribute output; + public static volatile CollectionAttribute ownedTyping; + public static volatile CollectionAttribute feature; + public static volatile ListAttribute inheritedMembership; + public static volatile CollectionAttribute parameter; + public static volatile ListAttribute member; + public static volatile CollectionAttribute ownedEndFeature; + public static volatile ListAttribute ownedFeatureMembership; + public static volatile CollectionAttribute inheritedFeature; + public static volatile CollectionAttribute behavior; + public static volatile SingularAttribute isSufficient; + public static volatile CollectionAttribute documentationComment; + public static volatile SingularAttribute isOrdered; + public static volatile CollectionAttribute ownedRedefinition; + public static volatile SingularAttribute identifier; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile CollectionAttribute ownedFeature; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute featureMembership; + public static volatile CollectionAttribute endFeature; + public static volatile ListAttribute ownedImport; + public static volatile SingularAttribute isAbstract; + public static volatile SingularAttribute isEnd; + public static volatile CollectionAttribute featuringType; + public static volatile CollectionAttribute input; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute isComposite; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile SingularAttribute name; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + + public static final String OWNED_GENERALIZATION = "ownedGeneralization"; + public static final String OWNED_TYPE_FEATURING = "ownedTypeFeaturing"; + public static final String IS_CONJUGATED = "isConjugated"; + public static final String IS_UNIQUE = "isUnique"; + public static final String OWNED_SUBSETTING = "ownedSubsetting"; + public static final String MEMBERSHIP = "membership"; + public static final String TYPE = "type"; + public static final String IS_NONUNIQUE = "isNonunique"; + public static final String OUTPUT = "output"; + public static final String OWNED_TYPING = "ownedTyping"; + public static final String FEATURE = "feature"; + public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; + public static final String PARAMETER = "parameter"; + public static final String MEMBER = "member"; + public static final String OWNED_END_FEATURE = "ownedEndFeature"; + public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; + public static final String INHERITED_FEATURE = "inheritedFeature"; + public static final String BEHAVIOR = "behavior"; + public static final String IS_SUFFICIENT = "isSufficient"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String IS_ORDERED = "isOrdered"; + public static final String OWNED_REDEFINITION = "ownedRedefinition"; + public static final String IDENTIFIER = "identifier"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_FEATURE = "ownedFeature"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String FEATURE_MEMBERSHIP = "featureMembership"; + public static final String END_FEATURE = "endFeature"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String IS_ABSTRACT = "isAbstract"; + public static final String IS_END = "isEnd"; + public static final String FEATURING_TYPE = "featuringType"; + public static final String INPUT = "input"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String IS_COMPOSITE = "isComposite"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String NAME = "name"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/ModelQueryImpl_.java b/generated/org/omg/sysml/metamodel/impl/ModelQueryImpl_.java deleted file mode 100644 index f476d23d..00000000 --- a/generated/org/omg/sysml/metamodel/impl/ModelQueryImpl_.java +++ /dev/null @@ -1,43 +0,0 @@ -package org.omg.sysml.metamodel.impl; - -import java.util.UUID; -import javax.annotation.processing.Generated; -import javax.persistence.metamodel.CollectionAttribute; -import javax.persistence.metamodel.ListAttribute; -import javax.persistence.metamodel.SingularAttribute; -import javax.persistence.metamodel.StaticMetamodel; -import org.omg.sysml.metamodel.Annotation; -import org.omg.sysml.metamodel.Comment; -import org.omg.sysml.metamodel.Documentation; -import org.omg.sysml.metamodel.Element; -import org.omg.sysml.metamodel.Relationship; -import org.omg.sysml.metamodel.TextualRepresentation; - -@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") -@StaticMetamodel(ModelQueryImpl.class) -public abstract class ModelQueryImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { - - public static volatile SingularAttribute identifier; - public static volatile CollectionAttribute ownedTextualRepresentation; - public static volatile CollectionAttribute ownedAnnotation; - public static volatile CollectionAttribute ownedElement; - public static volatile SingularAttribute humanId; - public static volatile CollectionAttribute aliasId; - public static volatile ListAttribute ownedRelationship; - public static volatile CollectionAttribute documentation; - public static volatile SingularAttribute name; - public static volatile CollectionAttribute documentationComment; - - public static final String IDENTIFIER = "identifier"; - public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; - public static final String OWNED_ANNOTATION = "ownedAnnotation"; - public static final String OWNED_ELEMENT = "ownedElement"; - public static final String HUMAN_ID = "humanId"; - public static final String ALIAS_ID = "aliasId"; - public static final String OWNED_RELATIONSHIP = "ownedRelationship"; - public static final String DOCUMENTATION = "documentation"; - public static final String NAME = "name"; - public static final String DOCUMENTATION_COMMENT = "documentationComment"; - -} - diff --git a/generated/org/omg/sysml/metamodel/impl/NamespaceImpl_.java b/generated/org/omg/sysml/metamodel/impl/NamespaceImpl_.java new file mode 100644 index 00000000..0060c13a --- /dev/null +++ b/generated/org/omg/sysml/metamodel/impl/NamespaceImpl_.java @@ -0,0 +1,57 @@ +package org.omg.sysml.metamodel.impl; + +import java.util.UUID; +import javax.annotation.processing.Generated; +import javax.persistence.metamodel.CollectionAttribute; +import javax.persistence.metamodel.ListAttribute; +import javax.persistence.metamodel.SingularAttribute; +import javax.persistence.metamodel.StaticMetamodel; +import org.omg.sysml.metamodel.Annotation; +import org.omg.sysml.metamodel.Comment; +import org.omg.sysml.metamodel.Documentation; +import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.Import; +import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.Relationship; +import org.omg.sysml.metamodel.TextualRepresentation; + +@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") +@StaticMetamodel(NamespaceImpl.class) +public abstract class NamespaceImpl_ extends org.omg.sysml.metamodel.impl.MofObjectImpl_ { + + public static volatile SingularAttribute identifier; + public static volatile ListAttribute importedMembership; + public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute ownedElement; + public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute documentation; + public static volatile ListAttribute membership; + public static volatile ListAttribute ownedImport; + public static volatile CollectionAttribute ownedTextualRepresentation; + public static volatile SingularAttribute humanId; + public static volatile CollectionAttribute aliasId; + public static volatile ListAttribute member; + public static volatile SingularAttribute name; + public static volatile CollectionAttribute documentationComment; + public static volatile ListAttribute ownedMember; + public static volatile ListAttribute ownedMembership; + + public static final String IDENTIFIER = "identifier"; + public static final String IMPORTED_MEMBERSHIP = "importedMembership"; + public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String OWNED_ELEMENT = "ownedElement"; + public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String DOCUMENTATION = "documentation"; + public static final String MEMBERSHIP = "membership"; + public static final String OWNED_IMPORT = "ownedImport"; + public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; + public static final String HUMAN_ID = "humanId"; + public static final String ALIAS_ID = "aliasId"; + public static final String MEMBER = "member"; + public static final String NAME = "name"; + public static final String DOCUMENTATION_COMMENT = "documentationComment"; + public static final String OWNED_MEMBER = "ownedMember"; + public static final String OWNED_MEMBERSHIP = "ownedMembership"; + +} + diff --git a/generated/org/omg/sysml/metamodel/impl/PackageImpl_.java b/generated/org/omg/sysml/metamodel/impl/PackageImpl_.java index 84cfec96..60c340f7 100644 --- a/generated/org/omg/sysml/metamodel/impl/PackageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/PackageImpl_.java @@ -10,8 +10,10 @@ import org.omg.sysml.metamodel.Comment; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.ElementFilter; import org.omg.sysml.metamodel.Import; import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.MetadataCondition; import org.omg.sysml.metamodel.Relationship; import org.omg.sysml.metamodel.TextualRepresentation; @@ -27,9 +29,11 @@ public abstract class PackageImpl_ extends org.omg.sysml.metamodel.impl.MofObjec public static volatile CollectionAttribute documentation; public static volatile ListAttribute membership; public static volatile ListAttribute ownedImport; + public static volatile CollectionAttribute filter; public static volatile CollectionAttribute ownedTextualRepresentation; public static volatile SingularAttribute humanId; public static volatile CollectionAttribute aliasId; + public static volatile CollectionAttribute filterCondition; public static volatile ListAttribute member; public static volatile SingularAttribute name; public static volatile CollectionAttribute documentationComment; @@ -44,9 +48,11 @@ public abstract class PackageImpl_ extends org.omg.sysml.metamodel.impl.MofObjec public static final String DOCUMENTATION = "documentation"; public static final String MEMBERSHIP = "membership"; public static final String OWNED_IMPORT = "ownedImport"; + public static final String FILTER = "filter"; public static final String OWNED_TEXTUAL_REPRESENTATION = "ownedTextualRepresentation"; public static final String HUMAN_ID = "humanId"; public static final String ALIAS_ID = "aliasId"; + public static final String FILTER_CONDITION = "filterCondition"; public static final String MEMBER = "member"; public static final String NAME = "name"; public static final String DOCUMENTATION_COMMENT = "documentationComment"; diff --git a/generated/org/omg/sysml/metamodel/impl/PartDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/PartDefinitionImpl_.java index 55ab946a..f28affbb 100644 --- a/generated/org/omg/sysml/metamodel/impl/PartDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/PartDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class PartDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -106,6 +108,7 @@ public abstract class PartDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/PartUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/PartUsageImpl_.java index 58b9dfef..3167f85f 100644 --- a/generated/org/omg/sysml/metamodel/impl/PartUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/PartUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -74,6 +75,7 @@ public abstract class PartUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class PartUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/PerformActionUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/PerformActionUsageImpl_.java index ba3da40e..cdba4bce 100644 --- a/generated/org/omg/sysml/metamodel/impl/PerformActionUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/PerformActionUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class PerformActionUsageImpl_ extends org.omg.sysml.metamodel.im public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class PerformActionUsageImpl_ extends org.omg.sysml.metamodel.im public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/PortDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/PortDefinitionImpl_.java index 7d9e1170..a8555f35 100644 --- a/generated/org/omg/sysml/metamodel/impl/PortDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/PortDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class PortDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -106,6 +108,7 @@ public abstract class PortDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/PortUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/PortUsageImpl_.java index d280e38b..eecd9684 100644 --- a/generated/org/omg/sysml/metamodel/impl/PortUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/PortUsageImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -72,6 +73,7 @@ public abstract class PortUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -140,6 +142,7 @@ public abstract class PortUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ReferenceUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ReferenceUsageImpl_.java index 0ef4069c..d3e08c3e 100644 --- a/generated/org/omg/sysml/metamodel/impl/ReferenceUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ReferenceUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class ReferenceUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -142,6 +144,7 @@ public abstract class ReferenceUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl_.java index c26c6592..f12b6745 100644 --- a/generated/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/RenderingDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -48,6 +49,7 @@ public abstract class RenderingDefinitionImpl_ extends org.omg.sysml.metamodel.i public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -107,6 +109,7 @@ public abstract class RenderingDefinitionImpl_ extends org.omg.sysml.metamodel.i public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/RenderingUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/RenderingUsageImpl_.java index 559add41..80f9cec4 100644 --- a/generated/org/omg/sysml/metamodel/impl/RenderingUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/RenderingUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -74,6 +75,7 @@ public abstract class RenderingUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class RenderingUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl_.java index 01168bf8..5b7eb14f 100644 --- a/generated/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/RequirementDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -50,6 +51,7 @@ public abstract class RequirementDefinitionImpl_ extends org.omg.sysml.metamodel public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute requiredConstraint; public static volatile CollectionAttribute usage; @@ -115,6 +117,7 @@ public abstract class RequirementDefinitionImpl_ extends org.omg.sysml.metamodel public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String REQUIRED_CONSTRAINT = "requiredConstraint"; public static final String USAGE = "usage"; diff --git a/generated/org/omg/sysml/metamodel/impl/RequirementUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/RequirementUsageImpl_.java index 0ecdfa9f..77f58d3d 100644 --- a/generated/org/omg/sysml/metamodel/impl/RequirementUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/RequirementUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -75,6 +76,7 @@ public abstract class RequirementUsageImpl_ extends org.omg.sysml.metamodel.impl public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -149,6 +151,7 @@ public abstract class RequirementUsageImpl_ extends org.omg.sysml.metamodel.impl public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl_.java index 377b51bd..c619e509 100644 --- a/generated/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/SatisfyRequirementUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -75,6 +76,7 @@ public abstract class SatisfyRequirementUsageImpl_ extends org.omg.sysml.metamod public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -149,6 +151,7 @@ public abstract class SatisfyRequirementUsageImpl_ extends org.omg.sysml.metamod public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/SendActionUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/SendActionUsageImpl_.java index 703b0ddc..703e271b 100644 --- a/generated/org/omg/sysml/metamodel/impl/SendActionUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/SendActionUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class SendActionUsageImpl_ extends org.omg.sysml.metamodel.impl. public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class SendActionUsageImpl_ extends org.omg.sysml.metamodel.impl. public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/StateDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/StateDefinitionImpl_.java index 2cf853d7..40fd4423 100644 --- a/generated/org/omg/sysml/metamodel/impl/StateDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/StateDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -49,6 +50,7 @@ public abstract class StateDefinitionImpl_ extends org.omg.sysml.metamodel.impl. public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -111,6 +113,7 @@ public abstract class StateDefinitionImpl_ extends org.omg.sysml.metamodel.impl. public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/StateUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/StateUsageImpl_.java index a37dcb8b..c7da5d20 100644 --- a/generated/org/omg/sysml/metamodel/impl/StateUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/StateUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -74,6 +75,7 @@ public abstract class StateUsageImpl_ extends org.omg.sysml.metamodel.impl.MofOb public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -146,6 +148,7 @@ public abstract class StateUsageImpl_ extends org.omg.sysml.metamodel.impl.MofOb public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/TransferActionUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/TransferActionUsageImpl_.java index 4c193371..dc2ddeaa 100644 --- a/generated/org/omg/sysml/metamodel/impl/TransferActionUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/TransferActionUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class TransferActionUsageImpl_ extends org.omg.sysml.metamodel.i public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -144,6 +146,7 @@ public abstract class TransferActionUsageImpl_ extends org.omg.sysml.metamodel.i public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/TransitionUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/TransitionUsageImpl_.java index 331ea198..5332e1df 100644 --- a/generated/org/omg/sysml/metamodel/impl/TransitionUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/TransitionUsageImpl_.java @@ -19,6 +19,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -76,6 +77,7 @@ public abstract class TransitionUsageImpl_ extends org.omg.sysml.metamodel.impl. public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -150,6 +152,7 @@ public abstract class TransitionUsageImpl_ extends org.omg.sysml.metamodel.impl. public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/UsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/UsageImpl_.java index ca749743..48cd4995 100644 --- a/generated/org/omg/sysml/metamodel/impl/UsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/UsageImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -72,6 +73,7 @@ public abstract class UsageImpl_ extends org.omg.sysml.metamodel.impl.MofObjectI public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -140,6 +142,7 @@ public abstract class UsageImpl_ extends org.omg.sysml.metamodel.impl.MofObjectI public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl_.java index 53880cff..7979671d 100644 --- a/generated/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/VerificationCaseDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -51,6 +52,7 @@ public abstract class VerificationCaseDefinitionImpl_ extends org.omg.sysml.meta public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -115,6 +117,7 @@ public abstract class VerificationCaseDefinitionImpl_ extends org.omg.sysml.meta public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; diff --git a/generated/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl_.java index 8638244b..80621a97 100644 --- a/generated/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/VerificationCaseUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -73,6 +74,7 @@ public abstract class VerificationCaseUsageImpl_ extends org.omg.sysml.metamodel public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -145,6 +147,7 @@ public abstract class VerificationCaseUsageImpl_ extends org.omg.sysml.metamodel public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/generated/org/omg/sysml/metamodel/impl/ViewDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/ViewDefinitionImpl_.java index 1bdf273a..49f4037d 100644 --- a/generated/org/omg/sysml/metamodel/impl/ViewDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ViewDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.Generalization; @@ -25,6 +26,7 @@ import org.omg.sysml.metamodel.InterfaceUsage; import org.omg.sysml.metamodel.ItemUsage; import org.omg.sysml.metamodel.Membership; +import org.omg.sysml.metamodel.MetadataCondition; import org.omg.sysml.metamodel.PartUsage; import org.omg.sysml.metamodel.PortUsage; import org.omg.sysml.metamodel.ReferenceUsage; @@ -48,6 +50,7 @@ public abstract class ViewDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute usage; public static volatile CollectionAttribute ownedViewpoint; @@ -81,6 +84,7 @@ public abstract class ViewDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile CollectionAttribute ownedState; public static volatile ListAttribute membership; public static volatile CollectionAttribute ownedSuperclassing; + public static volatile CollectionAttribute viewCondition; public static volatile CollectionAttribute satisfiedViewpoint; public static volatile SingularAttribute isVariation; public static volatile CollectionAttribute feature; @@ -108,6 +112,7 @@ public abstract class ViewDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String USAGE = "usage"; public static final String OWNED_VIEWPOINT = "ownedViewpoint"; @@ -141,6 +146,7 @@ public abstract class ViewDefinitionImpl_ extends org.omg.sysml.metamodel.impl.M public static final String OWNED_STATE = "ownedState"; public static final String MEMBERSHIP = "membership"; public static final String OWNED_SUPERCLASSING = "ownedSuperclassing"; + public static final String VIEW_CONDITION = "viewCondition"; public static final String SATISFIED_VIEWPOINT = "satisfiedViewpoint"; public static final String IS_VARIATION = "isVariation"; public static final String FEATURE = "feature"; diff --git a/generated/org/omg/sysml/metamodel/impl/ViewUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ViewUsageImpl_.java index 42777b8a..47a411e8 100644 --- a/generated/org/omg/sysml/metamodel/impl/ViewUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ViewUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -27,7 +28,8 @@ import org.omg.sysml.metamodel.InterfaceUsage; import org.omg.sysml.metamodel.ItemUsage; import org.omg.sysml.metamodel.Membership; -import org.omg.sysml.metamodel.Package; +import org.omg.sysml.metamodel.MetadataCondition; +import org.omg.sysml.metamodel.Namespace; import org.omg.sysml.metamodel.PartDefinition; import org.omg.sysml.metamodel.PartUsage; import org.omg.sysml.metamodel.PortUsage; @@ -62,6 +64,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile CollectionAttribute ownedSubsetting; public static volatile CollectionAttribute type; public static volatile CollectionAttribute nestedRequirement; + public static volatile CollectionAttribute exposedNamespace; public static volatile CollectionAttribute output; public static volatile CollectionAttribute nestedPort; public static volatile CollectionAttribute nestedTransition; @@ -75,6 +78,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -94,6 +98,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile CollectionAttribute nestedCase; public static volatile CollectionAttribute nestedIndividual; public static volatile ListAttribute membership; + public static volatile CollectionAttribute viewCondition; public static volatile CollectionAttribute satisfiedViewpoint; public static volatile SingularAttribute isNonunique; public static volatile CollectionAttribute nestedReference; @@ -101,7 +106,6 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile CollectionAttribute ownedTyping; public static volatile CollectionAttribute feature; public static volatile ListAttribute inheritedMembership; - public static volatile CollectionAttribute exposedPackage; public static volatile ListAttribute member; public static volatile CollectionAttribute ownedEndFeature; public static volatile ListAttribute ownedFeatureMembership; @@ -111,6 +115,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static volatile CollectionAttribute partDefinition; public static volatile CollectionAttribute nestedAction; public static volatile ListAttribute ownedRelationship; + public static volatile CollectionAttribute viewedElement; public static volatile ListAttribute featureMembership; public static volatile ListAttribute ownedImport; public static volatile SingularAttribute isAbstract; @@ -134,6 +139,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String OWNED_SUBSETTING = "ownedSubsetting"; public static final String TYPE = "type"; public static final String NESTED_REQUIREMENT = "nestedRequirement"; + public static final String EXPOSED_NAMESPACE = "exposedNamespace"; public static final String OUTPUT = "output"; public static final String NESTED_PORT = "nestedPort"; public static final String NESTED_TRANSITION = "nestedTransition"; @@ -147,6 +153,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; @@ -166,6 +173,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String NESTED_CASE = "nestedCase"; public static final String NESTED_INDIVIDUAL = "nestedIndividual"; public static final String MEMBERSHIP = "membership"; + public static final String VIEW_CONDITION = "viewCondition"; public static final String SATISFIED_VIEWPOINT = "satisfiedViewpoint"; public static final String IS_NONUNIQUE = "isNonunique"; public static final String NESTED_REFERENCE = "nestedReference"; @@ -173,7 +181,6 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String OWNED_TYPING = "ownedTyping"; public static final String FEATURE = "feature"; public static final String INHERITED_MEMBERSHIP = "inheritedMembership"; - public static final String EXPOSED_PACKAGE = "exposedPackage"; public static final String MEMBER = "member"; public static final String OWNED_END_FEATURE = "ownedEndFeature"; public static final String OWNED_FEATURE_MEMBERSHIP = "ownedFeatureMembership"; @@ -183,6 +190,7 @@ public abstract class ViewUsageImpl_ extends org.omg.sysml.metamodel.impl.MofObj public static final String PART_DEFINITION = "partDefinition"; public static final String NESTED_ACTION = "nestedAction"; public static final String OWNED_RELATIONSHIP = "ownedRelationship"; + public static final String VIEWED_ELEMENT = "viewedElement"; public static final String FEATURE_MEMBERSHIP = "featureMembership"; public static final String OWNED_IMPORT = "ownedImport"; public static final String IS_ABSTRACT = "isAbstract"; diff --git a/generated/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl_.java b/generated/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl_.java index 890d1bf5..fc856602 100644 --- a/generated/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ViewpointDefinitionImpl_.java @@ -17,6 +17,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Expression; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; @@ -50,6 +51,7 @@ public abstract class ViewpointDefinitionImpl_ extends org.omg.sysml.metamodel.i public static volatile CollectionAttribute ownedPort; public static volatile ListAttribute ownedGeneralization; public static volatile SingularAttribute isConjugated; + public static volatile CollectionAttribute ownedEnumeration; public static volatile CollectionAttribute ownedVerificationCase; public static volatile CollectionAttribute requiredConstraint; public static volatile CollectionAttribute usage; @@ -115,6 +117,7 @@ public abstract class ViewpointDefinitionImpl_ extends org.omg.sysml.metamodel.i public static final String OWNED_PORT = "ownedPort"; public static final String OWNED_GENERALIZATION = "ownedGeneralization"; public static final String IS_CONJUGATED = "isConjugated"; + public static final String OWNED_ENUMERATION = "ownedEnumeration"; public static final String OWNED_VERIFICATION_CASE = "ownedVerificationCase"; public static final String REQUIRED_CONSTRAINT = "requiredConstraint"; public static final String USAGE = "usage"; diff --git a/generated/org/omg/sysml/metamodel/impl/ViewpointUsageImpl_.java b/generated/org/omg/sysml/metamodel/impl/ViewpointUsageImpl_.java index cb7b6e3f..6dd01c23 100644 --- a/generated/org/omg/sysml/metamodel/impl/ViewpointUsageImpl_.java +++ b/generated/org/omg/sysml/metamodel/impl/ViewpointUsageImpl_.java @@ -18,6 +18,7 @@ import org.omg.sysml.metamodel.ConstraintUsage; import org.omg.sysml.metamodel.Documentation; import org.omg.sysml.metamodel.Element; +import org.omg.sysml.metamodel.EnumerationUsage; import org.omg.sysml.metamodel.Feature; import org.omg.sysml.metamodel.FeatureMembership; import org.omg.sysml.metamodel.FeatureTyping; @@ -75,6 +76,7 @@ public abstract class ViewpointUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static volatile SingularAttribute identifier; public static volatile CollectionAttribute nestedAttribute; public static volatile CollectionAttribute ownedAnnotation; + public static volatile CollectionAttribute nestedEnumeration; public static volatile CollectionAttribute ownedFeature; public static volatile CollectionAttribute flowFeature; public static volatile CollectionAttribute documentation; @@ -149,6 +151,7 @@ public abstract class ViewpointUsageImpl_ extends org.omg.sysml.metamodel.impl.M public static final String IDENTIFIER = "identifier"; public static final String NESTED_ATTRIBUTE = "nestedAttribute"; public static final String OWNED_ANNOTATION = "ownedAnnotation"; + public static final String NESTED_ENUMERATION = "nestedEnumeration"; public static final String OWNED_FEATURE = "ownedFeature"; public static final String FLOW_FEATURE = "flowFeature"; public static final String DOCUMENTATION = "documentation"; diff --git a/public/jsonld/AcceptActionUsage.jsonld b/public/jsonld/AcceptActionUsage.jsonld index 70050161..f689c122 100644 --- a/public/jsonld/AcceptActionUsage.jsonld +++ b/public/jsonld/AcceptActionUsage.jsonld @@ -43,6 +43,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/ActionDefinition.jsonld b/public/jsonld/ActionDefinition.jsonld index ceef4f2a..368008f1 100644 --- a/public/jsonld/ActionDefinition.jsonld +++ b/public/jsonld/ActionDefinition.jsonld @@ -39,6 +39,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/ActionUsage.jsonld b/public/jsonld/ActionUsage.jsonld index 0b5521f9..d661efcf 100644 --- a/public/jsonld/ActionUsage.jsonld +++ b/public/jsonld/ActionUsage.jsonld @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/AnalysisCaseDefinition.jsonld b/public/jsonld/AnalysisCaseDefinition.jsonld index e10dcbaa..0f917415 100644 --- a/public/jsonld/AnalysisCaseDefinition.jsonld +++ b/public/jsonld/AnalysisCaseDefinition.jsonld @@ -43,6 +43,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/AnalysisCaseUsage.jsonld b/public/jsonld/AnalysisCaseUsage.jsonld index 64cd0e0c..649ad1bc 100644 --- a/public/jsonld/AnalysisCaseUsage.jsonld +++ b/public/jsonld/AnalysisCaseUsage.jsonld @@ -47,6 +47,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/AnnotatingFeature.jsonld b/public/jsonld/AnnotatingFeature.jsonld new file mode 100644 index 00000000..bf77f4c6 --- /dev/null +++ b/public/jsonld/AnnotatingFeature.jsonld @@ -0,0 +1,64 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "annotatedElement": {"@type": "@id"}, + "annotation": {"@type": "@id"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "endOwningType": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "featuringType": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isComposite": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isEnd": {"@type": "xsd:boolean"}, + "isNonunique": {"@type": "xsd:boolean"}, + "isOrdered": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isUnique": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "metadataType": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "output": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedMetadata": {"@type": "@id"}, + "ownedRedefinition": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedSubsetting": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTypeFeaturing": {"@type": "@id"}, + "ownedTyping": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningFeatureMembership": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "owningType": {"@type": "@id"}, + "type": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/AssertConstraintUsage.jsonld b/public/jsonld/AssertConstraintUsage.jsonld index d1797767..e94632a2 100644 --- a/public/jsonld/AssertConstraintUsage.jsonld +++ b/public/jsonld/AssertConstraintUsage.jsonld @@ -45,6 +45,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/AttributeDefinition.jsonld b/public/jsonld/AttributeDefinition.jsonld index a9fe270b..911e2c8c 100644 --- a/public/jsonld/AttributeDefinition.jsonld +++ b/public/jsonld/AttributeDefinition.jsonld @@ -38,6 +38,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/AttributeUsage.jsonld b/public/jsonld/AttributeUsage.jsonld index 69d6f9bb..b28f6da4 100644 --- a/public/jsonld/AttributeUsage.jsonld +++ b/public/jsonld/AttributeUsage.jsonld @@ -41,6 +41,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/CalculationDefinition.jsonld b/public/jsonld/CalculationDefinition.jsonld index 323e39f6..70a6c4aa 100644 --- a/public/jsonld/CalculationDefinition.jsonld +++ b/public/jsonld/CalculationDefinition.jsonld @@ -41,6 +41,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/CalculationUsage.jsonld b/public/jsonld/CalculationUsage.jsonld index 1242cc57..931e4315 100644 --- a/public/jsonld/CalculationUsage.jsonld +++ b/public/jsonld/CalculationUsage.jsonld @@ -44,6 +44,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/CaseDefinition.jsonld b/public/jsonld/CaseDefinition.jsonld index 15b73dd0..6fe7a322 100644 --- a/public/jsonld/CaseDefinition.jsonld +++ b/public/jsonld/CaseDefinition.jsonld @@ -42,6 +42,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/CaseUsage.jsonld b/public/jsonld/CaseUsage.jsonld index 64b26402..6d4ca881 100644 --- a/public/jsonld/CaseUsage.jsonld +++ b/public/jsonld/CaseUsage.jsonld @@ -45,6 +45,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/ConjugatedPortDefinition.jsonld b/public/jsonld/ConjugatedPortDefinition.jsonld index 9dd8bb3a..c66d33d3 100644 --- a/public/jsonld/ConjugatedPortDefinition.jsonld +++ b/public/jsonld/ConjugatedPortDefinition.jsonld @@ -40,6 +40,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/ConnectionDefinition.jsonld b/public/jsonld/ConnectionDefinition.jsonld index b3933b9a..f71b9b8c 100644 --- a/public/jsonld/ConnectionDefinition.jsonld +++ b/public/jsonld/ConnectionDefinition.jsonld @@ -40,6 +40,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/ConnectionUsage.jsonld b/public/jsonld/ConnectionUsage.jsonld index 6665f5dc..74ba134c 100644 --- a/public/jsonld/ConnectionUsage.jsonld +++ b/public/jsonld/ConnectionUsage.jsonld @@ -45,6 +45,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/ConstraintDefinition.jsonld b/public/jsonld/ConstraintDefinition.jsonld index dd9b325c..e85e7ad4 100644 --- a/public/jsonld/ConstraintDefinition.jsonld +++ b/public/jsonld/ConstraintDefinition.jsonld @@ -39,6 +39,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/ConstraintUsage.jsonld b/public/jsonld/ConstraintUsage.jsonld index f6c2fda0..4128bf8e 100644 --- a/public/jsonld/ConstraintUsage.jsonld +++ b/public/jsonld/ConstraintUsage.jsonld @@ -43,6 +43,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/ControlNode.jsonld b/public/jsonld/ControlNode.jsonld index 0b5521f9..d661efcf 100644 --- a/public/jsonld/ControlNode.jsonld +++ b/public/jsonld/ControlNode.jsonld @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/DecisionNode.jsonld b/public/jsonld/DecisionNode.jsonld index 0b5521f9..d661efcf 100644 --- a/public/jsonld/DecisionNode.jsonld +++ b/public/jsonld/DecisionNode.jsonld @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/Definition.jsonld b/public/jsonld/Definition.jsonld index a9fe270b..911e2c8c 100644 --- a/public/jsonld/Definition.jsonld +++ b/public/jsonld/Definition.jsonld @@ -38,6 +38,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/ElementFilter.jsonld b/public/jsonld/ElementFilter.jsonld new file mode 100644 index 00000000..686c35a3 --- /dev/null +++ b/public/jsonld/ElementFilter.jsonld @@ -0,0 +1,31 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "condition": {"@type": "@id"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "filteredPackage": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "name": {"@type": "xsd:string"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedRelatedElement": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelatedElement": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "relatedElement": {"@type": "@id"}, + "source": {"@type": "@id"}, + "target": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/EndFeatureMembership.jsonld b/public/jsonld/EndFeatureMembership.jsonld index 07b90dfd..0f5a7081 100644 --- a/public/jsonld/EndFeatureMembership.jsonld +++ b/public/jsonld/EndFeatureMembership.jsonld @@ -21,7 +21,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/EnumerationDefinition.jsonld b/public/jsonld/EnumerationDefinition.jsonld new file mode 100644 index 00000000..81529d49 --- /dev/null +++ b/public/jsonld/EnumerationDefinition.jsonld @@ -0,0 +1,75 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "enumeratedValue": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "flowFeature": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isVariation": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "output": {"@type": "@id"}, + "ownedAction": {"@type": "@id"}, + "ownedAnalysisCase": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedAttribute": {"@type": "@id"}, + "ownedCalculation": {"@type": "@id"}, + "ownedCase": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedConnection": {"@type": "@id"}, + "ownedConstraint": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedIndividual": {"@type": "@id"}, + "ownedInterface": {"@type": "@id"}, + "ownedItem": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedPart": {"@type": "@id"}, + "ownedPort": {"@type": "@id"}, + "ownedReference": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedRendering": {"@type": "@id"}, + "ownedRequirement": {"@type": "@id"}, + "ownedState": {"@type": "@id"}, + "ownedSuperclassing": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTransition": {"@type": "@id"}, + "ownedUsage": {"@type": "@id"}, + "ownedVerificationCase": {"@type": "@id"}, + "ownedView": {"@type": "@id"}, + "ownedViewpoint": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "usage": {"@type": "@id"}, + "variant": {"@type": "@id"}, + "variantMembership": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/EnumerationUsage.jsonld b/public/jsonld/EnumerationUsage.jsonld new file mode 100644 index 00000000..cb33d4a8 --- /dev/null +++ b/public/jsonld/EnumerationUsage.jsonld @@ -0,0 +1,91 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "attributeDefinition": {"@type": "@id"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "endOwningType": {"@type": "@id"}, + "enumerationDefinition": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "featuringType": {"@type": "@id"}, + "flowFeature": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isComposite": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isEnd": {"@type": "xsd:boolean"}, + "isNonunique": {"@type": "xsd:boolean"}, + "isOrdered": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isUnique": {"@type": "xsd:boolean"}, + "isVariation": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "nestedAction": {"@type": "@id"}, + "nestedAnalysisCase": {"@type": "@id"}, + "nestedAttribute": {"@type": "@id"}, + "nestedCalculation": {"@type": "@id"}, + "nestedCase": {"@type": "@id"}, + "nestedConnection": {"@type": "@id"}, + "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, + "nestedIndividual": {"@type": "@id"}, + "nestedInterface": {"@type": "@id"}, + "nestedItem": {"@type": "@id"}, + "nestedPart": {"@type": "@id"}, + "nestedPort": {"@type": "@id"}, + "nestedReference": {"@type": "@id"}, + "nestedRendering": {"@type": "@id"}, + "nestedRequirement": {"@type": "@id"}, + "nestedState": {"@type": "@id"}, + "nestedTransition": {"@type": "@id"}, + "nestedUsage": {"@type": "@id"}, + "nestedVerificationCase": {"@type": "@id"}, + "nestedView": {"@type": "@id"}, + "nestedViewpoint": {"@type": "@id"}, + "output": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedRedefinition": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedSubsetting": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTypeFeaturing": {"@type": "@id"}, + "ownedTyping": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningDefinition": {"@type": "@id"}, + "owningFeatureMembership": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "owningType": {"@type": "@id"}, + "owningUsage": {"@type": "@id"}, + "type": {"@type": "@id"}, + "usage": {"@type": "@id"}, + "variant": {"@type": "@id"}, + "variantMembership": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/ExhibitStateUsage.jsonld b/public/jsonld/ExhibitStateUsage.jsonld index 3d64f96e..acd1040e 100644 --- a/public/jsonld/ExhibitStateUsage.jsonld +++ b/public/jsonld/ExhibitStateUsage.jsonld @@ -46,6 +46,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/Expose.jsonld b/public/jsonld/Expose.jsonld index 2510af33..8a2a467c 100644 --- a/public/jsonld/Expose.jsonld +++ b/public/jsonld/Expose.jsonld @@ -10,9 +10,9 @@ "documentationComment": {"@type": "@id"}, "humanId": {"@type": "xsd:string"}, "identifier": {"@type": "dcterms:identifier"}, - "importOwningPackage": {"@type": "@id"}, - "importedPackage": {"@type": "@id"}, - "modelQuery": {"@type": "@id"}, + "importOwningNamespace": {"@type": "@id"}, + "importedNamespace": {"@type": "@id"}, + "isRecursive": {"@type": "xsd:boolean"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/FeatureMembership.jsonld b/public/jsonld/FeatureMembership.jsonld index 07b90dfd..0f5a7081 100644 --- a/public/jsonld/FeatureMembership.jsonld +++ b/public/jsonld/FeatureMembership.jsonld @@ -21,7 +21,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/FeatureValue.jsonld b/public/jsonld/FeatureValue.jsonld index 05bdcc87..0b7210b4 100644 --- a/public/jsonld/FeatureValue.jsonld +++ b/public/jsonld/FeatureValue.jsonld @@ -13,7 +13,7 @@ "identifier": {"@type": "dcterms:identifier"}, "memberElement": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/ForkNode.jsonld b/public/jsonld/ForkNode.jsonld index 0b5521f9..d661efcf 100644 --- a/public/jsonld/ForkNode.jsonld +++ b/public/jsonld/ForkNode.jsonld @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/Import.jsonld b/public/jsonld/Import.jsonld index 6bf50c61..8a2a467c 100644 --- a/public/jsonld/Import.jsonld +++ b/public/jsonld/Import.jsonld @@ -10,8 +10,9 @@ "documentationComment": {"@type": "@id"}, "humanId": {"@type": "xsd:string"}, "identifier": {"@type": "dcterms:identifier"}, - "importOwningPackage": {"@type": "@id"}, - "importedPackage": {"@type": "@id"}, + "importOwningNamespace": {"@type": "@id"}, + "importedNamespace": {"@type": "@id"}, + "isRecursive": {"@type": "xsd:boolean"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/IndividualDefinition.jsonld b/public/jsonld/IndividualDefinition.jsonld index 1abf7378..aaaacc8c 100644 --- a/public/jsonld/IndividualDefinition.jsonld +++ b/public/jsonld/IndividualDefinition.jsonld @@ -39,6 +39,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/IndividualUsage.jsonld b/public/jsonld/IndividualUsage.jsonld index cd7a9ef6..1dba742e 100644 --- a/public/jsonld/IndividualUsage.jsonld +++ b/public/jsonld/IndividualUsage.jsonld @@ -44,6 +44,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/InterfaceDefinition.jsonld b/public/jsonld/InterfaceDefinition.jsonld index 268f2fe6..fdd35523 100644 --- a/public/jsonld/InterfaceDefinition.jsonld +++ b/public/jsonld/InterfaceDefinition.jsonld @@ -41,6 +41,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/InterfaceUsage.jsonld b/public/jsonld/InterfaceUsage.jsonld index 905a5ac2..95823683 100644 --- a/public/jsonld/InterfaceUsage.jsonld +++ b/public/jsonld/InterfaceUsage.jsonld @@ -46,6 +46,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/ItemDefinition.jsonld b/public/jsonld/ItemDefinition.jsonld index a9fe270b..911e2c8c 100644 --- a/public/jsonld/ItemDefinition.jsonld +++ b/public/jsonld/ItemDefinition.jsonld @@ -38,6 +38,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/ItemUsage.jsonld b/public/jsonld/ItemUsage.jsonld index 5ae26404..1d1393b0 100644 --- a/public/jsonld/ItemUsage.jsonld +++ b/public/jsonld/ItemUsage.jsonld @@ -41,6 +41,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/JoinNode.jsonld b/public/jsonld/JoinNode.jsonld index 0b5521f9..d661efcf 100644 --- a/public/jsonld/JoinNode.jsonld +++ b/public/jsonld/JoinNode.jsonld @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/Membership.jsonld b/public/jsonld/Membership.jsonld index d5d1274c..ef2d232c 100644 --- a/public/jsonld/Membership.jsonld +++ b/public/jsonld/Membership.jsonld @@ -12,7 +12,7 @@ "identifier": {"@type": "dcterms:identifier"}, "memberElement": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/MergeNode.jsonld b/public/jsonld/MergeNode.jsonld index 0b5521f9..d661efcf 100644 --- a/public/jsonld/MergeNode.jsonld +++ b/public/jsonld/MergeNode.jsonld @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/MetadataCondition.jsonld b/public/jsonld/MetadataCondition.jsonld new file mode 100644 index 00000000..a015a0b9 --- /dev/null +++ b/public/jsonld/MetadataCondition.jsonld @@ -0,0 +1,65 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "annotationParameter": {"@type": "@id"}, + "behavior": {"@type": "@id"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "endOwningType": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "featuringType": {"@type": "@id"}, + "function": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isComposite": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isEnd": {"@type": "xsd:boolean"}, + "isNonunique": {"@type": "xsd:boolean"}, + "isOrdered": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isUnique": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "output": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedRedefinition": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedSubsetting": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTypeFeaturing": {"@type": "@id"}, + "ownedTyping": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningFeatureMembership": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "owningType": {"@type": "@id"}, + "parameter": {"@type": "@id"}, + "result": {"@type": "@id"}, + "type": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/MetadataExpression.jsonld b/public/jsonld/MetadataExpression.jsonld new file mode 100644 index 00000000..bda0265e --- /dev/null +++ b/public/jsonld/MetadataExpression.jsonld @@ -0,0 +1,64 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "behavior": {"@type": "@id"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "endOwningType": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "featuringType": {"@type": "@id"}, + "function": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isComposite": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isEnd": {"@type": "xsd:boolean"}, + "isNonunique": {"@type": "xsd:boolean"}, + "isOrdered": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isUnique": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "output": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedRedefinition": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedSubsetting": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTypeFeaturing": {"@type": "@id"}, + "ownedTyping": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningFeatureMembership": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "owningType": {"@type": "@id"}, + "parameter": {"@type": "@id"}, + "result": {"@type": "@id"}, + "type": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/MetadataFeature.jsonld b/public/jsonld/MetadataFeature.jsonld new file mode 100644 index 00000000..feec369a --- /dev/null +++ b/public/jsonld/MetadataFeature.jsonld @@ -0,0 +1,61 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "endOwningType": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "featuringType": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isComposite": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isEnd": {"@type": "xsd:boolean"}, + "isNonunique": {"@type": "xsd:boolean"}, + "isOrdered": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isUnique": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "metadataFeatureValue": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "output": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedRedefinition": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedSubsetting": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTypeFeaturing": {"@type": "@id"}, + "ownedTyping": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningFeatureMembership": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "owningType": {"@type": "@id"}, + "type": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/MetadataFeatureValue.jsonld b/public/jsonld/MetadataFeatureValue.jsonld new file mode 100644 index 00000000..978f8063 --- /dev/null +++ b/public/jsonld/MetadataFeatureValue.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "featureWithValue": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "memberElement": {"@type": "@id"}, + "memberName": {"@type": "xsd:string"}, + "membershipOwningNamespace": {"@type": "@id"}, + "metadataValue": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedMemberElement": {"@type": "@id"}, + "ownedRelatedElement": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelatedElement": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "relatedElement": {"@type": "@id"}, + "source": {"@type": "@id"}, + "target": {"@type": "@id"}, + "value": {"@type": "@id"}, + "valueConnector": {"@type": "@id"}, + "visibility": {"@type": "@vocab"} + + } +} \ No newline at end of file diff --git a/public/jsonld/MetadataOperationExpression.jsonld b/public/jsonld/MetadataOperationExpression.jsonld new file mode 100644 index 00000000..27db713a --- /dev/null +++ b/public/jsonld/MetadataOperationExpression.jsonld @@ -0,0 +1,65 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "argument": {"@type": "@id"}, + "behavior": {"@type": "@id"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "endOwningType": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "featuringType": {"@type": "@id"}, + "function": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isComposite": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isEnd": {"@type": "xsd:boolean"}, + "isNonunique": {"@type": "xsd:boolean"}, + "isOrdered": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isUnique": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "output": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedRedefinition": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedSubsetting": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTypeFeaturing": {"@type": "@id"}, + "ownedTyping": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningFeatureMembership": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "owningType": {"@type": "@id"}, + "parameter": {"@type": "@id"}, + "result": {"@type": "@id"}, + "type": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/MetadataReferenceExpression.jsonld b/public/jsonld/MetadataReferenceExpression.jsonld new file mode 100644 index 00000000..e3ea7ea1 --- /dev/null +++ b/public/jsonld/MetadataReferenceExpression.jsonld @@ -0,0 +1,65 @@ +{ + "@context": { + "@vocab": "http://omg.org/ns/sysml#", + "sysml": "http://omg.org/ns/sysml#", + "dcterms": "http://purl.org/dc/terms/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "aliasId": {"@type": "xsd:string"}, + "behavior": {"@type": "@id"}, + "documentation": {"@type": "@id"}, + "documentationComment": {"@type": "@id"}, + "endFeature": {"@type": "@id"}, + "endOwningType": {"@type": "@id"}, + "feature": {"@type": "@id"}, + "featureMembership": {"@type": "@id"}, + "featuringType": {"@type": "@id"}, + "function": {"@type": "@id"}, + "humanId": {"@type": "xsd:string"}, + "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "inheritedFeature": {"@type": "@id"}, + "inheritedMembership": {"@type": "@id"}, + "input": {"@type": "@id"}, + "isAbstract": {"@type": "xsd:boolean"}, + "isComposite": {"@type": "xsd:boolean"}, + "isConjugated": {"@type": "xsd:boolean"}, + "isEnd": {"@type": "xsd:boolean"}, + "isNonunique": {"@type": "xsd:boolean"}, + "isOrdered": {"@type": "xsd:boolean"}, + "isSufficient": {"@type": "xsd:boolean"}, + "isUnique": {"@type": "xsd:boolean"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, + "multiplicity": {"@type": "@id"}, + "name": {"@type": "xsd:string"}, + "output": {"@type": "@id"}, + "ownedAnnotation": {"@type": "@id"}, + "ownedConjugator": {"@type": "@id"}, + "ownedElement": {"@type": "@id"}, + "ownedEndFeature": {"@type": "@id"}, + "ownedFeature": {"@type": "@id"}, + "ownedFeatureMembership": {"@type": "@id"}, + "ownedGeneralization": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, + "ownedRedefinition": {"@type": "@id"}, + "ownedRelationship": {"@type": "@id"}, + "ownedSubsetting": {"@type": "@id"}, + "ownedTextualRepresentation": {"@type": "@id"}, + "ownedTypeFeaturing": {"@type": "@id"}, + "ownedTyping": {"@type": "@id"}, + "owner": {"@type": "@id"}, + "owningFeatureMembership": {"@type": "@id"}, + "owningMembership": {"@type": "@id"}, + "owningNamespace": {"@type": "@id"}, + "owningRelationship": {"@type": "@id"}, + "owningType": {"@type": "@id"}, + "parameter": {"@type": "@id"}, + "referent": {"@type": "@id"}, + "result": {"@type": "@id"}, + "type": {"@type": "@id"} + + } +} \ No newline at end of file diff --git a/public/jsonld/ModelQuery.jsonld b/public/jsonld/Namespace.jsonld similarity index 77% rename from public/jsonld/ModelQuery.jsonld rename to public/jsonld/Namespace.jsonld index c874a68f..bf4dd35d 100644 --- a/public/jsonld/ModelQuery.jsonld +++ b/public/jsonld/Namespace.jsonld @@ -10,9 +10,15 @@ "documentationComment": {"@type": "@id"}, "humanId": {"@type": "xsd:string"}, "identifier": {"@type": "dcterms:identifier"}, + "importedMembership": {"@type": "@id"}, + "member": {"@type": "@id"}, + "membership": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, + "ownedImport": {"@type": "@id"}, + "ownedMember": {"@type": "@id"}, + "ownedMembership": {"@type": "@id"}, "ownedRelationship": {"@type": "@id"}, "ownedTextualRepresentation": {"@type": "@id"}, "owner": {"@type": "@id"}, diff --git a/public/jsonld/ObjectiveMembership.jsonld b/public/jsonld/ObjectiveMembership.jsonld index 58d32d33..8bd27e3f 100644 --- a/public/jsonld/ObjectiveMembership.jsonld +++ b/public/jsonld/ObjectiveMembership.jsonld @@ -21,7 +21,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/Package.jsonld b/public/jsonld/Package.jsonld index bf4dd35d..9d6f50cc 100644 --- a/public/jsonld/Package.jsonld +++ b/public/jsonld/Package.jsonld @@ -8,6 +8,8 @@ "aliasId": {"@type": "xsd:string"}, "documentation": {"@type": "@id"}, "documentationComment": {"@type": "@id"}, + "filter": {"@type": "@id"}, + "filterCondition": {"@type": "@id"}, "humanId": {"@type": "xsd:string"}, "identifier": {"@type": "dcterms:identifier"}, "importedMembership": {"@type": "@id"}, diff --git a/public/jsonld/ParameterMembership.jsonld b/public/jsonld/ParameterMembership.jsonld index dbee2dc9..24cac60e 100644 --- a/public/jsonld/ParameterMembership.jsonld +++ b/public/jsonld/ParameterMembership.jsonld @@ -22,7 +22,7 @@ "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, "memberParameter": {"@type": "@id"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/PartDefinition.jsonld b/public/jsonld/PartDefinition.jsonld index a9fe270b..911e2c8c 100644 --- a/public/jsonld/PartDefinition.jsonld +++ b/public/jsonld/PartDefinition.jsonld @@ -38,6 +38,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/PartUsage.jsonld b/public/jsonld/PartUsage.jsonld index 64da4957..3e137116 100644 --- a/public/jsonld/PartUsage.jsonld +++ b/public/jsonld/PartUsage.jsonld @@ -41,6 +41,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/PerformActionUsage.jsonld b/public/jsonld/PerformActionUsage.jsonld index 834dc94b..8fa25314 100644 --- a/public/jsonld/PerformActionUsage.jsonld +++ b/public/jsonld/PerformActionUsage.jsonld @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/PortDefinition.jsonld b/public/jsonld/PortDefinition.jsonld index 1e4d5a6c..ec0c3a9f 100644 --- a/public/jsonld/PortDefinition.jsonld +++ b/public/jsonld/PortDefinition.jsonld @@ -39,6 +39,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/PortUsage.jsonld b/public/jsonld/PortUsage.jsonld index a4ea3599..5316e0e6 100644 --- a/public/jsonld/PortUsage.jsonld +++ b/public/jsonld/PortUsage.jsonld @@ -40,6 +40,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/ReferenceUsage.jsonld b/public/jsonld/ReferenceUsage.jsonld index 7f3af83f..10ccc247 100644 --- a/public/jsonld/ReferenceUsage.jsonld +++ b/public/jsonld/ReferenceUsage.jsonld @@ -40,6 +40,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/RenderingDefinition.jsonld b/public/jsonld/RenderingDefinition.jsonld index 49c9e7f7..f03d2279 100644 --- a/public/jsonld/RenderingDefinition.jsonld +++ b/public/jsonld/RenderingDefinition.jsonld @@ -38,6 +38,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/RenderingUsage.jsonld b/public/jsonld/RenderingUsage.jsonld index 03150e38..d3dc5250 100644 --- a/public/jsonld/RenderingUsage.jsonld +++ b/public/jsonld/RenderingUsage.jsonld @@ -41,6 +41,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/RequirementConstraintMembership.jsonld b/public/jsonld/RequirementConstraintMembership.jsonld index bd9526ef..3ab8350d 100644 --- a/public/jsonld/RequirementConstraintMembership.jsonld +++ b/public/jsonld/RequirementConstraintMembership.jsonld @@ -23,7 +23,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/RequirementDefinition.jsonld b/public/jsonld/RequirementDefinition.jsonld index c78df242..56281768 100644 --- a/public/jsonld/RequirementDefinition.jsonld +++ b/public/jsonld/RequirementDefinition.jsonld @@ -40,6 +40,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/RequirementUsage.jsonld b/public/jsonld/RequirementUsage.jsonld index 50316fc2..e9ed7570 100644 --- a/public/jsonld/RequirementUsage.jsonld +++ b/public/jsonld/RequirementUsage.jsonld @@ -44,6 +44,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/RequirementVerificationMembership.jsonld b/public/jsonld/RequirementVerificationMembership.jsonld index fcbf9cec..9e7b9800 100644 --- a/public/jsonld/RequirementVerificationMembership.jsonld +++ b/public/jsonld/RequirementVerificationMembership.jsonld @@ -23,7 +23,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/ResultExpressionMembership.jsonld b/public/jsonld/ResultExpressionMembership.jsonld index 3239c0cc..efc608f1 100644 --- a/public/jsonld/ResultExpressionMembership.jsonld +++ b/public/jsonld/ResultExpressionMembership.jsonld @@ -21,7 +21,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/ReturnParameterMembership.jsonld b/public/jsonld/ReturnParameterMembership.jsonld index dbee2dc9..24cac60e 100644 --- a/public/jsonld/ReturnParameterMembership.jsonld +++ b/public/jsonld/ReturnParameterMembership.jsonld @@ -22,7 +22,7 @@ "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, "memberParameter": {"@type": "@id"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/SatisfyRequirementUsage.jsonld b/public/jsonld/SatisfyRequirementUsage.jsonld index 188b6153..8e58689a 100644 --- a/public/jsonld/SatisfyRequirementUsage.jsonld +++ b/public/jsonld/SatisfyRequirementUsage.jsonld @@ -46,6 +46,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/SendActionUsage.jsonld b/public/jsonld/SendActionUsage.jsonld index 4ce468a2..ee6ba1bd 100644 --- a/public/jsonld/SendActionUsage.jsonld +++ b/public/jsonld/SendActionUsage.jsonld @@ -43,6 +43,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/StateDefinition.jsonld b/public/jsonld/StateDefinition.jsonld index c1a6aeb7..f039e066 100644 --- a/public/jsonld/StateDefinition.jsonld +++ b/public/jsonld/StateDefinition.jsonld @@ -42,6 +42,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/StateSubactionMembership.jsonld b/public/jsonld/StateSubactionMembership.jsonld index 68756d2a..715d45f8 100644 --- a/public/jsonld/StateSubactionMembership.jsonld +++ b/public/jsonld/StateSubactionMembership.jsonld @@ -23,7 +23,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/StateUsage.jsonld b/public/jsonld/StateUsage.jsonld index 164e5a7c..d843cc22 100644 --- a/public/jsonld/StateUsage.jsonld +++ b/public/jsonld/StateUsage.jsonld @@ -45,6 +45,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/SubjectMembership.jsonld b/public/jsonld/SubjectMembership.jsonld index b7a2abb0..c1295b09 100644 --- a/public/jsonld/SubjectMembership.jsonld +++ b/public/jsonld/SubjectMembership.jsonld @@ -22,7 +22,7 @@ "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, "memberParameter": {"@type": "@id"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/TransferActionUsage.jsonld b/public/jsonld/TransferActionUsage.jsonld index 70050161..f689c122 100644 --- a/public/jsonld/TransferActionUsage.jsonld +++ b/public/jsonld/TransferActionUsage.jsonld @@ -43,6 +43,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/TransitionFeatureMembership.jsonld b/public/jsonld/TransitionFeatureMembership.jsonld index 469861c6..bc4950ce 100644 --- a/public/jsonld/TransitionFeatureMembership.jsonld +++ b/public/jsonld/TransitionFeatureMembership.jsonld @@ -22,7 +22,7 @@ "memberElement": {"@type": "@id"}, "memberFeature": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/TransitionUsage.jsonld b/public/jsonld/TransitionUsage.jsonld index fb123d29..1b301484 100644 --- a/public/jsonld/TransitionUsage.jsonld +++ b/public/jsonld/TransitionUsage.jsonld @@ -44,6 +44,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/Usage.jsonld b/public/jsonld/Usage.jsonld index e61349d6..51a5e22b 100644 --- a/public/jsonld/Usage.jsonld +++ b/public/jsonld/Usage.jsonld @@ -40,6 +40,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/VariantMembership.jsonld b/public/jsonld/VariantMembership.jsonld index 76e4c6ab..9d0f125e 100644 --- a/public/jsonld/VariantMembership.jsonld +++ b/public/jsonld/VariantMembership.jsonld @@ -12,7 +12,7 @@ "identifier": {"@type": "dcterms:identifier"}, "memberElement": {"@type": "@id"}, "memberName": {"@type": "xsd:string"}, - "membershipOwningPackage": {"@type": "@id"}, + "membershipOwningNamespace": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "ownedAnnotation": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, diff --git a/public/jsonld/VerificationCaseDefinition.jsonld b/public/jsonld/VerificationCaseDefinition.jsonld index bca769da..da6532e0 100644 --- a/public/jsonld/VerificationCaseDefinition.jsonld +++ b/public/jsonld/VerificationCaseDefinition.jsonld @@ -42,6 +42,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/VerificationCaseUsage.jsonld b/public/jsonld/VerificationCaseUsage.jsonld index f1658fc0..da814609 100644 --- a/public/jsonld/VerificationCaseUsage.jsonld +++ b/public/jsonld/VerificationCaseUsage.jsonld @@ -45,6 +45,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, diff --git a/public/jsonld/ViewDefinition.jsonld b/public/jsonld/ViewDefinition.jsonld index 1690c36f..b5fa0863 100644 --- a/public/jsonld/ViewDefinition.jsonld +++ b/public/jsonld/ViewDefinition.jsonld @@ -24,7 +24,6 @@ "isVariation": {"@type": "xsd:boolean"}, "member": {"@type": "@id"}, "membership": {"@type": "@id"}, - "modelQuery": {"@type": "@id"}, "multiplicity": {"@type": "@id"}, "name": {"@type": "xsd:string"}, "output": {"@type": "@id"}, @@ -39,6 +38,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, @@ -71,7 +71,8 @@ "usage": {"@type": "@id"}, "variant": {"@type": "@id"}, "variantMembership": {"@type": "@id"}, - "view": {"@type": "@id"} + "view": {"@type": "@id"}, + "viewCondition": {"@type": "@id"} } } \ No newline at end of file diff --git a/public/jsonld/ViewUsage.jsonld b/public/jsonld/ViewUsage.jsonld index 258103ec..ba639f44 100644 --- a/public/jsonld/ViewUsage.jsonld +++ b/public/jsonld/ViewUsage.jsonld @@ -10,7 +10,7 @@ "documentationComment": {"@type": "@id"}, "endFeature": {"@type": "@id"}, "endOwningType": {"@type": "@id"}, - "exposedPackage": {"@type": "@id"}, + "exposedNamespace": {"@type": "@id"}, "feature": {"@type": "@id"}, "featureMembership": {"@type": "@id"}, "featuringType": {"@type": "@id"}, @@ -42,6 +42,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, @@ -88,7 +89,9 @@ "usage": {"@type": "@id"}, "variant": {"@type": "@id"}, "variantMembership": {"@type": "@id"}, - "viewDefinition": {"@type": "@id"} + "viewCondition": {"@type": "@id"}, + "viewDefinition": {"@type": "@id"}, + "viewedElement": {"@type": "@id"} } } \ No newline at end of file diff --git a/public/jsonld/ViewpointDefinition.jsonld b/public/jsonld/ViewpointDefinition.jsonld index c78df242..56281768 100644 --- a/public/jsonld/ViewpointDefinition.jsonld +++ b/public/jsonld/ViewpointDefinition.jsonld @@ -40,6 +40,7 @@ "ownedConstraint": {"@type": "@id"}, "ownedElement": {"@type": "@id"}, "ownedEndFeature": {"@type": "@id"}, + "ownedEnumeration": {"@type": "@id"}, "ownedFeature": {"@type": "@id"}, "ownedFeatureMembership": {"@type": "@id"}, "ownedGeneralization": {"@type": "@id"}, diff --git a/public/jsonld/ViewpointUsage.jsonld b/public/jsonld/ViewpointUsage.jsonld index 685c11c4..3fdd1f8a 100644 --- a/public/jsonld/ViewpointUsage.jsonld +++ b/public/jsonld/ViewpointUsage.jsonld @@ -44,6 +44,7 @@ "nestedCase": {"@type": "@id"}, "nestedConnection": {"@type": "@id"}, "nestedConstraint": {"@type": "@id"}, + "nestedEnumeration": {"@type": "@id"}, "nestedIndividual": {"@type": "@id"}, "nestedInterface": {"@type": "@id"}, "nestedItem": {"@type": "@id"}, From 1b2bddaebe5ad68271f57909fadc0d0f6fb27971 Mon Sep 17 00:00:00 2001 From: ivan-gomes Date: Mon, 21 Dec 2020 18:06:50 -0800 Subject: [PATCH 2/2] Update version number to 2020-12-rc1 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 0ce3b066..f16dc5d4 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ name := """SysML-v2-API-Services""" organization := "org.omg" -version := "2020-11" +version := "2020-12-rc1" javacOptions ++= Seq("-source", "11", "-target", "11", "-Xlint")