sysml-validate 0.10.18 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +27 -27
- package/README.md +200 -200
- package/out/main.js +596 -141
- package/out/main.js.map +4 -4
- package/package.json +57 -57
- package/resources/sysml.dimension-table.json +1 -1
- package/resources/sysml.library/Domain Libraries/Analysis/.meta.json +9 -9
- package/resources/sysml.library/Domain Libraries/Analysis/.project.json +26 -26
- package/resources/sysml.library/Domain Libraries/Analysis/AnalysisTooling.sysml +33 -33
- package/resources/sysml.library/Domain Libraries/Analysis/SampledFunctions.sysml +118 -118
- package/resources/sysml.library/Domain Libraries/Analysis/StateSpaceRepresentation.sysml +143 -143
- package/resources/sysml.library/Domain Libraries/Analysis/TradeStudies.sysml +170 -170
- package/resources/sysml.library/Domain Libraries/Cause and Effect/.meta.json +7 -7
- package/resources/sysml.library/Domain Libraries/Cause and Effect/.project.json +22 -22
- package/resources/sysml.library/Domain Libraries/Cause and Effect/CausationConnections.sysml +82 -82
- package/resources/sysml.library/Domain Libraries/Cause and Effect/CauseAndEffect.sysml +81 -81
- package/resources/sysml.library/Domain Libraries/Geometry/.meta.json +7 -7
- package/resources/sysml.library/Domain Libraries/Geometry/.project.json +26 -26
- package/resources/sysml.library/Domain Libraries/Geometry/ShapeItems.sysml +898 -898
- package/resources/sysml.library/Domain Libraries/Geometry/SpatialItems.sysml +167 -167
- package/resources/sysml.library/Domain Libraries/Metadata/.meta.json +9 -9
- package/resources/sysml.library/Domain Libraries/Metadata/.project.json +18 -18
- package/resources/sysml.library/Domain Libraries/Metadata/ImageMetadata.sysml +77 -77
- package/resources/sysml.library/Domain Libraries/Metadata/ModelingMetadata.sysml +142 -142
- package/resources/sysml.library/Domain Libraries/Metadata/ParametersOfInterestMetadata.sysml +38 -38
- package/resources/sysml.library/Domain Libraries/Metadata/RiskMetadata.sysml +99 -99
- package/resources/sysml.library/Domain Libraries/Quantities and Units/.meta.json +28 -28
- package/resources/sysml.library/Domain Libraries/Quantities and Units/.project.json +22 -22
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQ.sysml +42 -42
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQAcoustics.sysml +439 -439
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQAtomicNuclear.sysml +2726 -2726
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQBase.sysml +206 -206
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQCharacteristicNumbers.sysml +1991 -1991
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQChemistryMolecular.sysml +1353 -1353
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQCondensedMatter.sysml +1223 -1223
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQElectromagnetism.sysml +2333 -2333
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQInformation.sysml +958 -958
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQLight.sysml +1537 -1537
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQMechanics.sysml +1564 -1564
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQSpaceTime.sysml +1169 -1169
- package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQThermodynamics.sysml +1256 -1256
- package/resources/sysml.library/Domain Libraries/Quantities and Units/MeasurementRefCalculations.sysml +30 -30
- package/resources/sysml.library/Domain Libraries/Quantities and Units/MeasurementReferences.sysml +526 -526
- package/resources/sysml.library/Domain Libraries/Quantities and Units/Quantities.sysml +107 -107
- package/resources/sysml.library/Domain Libraries/Quantities and Units/QuantityCalculations.sysml +70 -70
- package/resources/sysml.library/Domain Libraries/Quantities and Units/SI.sysml +378 -378
- package/resources/sysml.library/Domain Libraries/Quantities and Units/SIPrefixes.sysml +48 -48
- package/resources/sysml.library/Domain Libraries/Quantities and Units/TensorCalculations.sysml +49 -49
- package/resources/sysml.library/Domain Libraries/Quantities and Units/Time.sysml +274 -274
- package/resources/sysml.library/Domain Libraries/Quantities and Units/USCustomaryUnits.sysml +260 -260
- package/resources/sysml.library/Domain Libraries/Quantities and Units/VectorCalculations.sysml +62 -62
- package/resources/sysml.library/Domain Libraries/Requirement Derivation/.meta.json +7 -7
- package/resources/sysml.library/Domain Libraries/Requirement Derivation/.project.json +18 -18
- package/resources/sysml.library/Domain Libraries/Requirement Derivation/DerivationConnections.sysml +62 -62
- package/resources/sysml.library/Domain Libraries/Requirement Derivation/RequirementDerivation.sysml +38 -38
- package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/.meta.json +8 -8
- package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/.project.json +10 -10
- package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/Collections.kerml +176 -176
- package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/ScalarValues.kerml +23 -23
- package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/VectorValues.kerml +63 -63
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/.meta.json +22 -22
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/.project.json +14 -14
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/BaseFunctions.kerml +79 -79
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/BooleanFunctions.kerml +22 -22
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/CollectionFunctions.kerml +68 -68
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/ComplexFunctions.kerml +47 -47
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/ControlFunctions.kerml +116 -116
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/DataFunctions.kerml +42 -42
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/IntegerFunctions.kerml +43 -43
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/NaturalFunctions.kerml +27 -27
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/NumericalFunctions.kerml +42 -42
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/OccurrenceFunctions.kerml +153 -153
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/RationalFunctions.kerml +49 -49
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/RealFunctions.kerml +56 -56
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/ScalarFunctions.kerml +32 -32
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/SequenceFunctions.kerml +110 -110
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/StringFunctions.kerml +25 -25
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/TrigFunctions.kerml +34 -34
- package/resources/sysml.library/Kernel Libraries/Kernel Function Library/VectorFunctions.kerml +272 -272
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/.meta.json +21 -21
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/.project.json +14 -14
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Base.kerml +94 -94
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Clocks.kerml +155 -155
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/ControlPerformances.kerml +134 -134
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/FeatureReferencingPerformances.kerml +189 -189
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/KerML.kerml +483 -483
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Links.kerml +66 -66
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Metaobjects.kerml +57 -57
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Objects.kerml +212 -212
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Observation.kerml +160 -160
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Occurrences.kerml +992 -992
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Performances.kerml +292 -292
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/SpatialFrames.kerml +196 -196
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/StatePerformances.kerml +144 -144
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Transfers.kerml +280 -280
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/TransitionPerformances.kerml +65 -65
- package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Triggers.kerml +187 -187
- package/resources/sysml.library/LICENSE +276 -276
- package/resources/sysml.library/NOTICE.md +20 -20
- package/resources/sysml.library/Systems Library/Actions.sysml +556 -556
- package/resources/sysml.library/Systems Library/Allocations.sysml +28 -28
- package/resources/sysml.library/Systems Library/AnalysisCases.sysml +37 -37
- package/resources/sysml.library/Systems Library/Attributes.sysml +24 -24
- package/resources/sysml.library/Systems Library/Calculations.sysml +36 -36
- package/resources/sysml.library/Systems Library/Cases.sysml +70 -70
- package/resources/sysml.library/Systems Library/Connections.sysml +59 -59
- package/resources/sysml.library/Systems Library/Constraints.sysml +43 -43
- package/resources/sysml.library/Systems Library/Flows.sysml +125 -125
- package/resources/sysml.library/Systems Library/Interfaces.sysml +88 -88
- package/resources/sysml.library/Systems Library/Items.sysml +152 -152
- package/resources/sysml.library/Systems Library/Metadata.sysml +31 -31
- package/resources/sysml.library/Systems Library/Parts.sysml +80 -80
- package/resources/sysml.library/Systems Library/Ports.sysml +53 -53
- package/resources/sysml.library/Systems Library/Requirements.sysml +193 -193
- package/resources/sysml.library/Systems Library/StandardViewDefinitions.sysml +123 -123
- package/resources/sysml.library/Systems Library/States.sysml +102 -102
- package/resources/sysml.library/Systems Library/SysML.sysml +539 -539
- package/resources/sysml.library/Systems Library/UseCases.sysml +56 -56
- package/resources/sysml.library/Systems Library/VerificationCases.sysml +102 -102
- package/resources/sysml.library/Systems Library/Views.sysml +163 -163
- package/resources/sysml.library.index.json +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
standard library package Allocations {
|
|
2
|
-
doc
|
|
3
|
-
/*
|
|
4
|
-
* This package defines the base types for allocations and related structural elements
|
|
5
|
-
* in the SysML language.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
private import Base::Anything;
|
|
9
|
-
private import Connections::*;
|
|
10
|
-
|
|
11
|
-
allocation def Allocation :> BinaryConnection {
|
|
12
|
-
doc
|
|
13
|
-
/*
|
|
14
|
-
* Allocation is the most general class of allocation, represented as a connection
|
|
15
|
-
* between the source of the allocation and the target. Allocation is the base type
|
|
16
|
-
* of all AllocationDefinitions.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
end source: Anything :>> BinaryConnection::source;
|
|
20
|
-
end target: Anything :>> BinaryConnection::target;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
abstract allocation allocations: Allocation[0..*] nonunique :> binaryConnections {
|
|
24
|
-
doc
|
|
25
|
-
/*
|
|
26
|
-
* allocations is the base feature of all AllocationUsages.
|
|
27
|
-
*/
|
|
28
|
-
}
|
|
1
|
+
standard library package Allocations {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package defines the base types for allocations and related structural elements
|
|
5
|
+
* in the SysML language.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
private import Base::Anything;
|
|
9
|
+
private import Connections::*;
|
|
10
|
+
|
|
11
|
+
allocation def Allocation :> BinaryConnection {
|
|
12
|
+
doc
|
|
13
|
+
/*
|
|
14
|
+
* Allocation is the most general class of allocation, represented as a connection
|
|
15
|
+
* between the source of the allocation and the target. Allocation is the base type
|
|
16
|
+
* of all AllocationDefinitions.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
end source: Anything :>> BinaryConnection::source;
|
|
20
|
+
end target: Anything :>> BinaryConnection::target;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
abstract allocation allocations: Allocation[0..*] nonunique :> binaryConnections {
|
|
24
|
+
doc
|
|
25
|
+
/*
|
|
26
|
+
* allocations is the base feature of all AllocationUsages.
|
|
27
|
+
*/
|
|
28
|
+
}
|
|
29
29
|
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
standard library package AnalysisCases {
|
|
2
|
-
doc
|
|
3
|
-
/*
|
|
4
|
-
* This package defines the base types for analysis cases and related behavioral elements
|
|
5
|
-
* in the SysML language.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
private import Performances::Evaluation;
|
|
9
|
-
private import Performances::evaluations;
|
|
10
|
-
private import Calculations::Calculation;
|
|
11
|
-
private import Cases::Case;
|
|
12
|
-
private import Cases::cases;
|
|
13
|
-
|
|
14
|
-
abstract analysis def AnalysisCase :> Case {
|
|
15
|
-
doc
|
|
16
|
-
/*
|
|
17
|
-
* AnalysisCase is the most general class of performances of AnalysisCaseDefinitions.
|
|
18
|
-
* AnalysisCase is the base class of all AnalysisCaseDefinitions.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
ref analysis self : AnalysisCase :>> Case::self;
|
|
22
|
-
subject subj :>> Case::subj;
|
|
23
|
-
|
|
24
|
-
abstract analysis subAnalysisCases : AnalysisCase[0..*] :> analysisCases, subcases {
|
|
25
|
-
doc
|
|
26
|
-
/*
|
|
27
|
-
* Other AnalysisCases carried out as part of the performance of this AnalysisCase.
|
|
28
|
-
*/
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
abstract analysis analysisCases : AnalysisCase[0..*] nonunique :> cases {
|
|
33
|
-
doc
|
|
34
|
-
/*
|
|
35
|
-
* analysisCases is the base feature of all AnalysisCaseUsages.
|
|
36
|
-
*/
|
|
37
|
-
}
|
|
1
|
+
standard library package AnalysisCases {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package defines the base types for analysis cases and related behavioral elements
|
|
5
|
+
* in the SysML language.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
private import Performances::Evaluation;
|
|
9
|
+
private import Performances::evaluations;
|
|
10
|
+
private import Calculations::Calculation;
|
|
11
|
+
private import Cases::Case;
|
|
12
|
+
private import Cases::cases;
|
|
13
|
+
|
|
14
|
+
abstract analysis def AnalysisCase :> Case {
|
|
15
|
+
doc
|
|
16
|
+
/*
|
|
17
|
+
* AnalysisCase is the most general class of performances of AnalysisCaseDefinitions.
|
|
18
|
+
* AnalysisCase is the base class of all AnalysisCaseDefinitions.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
ref analysis self : AnalysisCase :>> Case::self;
|
|
22
|
+
subject subj :>> Case::subj;
|
|
23
|
+
|
|
24
|
+
abstract analysis subAnalysisCases : AnalysisCase[0..*] :> analysisCases, subcases {
|
|
25
|
+
doc
|
|
26
|
+
/*
|
|
27
|
+
* Other AnalysisCases carried out as part of the performance of this AnalysisCase.
|
|
28
|
+
*/
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
abstract analysis analysisCases : AnalysisCase[0..*] nonunique :> cases {
|
|
33
|
+
doc
|
|
34
|
+
/*
|
|
35
|
+
* analysisCases is the base feature of all AnalysisCaseUsages.
|
|
36
|
+
*/
|
|
37
|
+
}
|
|
38
38
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
standard library package Attributes {
|
|
2
|
-
doc
|
|
3
|
-
/*
|
|
4
|
-
* This package defines the base types for attributes and related structural elements
|
|
5
|
-
* in the SysML language.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
private import Base::DataValue;
|
|
9
|
-
private import Base::dataValues;
|
|
10
|
-
|
|
11
|
-
alias AttributeValue for DataValue {
|
|
12
|
-
doc
|
|
13
|
-
/*
|
|
14
|
-
* AttributeValue is the most general type of data values that represent qualities or characteristics
|
|
15
|
-
* of a system or part of a system. AttributeValue is the base type of all AttributeDefinitions.
|
|
16
|
-
*/
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
alias attributeValues for dataValues {
|
|
20
|
-
doc
|
|
21
|
-
/*
|
|
22
|
-
* attributeValues is the base feature for all AttributeUsages.
|
|
23
|
-
*/
|
|
24
|
-
}
|
|
1
|
+
standard library package Attributes {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package defines the base types for attributes and related structural elements
|
|
5
|
+
* in the SysML language.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
private import Base::DataValue;
|
|
9
|
+
private import Base::dataValues;
|
|
10
|
+
|
|
11
|
+
alias AttributeValue for DataValue {
|
|
12
|
+
doc
|
|
13
|
+
/*
|
|
14
|
+
* AttributeValue is the most general type of data values that represent qualities or characteristics
|
|
15
|
+
* of a system or part of a system. AttributeValue is the base type of all AttributeDefinitions.
|
|
16
|
+
*/
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
alias attributeValues for dataValues {
|
|
20
|
+
doc
|
|
21
|
+
/*
|
|
22
|
+
* attributeValues is the base feature for all AttributeUsages.
|
|
23
|
+
*/
|
|
24
|
+
}
|
|
25
25
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
standard library package Calculations {
|
|
2
|
-
doc
|
|
3
|
-
/*
|
|
4
|
-
* This package defines the base types for calculations and related behavioral elements in the
|
|
5
|
-
* SysML language.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
private import Performances::Evaluation;
|
|
9
|
-
private import Performances::evaluations;
|
|
10
|
-
private import Actions::Action;
|
|
11
|
-
private import Actions::actions;
|
|
12
|
-
|
|
13
|
-
abstract calc def Calculation :> Action, Evaluation {
|
|
14
|
-
doc
|
|
15
|
-
/*
|
|
16
|
-
* Calculation is the most general class of evaluations of CalculationDefinitions in a
|
|
17
|
-
* system or part of a system. Calculation is the base class of all CalculationDefinitions.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
ref calc self: Calculation :>> Action::self, Evaluation::self;
|
|
21
|
-
|
|
22
|
-
abstract calc subcalculations: Calculation :> calculations, subactions {
|
|
23
|
-
doc
|
|
24
|
-
/*
|
|
25
|
-
* The subactions of this Calculation that are Calculations.
|
|
26
|
-
*/
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
abstract calc calculations: Calculation[0..*] nonunique :> actions, evaluations {
|
|
32
|
-
doc
|
|
33
|
-
/*
|
|
34
|
-
* calculations is the base Feature for all CalculationUsages.
|
|
35
|
-
*/
|
|
36
|
-
}
|
|
1
|
+
standard library package Calculations {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package defines the base types for calculations and related behavioral elements in the
|
|
5
|
+
* SysML language.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
private import Performances::Evaluation;
|
|
9
|
+
private import Performances::evaluations;
|
|
10
|
+
private import Actions::Action;
|
|
11
|
+
private import Actions::actions;
|
|
12
|
+
|
|
13
|
+
abstract calc def Calculation :> Action, Evaluation {
|
|
14
|
+
doc
|
|
15
|
+
/*
|
|
16
|
+
* Calculation is the most general class of evaluations of CalculationDefinitions in a
|
|
17
|
+
* system or part of a system. Calculation is the base class of all CalculationDefinitions.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
ref calc self: Calculation :>> Action::self, Evaluation::self;
|
|
21
|
+
|
|
22
|
+
abstract calc subcalculations: Calculation :> calculations, subactions {
|
|
23
|
+
doc
|
|
24
|
+
/*
|
|
25
|
+
* The subactions of this Calculation that are Calculations.
|
|
26
|
+
*/
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
abstract calc calculations: Calculation[0..*] nonunique :> actions, evaluations {
|
|
32
|
+
doc
|
|
33
|
+
/*
|
|
34
|
+
* calculations is the base Feature for all CalculationUsages.
|
|
35
|
+
*/
|
|
36
|
+
}
|
|
37
37
|
}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
standard library package Cases {
|
|
2
|
-
doc
|
|
3
|
-
/*
|
|
4
|
-
* This package defines the base types for cases and related behavioral elements
|
|
5
|
-
* in the SysML language.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
private import Base::Anything;
|
|
9
|
-
private import Requirements::RequirementCheck;
|
|
10
|
-
private import Calculations::Calculation;
|
|
11
|
-
private import Calculations::calculations;
|
|
12
|
-
private import Parts::Part;
|
|
13
|
-
private import Parts::parts;
|
|
14
|
-
|
|
15
|
-
abstract case def Case :> Calculation {
|
|
16
|
-
doc
|
|
17
|
-
/*
|
|
18
|
-
* Case is the most general class of performances of CaseDefinitions.
|
|
19
|
-
* Case is the base class of all CaseDefinitions.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
ref case self : Case :>> Calculation::self;
|
|
23
|
-
|
|
24
|
-
subject subj : Anything[1] {
|
|
25
|
-
doc
|
|
26
|
-
/*
|
|
27
|
-
* The subject that was investigated by this Case.
|
|
28
|
-
*/
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
ref part actors : Part[0..*] :> parts {
|
|
32
|
-
doc
|
|
33
|
-
/*
|
|
34
|
-
* The Parts that fill the role of actors for this Case.
|
|
35
|
-
* (Note: This is not itself an actor parameter, because specific actor
|
|
36
|
-
* parameters will be added for specific Cases.)
|
|
37
|
-
*/
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
objective obj : RequirementCheck[1] {
|
|
41
|
-
doc
|
|
42
|
-
/*
|
|
43
|
-
* A check of whether the objective RequirementUsage was satisfied for this Case.
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
subject subj default Case::result;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return ref result[0..*] {
|
|
50
|
-
doc
|
|
51
|
-
/*
|
|
52
|
-
* The result determined by the case, which should satisfy the case objective.
|
|
53
|
-
*/
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
abstract case subcases : Case[0..*] :> cases, subcalculations {
|
|
57
|
-
doc
|
|
58
|
-
/*
|
|
59
|
-
* Other Cases carried out as part of the performance of this Case.
|
|
60
|
-
*/
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
abstract case cases : Case[0..*] nonunique :> calculations {
|
|
66
|
-
doc
|
|
67
|
-
/*
|
|
68
|
-
* cases is the base Feature of all CaseUsages.
|
|
69
|
-
*/
|
|
70
|
-
}
|
|
1
|
+
standard library package Cases {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package defines the base types for cases and related behavioral elements
|
|
5
|
+
* in the SysML language.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
private import Base::Anything;
|
|
9
|
+
private import Requirements::RequirementCheck;
|
|
10
|
+
private import Calculations::Calculation;
|
|
11
|
+
private import Calculations::calculations;
|
|
12
|
+
private import Parts::Part;
|
|
13
|
+
private import Parts::parts;
|
|
14
|
+
|
|
15
|
+
abstract case def Case :> Calculation {
|
|
16
|
+
doc
|
|
17
|
+
/*
|
|
18
|
+
* Case is the most general class of performances of CaseDefinitions.
|
|
19
|
+
* Case is the base class of all CaseDefinitions.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
ref case self : Case :>> Calculation::self;
|
|
23
|
+
|
|
24
|
+
subject subj : Anything[1] {
|
|
25
|
+
doc
|
|
26
|
+
/*
|
|
27
|
+
* The subject that was investigated by this Case.
|
|
28
|
+
*/
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
ref part actors : Part[0..*] :> parts {
|
|
32
|
+
doc
|
|
33
|
+
/*
|
|
34
|
+
* The Parts that fill the role of actors for this Case.
|
|
35
|
+
* (Note: This is not itself an actor parameter, because specific actor
|
|
36
|
+
* parameters will be added for specific Cases.)
|
|
37
|
+
*/
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
objective obj : RequirementCheck[1] {
|
|
41
|
+
doc
|
|
42
|
+
/*
|
|
43
|
+
* A check of whether the objective RequirementUsage was satisfied for this Case.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
subject subj default Case::result;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return ref result[0..*] {
|
|
50
|
+
doc
|
|
51
|
+
/*
|
|
52
|
+
* The result determined by the case, which should satisfy the case objective.
|
|
53
|
+
*/
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
abstract case subcases : Case[0..*] :> cases, subcalculations {
|
|
57
|
+
doc
|
|
58
|
+
/*
|
|
59
|
+
* Other Cases carried out as part of the performance of this Case.
|
|
60
|
+
*/
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
abstract case cases : Case[0..*] nonunique :> calculations {
|
|
66
|
+
doc
|
|
67
|
+
/*
|
|
68
|
+
* cases is the base Feature of all CaseUsages.
|
|
69
|
+
*/
|
|
70
|
+
}
|
|
71
71
|
}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
standard library package Connections {
|
|
2
|
-
doc
|
|
3
|
-
/*
|
|
4
|
-
* This package defines the base types for connections and related structural elements
|
|
5
|
-
* in the SysML language.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
private import Base::Anything;
|
|
9
|
-
private import Occurrences::Occurrence;
|
|
10
|
-
private import Occurrences::HappensDuring;
|
|
11
|
-
private import Objects::LinkObject;
|
|
12
|
-
private import Objects::linkObjects;
|
|
13
|
-
private import Objects::BinaryLinkObject;
|
|
14
|
-
private import Objects::binaryLinkObjects;
|
|
15
|
-
private import Transfers::Transfer;
|
|
16
|
-
private import Transfers::transfers;
|
|
17
|
-
private import Transfers::FlowTransfer;
|
|
18
|
-
private import Transfers::flowTransfers;
|
|
19
|
-
private import Transfers::FlowTransferBefore;
|
|
20
|
-
private import Transfers::flowTransfersBefore;
|
|
21
|
-
private import ScalarValues::Natural;
|
|
22
|
-
private import Parts::Part;
|
|
23
|
-
private import Parts::parts;
|
|
24
|
-
private import Actions::Action;
|
|
25
|
-
private import Actions::actions;
|
|
26
|
-
|
|
27
|
-
abstract connection def Connection :> LinkObject, Part {
|
|
28
|
-
doc
|
|
29
|
-
/*
|
|
30
|
-
* Connection is the most general class of links between things within some
|
|
31
|
-
* containing structure. Connection is the base type of all ConnectionDefinitions.
|
|
32
|
-
*/
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
abstract connection def BinaryConnection :> BinaryLinkObject, Connection {
|
|
36
|
-
doc
|
|
37
|
-
/*
|
|
38
|
-
* BinaryConnection is the most general class of binary links between two things
|
|
39
|
-
* within some containing structure. BinaryConnection is the base type of all
|
|
40
|
-
* ConnectionDefinitions with exactly two ends.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
end source: Anything :>> BinaryLinkObject::source;
|
|
44
|
-
end target: Anything :>> BinaryLinkObject::target;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
abstract connection connections: Connection[0..*] nonunique :> linkObjects, parts {
|
|
48
|
-
doc
|
|
49
|
-
/*
|
|
50
|
-
* connections is the base feature of all ConnectionUsages.
|
|
51
|
-
*/
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
abstract connection binaryConnections: Connection[0..*] nonunique :> connections, binaryLinkObjects {
|
|
55
|
-
doc
|
|
56
|
-
/*
|
|
57
|
-
* binaryConnections is the base feature of all binary ConnectionUsages.
|
|
58
|
-
*/
|
|
59
|
-
}
|
|
1
|
+
standard library package Connections {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package defines the base types for connections and related structural elements
|
|
5
|
+
* in the SysML language.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
private import Base::Anything;
|
|
9
|
+
private import Occurrences::Occurrence;
|
|
10
|
+
private import Occurrences::HappensDuring;
|
|
11
|
+
private import Objects::LinkObject;
|
|
12
|
+
private import Objects::linkObjects;
|
|
13
|
+
private import Objects::BinaryLinkObject;
|
|
14
|
+
private import Objects::binaryLinkObjects;
|
|
15
|
+
private import Transfers::Transfer;
|
|
16
|
+
private import Transfers::transfers;
|
|
17
|
+
private import Transfers::FlowTransfer;
|
|
18
|
+
private import Transfers::flowTransfers;
|
|
19
|
+
private import Transfers::FlowTransferBefore;
|
|
20
|
+
private import Transfers::flowTransfersBefore;
|
|
21
|
+
private import ScalarValues::Natural;
|
|
22
|
+
private import Parts::Part;
|
|
23
|
+
private import Parts::parts;
|
|
24
|
+
private import Actions::Action;
|
|
25
|
+
private import Actions::actions;
|
|
26
|
+
|
|
27
|
+
abstract connection def Connection :> LinkObject, Part {
|
|
28
|
+
doc
|
|
29
|
+
/*
|
|
30
|
+
* Connection is the most general class of links between things within some
|
|
31
|
+
* containing structure. Connection is the base type of all ConnectionDefinitions.
|
|
32
|
+
*/
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
abstract connection def BinaryConnection :> BinaryLinkObject, Connection {
|
|
36
|
+
doc
|
|
37
|
+
/*
|
|
38
|
+
* BinaryConnection is the most general class of binary links between two things
|
|
39
|
+
* within some containing structure. BinaryConnection is the base type of all
|
|
40
|
+
* ConnectionDefinitions with exactly two ends.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
end source: Anything :>> BinaryLinkObject::source;
|
|
44
|
+
end target: Anything :>> BinaryLinkObject::target;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
abstract connection connections: Connection[0..*] nonunique :> linkObjects, parts {
|
|
48
|
+
doc
|
|
49
|
+
/*
|
|
50
|
+
* connections is the base feature of all ConnectionUsages.
|
|
51
|
+
*/
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
abstract connection binaryConnections: Connection[0..*] nonunique :> connections, binaryLinkObjects {
|
|
55
|
+
doc
|
|
56
|
+
/*
|
|
57
|
+
* binaryConnections is the base feature of all binary ConnectionUsages.
|
|
58
|
+
*/
|
|
59
|
+
}
|
|
60
60
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
standard library package Constraints {
|
|
2
|
-
doc
|
|
3
|
-
/*
|
|
4
|
-
* This package defines the base types for constraints and related elements in the
|
|
5
|
-
* SysML language.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
private import Performances::BooleanEvaluation;
|
|
9
|
-
private import Performances::booleanEvaluations;
|
|
10
|
-
private import Performances::trueEvaluations;
|
|
11
|
-
private import Performances::falseEvaluations;
|
|
12
|
-
|
|
13
|
-
abstract constraint def ConstraintCheck :> BooleanEvaluation {
|
|
14
|
-
doc
|
|
15
|
-
/*
|
|
16
|
-
* ConstraintCheck is the most general class for constraint checking. ConstraintCheck is the base
|
|
17
|
-
* type of all ConstraintDefinitions.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
ref constraint self: ConstraintCheck :>> BooleanEvaluation::self;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
abstract constraint constraintChecks: ConstraintCheck[0..*] nonunique :> booleanEvaluations {
|
|
24
|
-
doc
|
|
25
|
-
/*
|
|
26
|
-
* constraintChecks is the base feature of all ConstraintUsages.
|
|
27
|
-
*/
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
abstract constraint assertedConstraintChecks :> constraintChecks, trueEvaluations {
|
|
31
|
-
doc
|
|
32
|
-
/*
|
|
33
|
-
* assertedConstraintChecks is the subset of constraintChecks for ConstraintChecks asserted to be true.
|
|
34
|
-
*/
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
abstract constraint negatedConstraintChecks :> constraintChecks, falseEvaluations {
|
|
38
|
-
doc
|
|
39
|
-
/*
|
|
40
|
-
* negatedConstraintChecks is the subset of constraintChecks for ConstraintChecks asserted to be false.
|
|
41
|
-
*/
|
|
42
|
-
}
|
|
43
|
-
|
|
1
|
+
standard library package Constraints {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package defines the base types for constraints and related elements in the
|
|
5
|
+
* SysML language.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
private import Performances::BooleanEvaluation;
|
|
9
|
+
private import Performances::booleanEvaluations;
|
|
10
|
+
private import Performances::trueEvaluations;
|
|
11
|
+
private import Performances::falseEvaluations;
|
|
12
|
+
|
|
13
|
+
abstract constraint def ConstraintCheck :> BooleanEvaluation {
|
|
14
|
+
doc
|
|
15
|
+
/*
|
|
16
|
+
* ConstraintCheck is the most general class for constraint checking. ConstraintCheck is the base
|
|
17
|
+
* type of all ConstraintDefinitions.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
ref constraint self: ConstraintCheck :>> BooleanEvaluation::self;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
abstract constraint constraintChecks: ConstraintCheck[0..*] nonunique :> booleanEvaluations {
|
|
24
|
+
doc
|
|
25
|
+
/*
|
|
26
|
+
* constraintChecks is the base feature of all ConstraintUsages.
|
|
27
|
+
*/
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
abstract constraint assertedConstraintChecks :> constraintChecks, trueEvaluations {
|
|
31
|
+
doc
|
|
32
|
+
/*
|
|
33
|
+
* assertedConstraintChecks is the subset of constraintChecks for ConstraintChecks asserted to be true.
|
|
34
|
+
*/
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
abstract constraint negatedConstraintChecks :> constraintChecks, falseEvaluations {
|
|
38
|
+
doc
|
|
39
|
+
/*
|
|
40
|
+
* negatedConstraintChecks is the subset of constraintChecks for ConstraintChecks asserted to be false.
|
|
41
|
+
*/
|
|
42
|
+
}
|
|
43
|
+
|
|
44
44
|
}
|