Download src/sysml.library/Systems Library/Cases.sysml from sysmlv2research/source_raw: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/datasets/sysmlv2research/source_raw/resolve/main/src/sysml.library/Systems%20Library/Cases.sysml
- Command line
-
hf download 'hf://datasets/sysmlv2research/source_raw/src/sysml.library/Systems Library/Cases.sysml'
-
curl -L -o Cases.sysml https://huggingface.co/datasets/sysmlv2research/source_raw/resolve/main/src/sysml.library/Systems%20Library/Cases.sysml
1.62 kB
| standard library package Cases { | |
| doc | |
| /* | |
| * This package defines the base types for cases and related behavioral elements | |
| * in the SysML language. | |
| */ | |
| private import Base::Anything; | |
| private import Requirements::RequirementCheck; | |
| private import Calculations::Calculation; | |
| private import Calculations::calculations; | |
| private import Parts::Part; | |
| private import Parts::parts; | |
| abstract case def Case :> Calculation { | |
| doc | |
| /* | |
| * Case is the most general class of performances of CaseDefinitions. | |
| * Case is the base class of all CaseDefinitions. | |
| */ | |
| ref case self : Case :>> Calculation::self; | |
| subject subj : Anything[1] { | |
| doc | |
| /* | |
| * The subject that was investigated by this Case. | |
| */ | |
| } | |
| ref part actors : Part[0..*] :> parts { | |
| doc | |
| /* | |
| * The Parts that fill the role of actors for this Case. | |
| * (Note: This is not itself an actor parameter, because specific actor | |
| * parameters will be added for specific Cases.) | |
| */ | |
| } | |
| objective obj : RequirementCheck[1] { | |
| doc | |
| /* | |
| * A check of whether the objective RequirementUsage was satisfied for this Case. | |
| */ | |
| subject subj default Case::result; | |
| } | |
| return ref result[0..*] { | |
| doc | |
| /* | |
| * The result determined by the case, which should satisfy the case objective. | |
| */ | |
| } | |
| abstract case subcases : Case[0..*] :> cases, subcalculations { | |
| doc | |
| /* | |
| * Other Cases carried out as part of the performance of this Case. | |
| */ | |
| } | |
| } | |
| abstract case cases : Case[0..*] nonunique :> calculations { | |
| doc | |
| /* | |
| * cases is the base Feature of all CaseUsages. | |
| */ | |
| } | |
| } |