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
Modifier and TypeFieldDescriptionstatic final String
The name of the file that the exported results are written into.static final String
Specify nested property pathsstatic final String
If true, time will be recorded in the first column of the exported CSV file.static final String
Specify the classifier represented by the configuration.static final String
static final String
Structural feature which value should be represented for the configuration.static final String
Instead of listening and recording value changes during individual execution, records values only once at the end of execution, right before termination. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNestedPropertyPaths
(Element element, String value) void
protected void
clear()
void
clearFileName
(Element element) void
clearNestedPropertyPaths
(Element element) void
clearRecordTime
(Element element) void
clearRepresents
(Element element) void
clearValue
(Element element) void
clearWriteAtTheEnd
(Element element) getFileName
(Element element) getNestedPropertyPaths
(Element element) getRepresents
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) isRecordTime
(Element element) isWriteAtTheEnd
(Element element) void
removeNestedPropertyPaths
(Element element, String value) void
removeValue
(Element element, Element value) void
setFileName
(Element element, String value) void
setNestedPropertyPaths
(Element element, Collection<String> value) void
setRecordTime
(Element element, Boolean value) void
setRepresents
(Element element, Element value) void
setValue
(Element element, Collection<? extends Element> value) void
setWriteAtTheEnd
(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:
-
-
Constructor Details
-
CSVExportStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getFileNameProperty
-
getRecordTimeProperty
-
getWriteAtTheEndProperty
-
getNestedPropertyPathsProperty
-
getRepresentsProperty
-
getValueProperty
-
setFileName
-
clearFileName
-
getFileName
-
setRecordTime
-
clearRecordTime
-
isRecordTime
-
setWriteAtTheEnd
-
clearWriteAtTheEnd
-
isWriteAtTheEnd
-
setNestedPropertyPaths
-
clearNestedPropertyPaths
-
addNestedPropertyPaths
-
removeNestedPropertyPaths
-
getNestedPropertyPaths
-
setRepresents
-
clearRepresents
-
getRepresents
-
setValue
-
clearValue
-
addValue
-
removeValue
-
getValue
-
clear
protected void clear() -
is
-
isInstance
-