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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
clearDirection
(Element element) void
clearIsAtomic
(Element element) getDirection
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) isIsAtomic
(Element element) void
setDirection
(Element element, SysMLProfile.FlowDirectionKindEnum value) void
setIsAtomic
(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getDirectionProperty
-
getIsAtomicProperty
-
setDirection
-
clearDirection
-
getDirection
-
setIsAtomic
-
clearIsAtomic
-
isIsAtomic
-
clear
protected void clear() -
is
-
isInstance
-