public static class SysMLProfile.FlowPropertyStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and 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 |
Modifier | Constructor and Description |
---|---|
protected |
FlowPropertyStereotype(SysMLProfile profile) |
Modifier and Type | Method and 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)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setDirection(Element element,
SysMLProfile.FlowDirectionKindEnum value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DIRECTION
protected FlowPropertyStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getDirectionProperty()
public void setDirection(Element element, @CheckForNull SysMLProfile.FlowDirectionKindEnum value)
public void clearDirection(Element element)
@CheckForNull public SysMLProfile.FlowDirectionKindEnum getDirection(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)