Package com.nomagic.magicdraw.simulation
Class SimulationProfile.SimulationLogStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.simulation.SimulationProfile.SimulationLogStereotype
- Enclosing class:
- SimulationProfile
public static class SimulationProfile.SimulationLogStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringto specify if the simulation log will record elements that are activated during simulation.static final Stringto specify if the simulation log will record Operations or Behaviors that are called during simulation.static final Stringto specify whether the simulation log will record an element whose runtime value or object fails the constraint applied on it.static final Stringto specify the property whose value will be recorded to the simulation log.static final Stringto specify whether the simulation log will record sent signals during simulation.static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecordedValues(Element element, Element value) protected voidclear()voidclearRecordActivation(Element element) voidclearRecordCalls(Element element) voidclearRecordConstraintFailures(Element element) voidclearRecordedValues(Element element) voidclearRecordSignals(Element element) getRecordedValues(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) isRecordActivation(Element element) isRecordCalls(Element element) isRecordConstraintFailures(Element element) isRecordSignals(Element element) voidremoveRecordedValues(Element element, Element value) voidsetRecordActivation(Element element, Boolean value) voidsetRecordCalls(Element element, Boolean value) voidsetRecordConstraintFailures(Element element, Boolean value) voidsetRecordedValues(Element element, Collection<? extends Element> value) voidsetRecordSignals(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
RECORDACTIVATION
to specify if the simulation log will record elements that are activated during simulation. If the value is true, all of the activated elements will be recorded.- See Also:
-
RECORDCALLS
to specify if the simulation log will record Operations or Behaviors that are called during simulation. If the value is true, all of the called Operation and called Behaviors will be recorded.- See Also:
-
RECORDCONSTRAINTFAILURES
to specify whether the simulation log will record an element whose runtime value or object fails the constraint applied on it. If the value is true, the element that causes the constraint failure will be recorded.- See Also:
-
RECORDSIGNALS
to specify whether the simulation log will record sent signals during simulation. If the value is true, all of the sent signals will be recorded.- See Also:
-
RECORDEDVALUES
to specify the property whose value will be recorded to the simulation log.- See Also:
-
-
Constructor Details
-
SimulationLogStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getRecordActivationProperty
-
getRecordCallsProperty
-
getRecordConstraintFailuresProperty
-
getRecordSignalsProperty
-
getRecordedValuesProperty
-
setRecordActivation
-
clearRecordActivation
-
isRecordActivation
-
setRecordCalls
-
clearRecordCalls
-
isRecordCalls
-
setRecordConstraintFailures
-
clearRecordConstraintFailures
-
isRecordConstraintFailures
-
setRecordSignals
-
clearRecordSignals
-
isRecordSignals
-
setRecordedValues
-
clearRecordedValues
-
addRecordedValues
-
removeRecordedValues
-
getRecordedValues
-
clear
protected void clear() -
is
-
isInstance
-