Package com.nomagic.magicdraw.simulation
Class SimulationProfile.RuntimeValueStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.simulation.SimulationProfile.RuntimeValueStereotype
-
- Enclosing class:
- SimulationProfile
public static class SimulationProfile.RuntimeValueStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TIMESTAMP
static java.lang.String
VALUE
-
Constructor Summary
Constructors Modifier Constructor Description protected
RuntimeValueStereotype(SimulationProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(Element element, java.lang.String value)
protected void
clear()
void
clearElement(Element element)
void
clearTimestamp(Element element)
void
clearValue(Element element)
Element
getElement(Element element)
Property
getElementProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getTimestamp(Element element)
Property
getTimestampProperty()
java.util.List<java.lang.String>
getValue(Element element)
Property
getValueProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeValue(Element element, java.lang.String value)
void
setElement(Element element, Element value)
void
setTimestamp(Element element, java.lang.String value)
void
setValue(Element element, java.util.Collection<java.lang.String> value)
-
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
-
VALUE
public static final java.lang.String VALUE
- See Also:
- Constant Field Values
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
TIMESTAMP
public static final java.lang.String TIMESTAMP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RuntimeValueStereotype
protected RuntimeValueStereotype(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
-
getValueProperty
@CheckForNull public Property getValueProperty()
-
getElementProperty
@CheckForNull public Property getElementProperty()
-
getTimestampProperty
@CheckForNull public Property getTimestampProperty()
-
setValue
public void setValue(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearValue
public void clearValue(Element element)
-
addValue
public void addValue(Element element, java.lang.String value)
-
removeValue
public void removeValue(Element element, java.lang.String value)
-
getValue
public java.util.List<java.lang.String> getValue(Element element)
-
clearElement
public void clearElement(Element element)
-
setTimestamp
public void setTimestamp(Element element, @CheckForNull java.lang.String value)
-
clearTimestamp
public void clearTimestamp(Element element)
-
getTimestamp
@CheckForNull public java.lang.String getTimestamp(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-