Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.FlowPortStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.FlowPortStereotype
- Enclosing class:
- SysMLProfile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearDirection(Element element) voidclearIsAtomic(Element element) getDirection(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) isIsAtomic(Element element) voidsetDirection(Element element, SysMLProfile.FlowDirectionKindEnum value) voidsetIsAtomic(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
DIRECTION
Indicates the direction in which an atomic flow port relays its items. If the direction is set to in, then the items are relayed from an external connector via the flow port into the flow port s owner (or one of its parts). If the direction is set to out, then the items are relayed from the flow port s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to inout, then items can flow both ways. By default, the value is inout.- See Also:
-
ISATOMIC
This is a derived attribute (derived from the flow port s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True.- See Also:
-
-
Constructor Details
-
FlowPortStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getDirectionProperty
-
getIsAtomicProperty
-
setDirection
-
clearDirection
-
getDirection
-
setIsAtomic
-
clearIsAtomic
-
isIsAtomic
-
clear
protected void clear() -
is
-
isInstance
-