Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.RateStereotype
- java.lang.Object
 - 
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
 - 
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
 - 
- com.nomagic.magicdraw.sysml.util.SysMLProfile.RateStereotype
 
 
 
 
- 
- Enclosing class:
 - SysMLProfile
 
public static class SysMLProfile.RateStereotype extends ProfileImplementation.StereotypeWrapper
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private SysMLProfile_pprivate Propertyratestatic java.lang.StringRATESpecifies 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.StringSTEREOTYPE_NAME 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedRateStereotype(SysMLProfile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearRate(Element element)ElementgetRate(Element element)PropertygetRateProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidsetRate(Element element, Element 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
 
 
- 
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 Property rate
 
 - 
 
- 
Constructor Detail
- 
RateStereotype
protected RateStereotype(SysMLProfile profile)
 
 - 
 
- 
Method Detail
- 
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
 - stereotype
 
 
- 
getRateProperty
@CheckForNull public Property getRateProperty()
 
- 
clearRate
public void clearRate(Element element)
 
- 
clear
protected void clear()
- Overrides:
 clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
 
- 
is
public boolean is(@CheckForNull Element element) 
- 
isInstance
public static boolean isInstance(@CheckForNull Element element) 
 - 
 
 -