Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.RateStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.RateStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.RateStereotype extends com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile
_p
private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
rate
static java.lang.String
RATE
Specifies the expected value of the number of objects and values that traverse the edge per time interval, that is, the expected value rate at which they leave the source node and arrive at the target node.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
RateStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearRate(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
getRate(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getRateProperty()
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype
getStereotype()
boolean
is(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
static boolean
isInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
setRate(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
RATE
public static final java.lang.String RATE
Specifies the expected value of the number of objects and values that traverse the edge per time interval, that is, the expected value rate at which they leave the source node and arrive at the target node. It does not refer to the rate at which a value changes over time. When the stereotype is applied to a parameter, the parameter must be streaming, and the stereotype gives the number of objects or values that flow in or out of the parameter per time interval while the behavior or operation is executing.- See Also:
- Constant Field Values
-
_p
private final SysMLProfile _p
-
rate
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property rate
-
-
Constructor Detail
-
RateStereotype
protected RateStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
- Specified by:
getStereotype
in classcom.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
getRateProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getRateProperty()
-
setRate
public void setRate(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
clearRate
public void clearRate(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getRate
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getRate(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
isInstance
public static boolean isInstance(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
-