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 Modifier and Type Field Description static java.lang.String
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 ).static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlowPropertyStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearDirection(Element element)
SysMLProfile.FlowDirectionKindEnum
getDirection(Element element)
Property
getDirectionProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setDirection(Element element, SysMLProfile.FlowDirectionKindEnum value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
DIRECTION
public static final java.lang.String 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:
- Constant Field Values
-
-
Constructor Detail
-
FlowPropertyStereotype
protected FlowPropertyStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getDirectionProperty
@CheckForNull public Property getDirectionProperty()
-
setDirection
public void setDirection(Element element, @CheckForNull SysMLProfile.FlowDirectionKindEnum value)
-
clearDirection
public void clearDirection(Element element)
-
getDirection
@CheckForNull public SysMLProfile.FlowDirectionKindEnum getDirection(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-