Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.FlowPropertyStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.FlowPropertyStereotype
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.FlowPropertyStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearDirection(Element element) getDirection(Element element) Returns stereotype for this wrapper.booleanChecks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element) voidsetDirection(Element element, SysMLProfile.FlowDirectionKindEnum value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
DIRECTION
Specifies if the property value is received from an external block (direction= in ), transmitted to an external Block (direction= out ) or both (direction= inout ).- See Also:
-
-
Constructor Details
-
FlowPropertyStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getDirectionProperty
-
setDirection
-
clearDirection
-
getDirection
-
clear
protected void clear() -
is
Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Specified by:
isin classProfileImplementation.StereotypeWrapper- Parameters:
element- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
-