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
Fields Modifier and Type Field Description static java.lang.String
RECORDACTIVATION
to specify if the simulation log will record elements that are activated during simulation.static java.lang.String
RECORDCALLS
to specify if the simulation log will record Operations or Behaviors that are called during simulation.static java.lang.String
RECORDCONSTRAINTFAILURES
to specify whether the simulation log will record an element whose runtime value or object fails the constraint applied on it.static java.lang.String
RECORDEDVALUES
to specify the property whose value will be recorded to the simulation log.static java.lang.String
RECORDSIGNALS
to specify whether the simulation log will record sent signals during simulation.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimulationLogStereotype(SimulationProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
RECORDACTIVATION
public static final java.lang.String 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:
- Constant Field Values
-
RECORDCALLS
public static final java.lang.String 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:
- Constant Field Values
-
RECORDCONSTRAINTFAILURES
public static final java.lang.String 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:
- Constant Field Values
-
RECORDSIGNALS
public static final java.lang.String 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:
- Constant Field Values
-
RECORDEDVALUES
public static final java.lang.String RECORDEDVALUES
to specify the property whose value will be recorded to the simulation log.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SimulationLogStereotype
protected SimulationLogStereotype(SimulationProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getRecordActivationProperty
@CheckForNull public Property getRecordActivationProperty()
-
getRecordCallsProperty
@CheckForNull public Property getRecordCallsProperty()
-
getRecordConstraintFailuresProperty
@CheckForNull public Property getRecordConstraintFailuresProperty()
-
getRecordSignalsProperty
@CheckForNull public Property getRecordSignalsProperty()
-
getRecordedValuesProperty
@CheckForNull public Property getRecordedValuesProperty()
-
setRecordActivation
public void setRecordActivation(Element element, @CheckForNull java.lang.Boolean value)
-
clearRecordActivation
public void clearRecordActivation(Element element)
-
isRecordActivation
@CheckForNull public java.lang.Boolean isRecordActivation(Element element)
-
setRecordCalls
public void setRecordCalls(Element element, @CheckForNull java.lang.Boolean value)
-
clearRecordCalls
public void clearRecordCalls(Element element)
-
isRecordCalls
@CheckForNull public java.lang.Boolean isRecordCalls(Element element)
-
setRecordConstraintFailures
public void setRecordConstraintFailures(Element element, @CheckForNull java.lang.Boolean value)
-
clearRecordConstraintFailures
public void clearRecordConstraintFailures(Element element)
-
isRecordConstraintFailures
@CheckForNull public java.lang.Boolean isRecordConstraintFailures(Element element)
-
setRecordSignals
public void setRecordSignals(Element element, @CheckForNull java.lang.Boolean value)
-
clearRecordSignals
public void clearRecordSignals(Element element)
-
isRecordSignals
@CheckForNull public java.lang.Boolean isRecordSignals(Element element)
-
setRecordedValues
public void setRecordedValues(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearRecordedValues
public void clearRecordedValues(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-