Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.FlowPropertyStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- 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 private SysMLProfile_pprivate Propertydirectionstatic java.lang.StringDIRECTIONSpecifies 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.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedFlowPropertyStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearDirection(Element element)SysMLProfile.FlowDirectionKindEnumgetDirection(Element element)PropertygetDirectionProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidsetDirection(Element element, SysMLProfile.FlowDirectionKindEnum 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
-
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
-
_p
private final SysMLProfile _p
-
direction
@CheckForNull private Property direction
-
-
Constructor Detail
-
FlowPropertyStereotype
protected FlowPropertyStereotype(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
-
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()
- Overrides:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-