Package com.nomagic.magicdraw.simulation
Class SimulationProfile.HistogramStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.simulation.SimulationProfile.HistogramStereotype
- Enclosing class:
- SimulationProfile
public static class SimulationProfile.HistogramStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAnnotate requirement and constraint failures on charts in red.static final StringIf set to true, the histogram opens during multiple runs showing dynamic results.static final StringTo specify whether a time series chart will automatically adjust the range in Y-axis.static final StringSpecify the fixed range to the time axis of the chart.static final StringSpecify the starting time of the time axis shown in the chart.static final StringTo show or hide a vertical grid line.static final StringTo show or hide a horizontal grid line.static final StringIf true, the chart will keep open after termination of the simulation.static final StringIf true, a curvilinear graph will be displayed.static final StringA loaded CSV file that the Time Series Chart will load as a curved line graph.static final StringTo specify an upper bound value of Y-axis.static final StringTo specify a lower bound value of Y-axis.static final StringSpecify nested property pathsstatic final StringSpecify the number of data bins in which the results are distributed.static final StringTo specify a plot color.static final StringResults shall be saved to a file as a selected format, if Result File is specified.static final StringSpecify the time intervals at which the histogram chart should be refreshed.static final StringSpecify the classifier represented by the configuration.static final StringIf Result File is specified, results shall be saved to the file as a selected format in "Record Plot Data As" option.static final StringSpecify the implementation class for the UI component.static final Stringstatic final StringTo specify the title of a chart.static final StringStructural feature which value should be represented for the configuration.static final StringSpecify the label of x-axis of the chart.static final StringSpecify the label of y-axis of the chart. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLoadCSVFile(Element element, String value) voidaddNestedPropertyPaths(Element element, String value) voidaddPlotColor(Element element, String value) voidprotected voidclear()voidclearAnnotateFailures(Element element) voidclearDynamic(Element element) voidclearFixedRange(Element element) voidclearFixedTimeLength(Element element) voidclearFixedTimeLocation(Element element) voidclearGridX(Element element) voidclearGridY(Element element) voidclearKeepOpenAfterTermination(Element element) voidclearLinearInterpolation(Element element) voidclearLoadCSVFile(Element element) voidclearMaxValue(Element element) voidclearMinValue(Element element) voidclearNestedPropertyPaths(Element element) voidclearNumberOfBins(Element element) voidclearPlotColor(Element element) voidclearRecordPlotDataAs(Element element) voidclearRefreshRate(Element element) voidclearRepresents(Element element) voidclearResultFile(Element element) voidclearSource(Element element) voidclearTitle(Element element) voidclearValue(Element element) voidclearXLabel(Element element) voidclearYLabel(Element element) getFixedTimeLength(Element element) getFixedTimeLocation(Element element) getLoadCSVFile(Element element) getMaxValue(Element element) getMinValue(Element element) getNestedPropertyPaths(Element element) getNumberOfBins(Element element) getPlotColor(Element element) getRecordPlotDataAs(Element element) getRefreshRate(Element element) getRepresents(Element element) getResultFile(Element element) Returns stereotype for this wrapper.booleanisAnnotateFailures(Element element) isFixedRange(Element element) static booleanisInstance(Element element) isKeepOpenAfterTermination(Element element) isLinearInterpolation(Element element) voidremoveLoadCSVFile(Element element, String value) voidremoveNestedPropertyPaths(Element element, String value) voidremovePlotColor(Element element, String value) voidremoveValue(Element element, Element value) voidsetAnnotateFailures(Element element, Boolean value) voidsetDynamic(Element element, Boolean value) voidsetFixedRange(Element element, Boolean value) voidsetFixedTimeLength(Element element, Integer value) voidsetFixedTimeLocation(Element element, Integer value) voidvoidvoidsetKeepOpenAfterTermination(Element element, Boolean value) voidsetLinearInterpolation(Element element, Boolean value) voidsetLoadCSVFile(Element element, Collection<String> value) voidsetMaxValue(Element element, String value) voidsetMinValue(Element element, String value) voidsetNestedPropertyPaths(Element element, Collection<String> value) voidsetNumberOfBins(Element element, Integer value) voidsetPlotColor(Element element, Collection<String> value) voidsetRecordPlotDataAs(Element element, SimulationProfile.DataRecordTypeEnum value) voidsetRefreshRate(Element element, Integer value) voidsetRepresents(Element element, Element value) voidsetResultFile(Element element, String value) voidvoidvoidsetValue(Element element, Collection<? extends Element> value) voidvoidMethods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
DYNAMIC
If set to true, the histogram opens during multiple runs showing dynamic results. If set to false and the 'Result File' property is not specified, the histogram opens after all runs are completed.- See Also:
-
FIXEDRANGE
To specify whether a time series chart will automatically adjust the range in Y-axis. If the value is true, the range of Y-axis will be fixed; otherwise the range will be automatically changed.- See Also:
-
MAXVALUE
To specify an upper bound value of Y-axis.- See Also:
-
MINVALUE
To specify a lower bound value of Y-axis.- See Also:
-
NUMBEROFBINS
Specify the number of data bins in which the results are distributed. Otherwise, the number of bins is dynamic, depending on the number of samples.- See Also:
-
REFRESHRATE
Specify the time intervals at which the histogram chart should be refreshed. The unit of the refresh rate is the same as the Time Unit property value of the Simulation Configuration. If the time unit is not specified, the refresh rate is measured in milliseconds. Specify 0 to refresh the chart every time the value is changed.- See Also:
-
SOURCE
Specify the implementation class for the UI component. It must be a Java class that implements the com.nomagic.magicdraw.simulation.uiprototype.Mockup interface.- See Also:
-
XLABEL
Specify the label of x-axis of the chart.- See Also:
-
ANNOTATEFAILURES
Annotate requirement and constraint failures on charts in red.- See Also:
-
FIXEDTIMELENGTH
Specify the fixed range to the time axis of the chart. If the value is specified, the range of the time axis will be fixed to the specified value. If the value of Fixed Time Location is unspecified, the plot(s) will move to the left if the time is greater than the maximum value of the time axis. The unit of fixed time length is specified by time unit tag definition of the execution config. If the time unit is unspecified, millisecond will be by default.- See Also:
-
FIXEDTIMELOCATION
Specify the starting time of the time axis shown in the chart. If the value is unspecified while the value of Fixed Time Length is specified, the chart will work like an oscilloscope. The plot(s) will move to the left. The unit of fixed time location is specified by time unit tag definition of the execution config. If the time unit is unspecified, millisecond will be by default.- See Also:
-
GRIDX
To show or hide a vertical grid line.- See Also:
-
GRIDY
To show or hide a horizontal grid line.- See Also:
-
KEEPOPENAFTERTERMINATION
If true, the chart will keep open after termination of the simulation.- See Also:
-
LINEARINTERPOLATION
If true, a curvilinear graph will be displayed. If false, a linear graph will be displayed.- See Also:
-
LOADCSVFILE
A loaded CSV file that the Time Series Chart will load as a curved line graph. You can import multiple CSV files into the Time Series Chart and load them as curved line graphs. They will be represented with different colors and legend names (same as the filename extension) so that you can compare the differences between the actual results and the desired line graphs.- See Also:
-
PLOTCOLOR
To specify a plot color.- See Also:
-
RECORDPLOTDATAAS
Results shall be saved to a file as a selected format, if Result File is specified.- See Also:
-
RESULTFILE
If Result File is specified, results shall be saved to the file as a selected format in "Record Plot Data As" option. Otherwise, results shall be saved into the results model element.- See Also:
-
TITLE
To specify the title of a chart.- See Also:
-
YLABEL
Specify the label of y-axis of the chart.- 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
-
HistogramStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getDynamicProperty
-
getFixedRangeProperty
-
getMaxValueProperty
-
getMinValueProperty
-
getNumberOfBinsProperty
-
getRefreshRateProperty
-
getSourceProperty
-
getXLabelProperty
-
getAnnotateFailuresProperty
-
getFixedTimeLengthProperty
-
getFixedTimeLocationProperty
-
getGridXProperty
-
getGridYProperty
-
getKeepOpenAfterTerminationProperty
-
getLinearInterpolationProperty
-
getLoadCSVFileProperty
-
getPlotColorProperty
-
getRecordPlotDataAsProperty
-
getResultFileProperty
-
getTitleProperty
-
getYLabelProperty
-
getNestedPropertyPathsProperty
-
getRepresentsProperty
-
getValueProperty
-
setDynamic
-
clearDynamic
-
isDynamic
-
setFixedRange
-
clearFixedRange
-
isFixedRange
-
setMaxValue
-
clearMaxValue
-
getMaxValue
-
setMinValue
-
clearMinValue
-
getMinValue
-
setNumberOfBins
-
clearNumberOfBins
-
getNumberOfBins
-
setRefreshRate
-
clearRefreshRate
-
getRefreshRate
-
setSource
-
clearSource
-
getSource
-
setXLabel
-
clearXLabel
-
getXLabel
-
setAnnotateFailures
-
clearAnnotateFailures
-
isAnnotateFailures
-
setFixedTimeLength
-
clearFixedTimeLength
-
getFixedTimeLength
-
setFixedTimeLocation
-
clearFixedTimeLocation
-
getFixedTimeLocation
-
setGridX
-
clearGridX
-
isGridX
-
setGridY
-
clearGridY
-
isGridY
-
setKeepOpenAfterTermination
-
clearKeepOpenAfterTermination
-
isKeepOpenAfterTermination
-
setLinearInterpolation
-
clearLinearInterpolation
-
isLinearInterpolation
-
setLoadCSVFile
-
clearLoadCSVFile
-
addLoadCSVFile
-
removeLoadCSVFile
-
getLoadCSVFile
-
setPlotColor
-
clearPlotColor
-
addPlotColor
-
removePlotColor
-
getPlotColor
-
setRecordPlotDataAs
public void setRecordPlotDataAs(Element element, @CheckForNull SimulationProfile.DataRecordTypeEnum value) -
clearRecordPlotDataAs
-
getRecordPlotDataAs
-
setResultFile
-
clearResultFile
-
getResultFile
-
setTitle
-
clearTitle
-
getTitle
-
setYLabel
-
clearYLabel
-
getYLabel
-
setNestedPropertyPaths
-
clearNestedPropertyPaths
-
addNestedPropertyPaths
-
removeNestedPropertyPaths
-
getNestedPropertyPaths
-
setRepresents
-
clearRepresents
-
getRepresents
-
setValue
-
clearValue
-
addValue
-
removeValue
-
getValue
-
clear
protected void clear() -
is
-
isInstance
-