Stereotypes
A stereotype, like a block, defines a type of thing, but in a "meta" sense. Instead of conveying information about what is being modeled like blocks do, stereotypes convey information about the model itself. For example, they can indicate how the model is configured or how it should be processed. You can apply stereotypes to many SysML elements like packages, classes, and blocks, but they are typically applied to instance specifications. Instance specification stereotypes in particular can have tag definitions that function like properties on blocks. In the same way that properties define slots on instance specifications, these tag definitions define tags on instance specifications that apply the stereotype. Moxie also allows you to create custom stereotypes backed by delegate implementations.
Included stereotypes
Moxie includes stereotypes both to allow you to configure simulations through simulation instance specifications and to help you develop your delegates more conveniently.
From Moxie's core model libraries:
Stereotype | Applies to... | Description |
---|---|---|
MoxieSimulation
|
simulation instance specifications | Enables you to specify options to use when running a simulation, like the simulated start time. |
MoxieDelegateModulePaths
|
simulation instance specifications | Enables you to specify which delegate modules to load for a simulation instead of having Moxie load all of the modules in your delegate module home directory. |
MoxieStochasticSettings
|
simulation instance specifications | Enables you to specify a seed value for pseudo-random number generation in a simulation. |
MoxieJavaDelegate
|
instance specifications | Enables you to specify which delegate implementation to use for an instance specification. |
CodeGenerationJavaPackage
|
packages, classes, or blocks | Enables you to specify the Java package name to use for an element and all of its children during code generation. |
MoxieExcludeFromAllCodeGeneration
|
packages, classes, or blocks | Excludes an element and all of its children from all Java code generation. |
MoxieExcludeFromClassGeneration
|
packages, classes, or blocks | Excludes an element and all of its children from Java class stub generation, but not from Java interface generation. |
From Moxie's analysis tool model libraries:
Stereotype | Applies to... | Description |
---|---|---|
MoxieStkScenarioFromFile
|
simulation instance specifications | Launches STK and opens an STK scenario file or VDF when you run a simulation. |
MoxieStkNewScenario
|
simulation instance specifications | Launches STK and creates a new STK scenario when you run a simulation. |
MoxieStkExistingProcess
|
simulation instance specifications | Attaches to an already-open STK instance and scenario when you run a simulation. |
MoxieStkExistingObject
|
instance specifications | Enables you to specify the STK object to use for an instance specification. |
MoxieStkFixedStepSampling
|
instance specifications | Enables you to specify the sampling configuration to use for STK calculations for an instance specification's STK object. |