public static class SysMLProfile.DirectedFeatureStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FEATUREDIRECTION |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
DirectedFeatureStereotype(SysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearFeatureDirection(Element element) |
SysMLProfile.FeatureDirectionKindEnum |
getFeatureDirection(Element element) |
Property |
getFeatureDirectionProperty() |
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 |
setFeatureDirection(Element element,
SysMLProfile.FeatureDirectionKindEnum value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String FEATUREDIRECTION
protected DirectedFeatureStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getFeatureDirectionProperty()
public void setFeatureDirection(Element element, @CheckForNull SysMLProfile.FeatureDirectionKindEnum value)
public void clearFeatureDirection(Element element)
@CheckForNull public SysMLProfile.FeatureDirectionKindEnum getFeatureDirection(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)