Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.NormalStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.NormalStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.NormalStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile
_p
private Property
mean
static java.lang.String
MEAN
private Property
standardDeviation
static java.lang.String
STANDARDDEVIATION
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
NormalStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearMean(Element element)
void
clearStandardDeviation(Element element)
java.lang.Double
getMean(Element element)
Property
getMeanProperty()
java.lang.Double
getStandardDeviation(Element element)
Property
getStandardDeviationProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setMean(Element element, java.lang.Double value)
void
setStandardDeviation(Element element, java.lang.Double value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
MEAN
public static final java.lang.String MEAN
- See Also:
- Constant Field Values
-
STANDARDDEVIATION
public static final java.lang.String STANDARDDEVIATION
- See Also:
- Constant Field Values
-
_p
private final SysMLProfile _p
-
mean
@CheckForNull private Property mean
-
standardDeviation
@CheckForNull private Property standardDeviation
-
-
Constructor Detail
-
NormalStereotype
protected NormalStereotype(SysMLProfile 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
-
getMeanProperty
@CheckForNull public Property getMeanProperty()
-
getStandardDeviationProperty
@CheckForNull public Property getStandardDeviationProperty()
-
setMean
public void setMean(Element element, @CheckForNull java.lang.Double value)
-
clearMean
public void clearMean(Element element)
-
getMean
@CheckForNull public java.lang.Double getMean(Element element)
-
setStandardDeviation
public void setStandardDeviation(Element element, @CheckForNull java.lang.Double value)
-
clearStandardDeviation
public void clearStandardDeviation(Element element)
-
getStandardDeviation
@CheckForNull public java.lang.Double getStandardDeviation(Element element)
-
clear
protected void clear()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-