Package com.nomagic.magicdraw.simulation
Class SimulationProfile.CSVExportStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.simulation.SimulationProfile.CSVExportStereotype
- Enclosing class:
- SimulationProfile
public static class SimulationProfile.CSVExportStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the file that the exported results are written into.static final StringSet to true, for the CSV results file to be automatically loaded to the Results Player after the simulation terminates.static final StringSpecify nested property pathsstatic final StringIf true, time will be recorded in the first column of the exported CSV file.static final StringSpecify the classifier represented by the configuration.static final Stringstatic final StringStructural feature which value should be represented for the configuration.static final StringInstead of listening and recording value changes during individual execution, records values only once at the end of execution, right before termination. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNestedPropertyPaths(Element element, String value) voidprotected voidclear()voidclearFileName(Element element) voidclearLoadInPlayer(Element element) voidclearNestedPropertyPaths(Element element) voidclearRecordTime(Element element) voidclearRepresents(Element element) voidclearValue(Element element) voidclearWriteAtTheEnd(Element element) getFileName(Element element) getNestedPropertyPaths(Element element) getRepresents(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) isLoadInPlayer(Element element) isRecordTime(Element element) isWriteAtTheEnd(Element element) voidremoveNestedPropertyPaths(Element element, String value) voidremoveValue(Element element, Element value) voidsetFileName(Element element, String value) voidsetLoadInPlayer(Element element, Boolean value) voidsetNestedPropertyPaths(Element element, Collection<String> value) voidsetRecordTime(Element element, Boolean value) voidsetRepresents(Element element, Element value) voidsetValue(Element element, Collection<? extends Element> value) voidsetWriteAtTheEnd(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
FILENAME
The name of the file that the exported results are written into. The path is the same as the project directory (by default). Alternatively, a full path may be specified as D:\ExportedCSVResults.csv.- See Also:
-
RECORDTIME
If true, time will be recorded in the first column of the exported CSV file.- See Also:
-
WRITEATTHEEND
Instead of listening and recording value changes during individual execution, records values only once at the end of execution, right before termination. When "Number of runs" is more than 1 in main configuration, records values once on every iteration.- See Also:
-
NESTEDPROPERTYPATHS
Specify nested property paths- See Also:
-
REPRESENTS
Specify the classifier represented by the configuration.- See Also:
-
VALUE
Structural feature which value should be represented for the configuration.- See Also:
-
LOADINPLAYER
Set to true, for the CSV results file to be automatically loaded to the Results Player after the simulation terminates. This property does not apply to multi-run simulations (e.g., Trade Study, Monte Carlo) and works only with the internal simulation clock.- See Also:
-
-
Constructor Details
-
CSVExportStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getFileNameProperty
-
getRecordTimeProperty
-
getWriteAtTheEndProperty
-
getLoadInPlayerProperty
-
getNestedPropertyPathsProperty
-
getRepresentsProperty
-
getValueProperty
-
setFileName
-
clearFileName
-
getFileName
-
setRecordTime
-
clearRecordTime
-
isRecordTime
-
setWriteAtTheEnd
-
clearWriteAtTheEnd
-
setLoadInPlayer
-
clearLoadInPlayer
-
isLoadInPlayer
-
isWriteAtTheEnd
-
setNestedPropertyPaths
-
clearNestedPropertyPaths
-
addNestedPropertyPaths
-
removeNestedPropertyPaths
-
getNestedPropertyPaths
-
setRepresents
-
clearRepresents
-
getRepresents
-
setValue
-
clearValue
-
addValue
-
removeValue
-
getValue
-
clear
protected void clear() -
is
-
isInstance
-