public static class SysMLProfile.FlowPortStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DIRECTION
Indicates the direction in which an atomic flow port relays its items.
|
static java.lang.String |
ISATOMIC
This is a derived attribute (derived from the flow port s type).
|
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
FlowPortStereotype(SysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearDirection(Element element) |
void |
clearIsAtomic(Element element) |
SysMLProfile.FlowDirectionKindEnum |
getDirection(Element element) |
Property |
getDirectionProperty() |
Property |
getIsAtomicProperty() |
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) |
java.lang.Boolean |
isIsAtomic(Element element) |
void |
setDirection(Element element,
SysMLProfile.FlowDirectionKindEnum value) |
void |
setIsAtomic(Element element,
java.lang.Boolean value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DIRECTION
public static final java.lang.String ISATOMIC
protected FlowPortStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getDirectionProperty()
@CheckForNull public Property getIsAtomicProperty()
public void setDirection(Element element, @CheckForNull SysMLProfile.FlowDirectionKindEnum value)
public void clearDirection(Element element)
@CheckForNull public SysMLProfile.FlowDirectionKindEnum getDirection(Element element)
public void setIsAtomic(Element element, @CheckForNull java.lang.Boolean value)
public void clearIsAtomic(Element element)
@CheckForNull public java.lang.Boolean isIsAtomic(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)