public static class MDCustomizationForSysMLProfile.AlternativesStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KIND |
static java.lang.String |
SOURCE |
static java.lang.String |
STEREOTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
AlternativesStereotype(MDCustomizationForSysMLProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
clearKind(Element element) |
void |
clearSource(Element element) |
MDCustomizationForSysMLProfile.SourceKindEnum |
getKind(Element element) |
Property |
getKindProperty() |
Element |
getSource(Element element) |
Property |
getSourceProperty() |
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 |
setKind(Element element,
MDCustomizationForSysMLProfile.SourceKindEnum value) |
void |
setSource(Element element,
Element value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String KIND
public static final java.lang.String SOURCE
protected AlternativesStereotype(MDCustomizationForSysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getKindProperty()
@CheckForNull public Property getSourceProperty()
public void setKind(Element element, @CheckForNull MDCustomizationForSysMLProfile.SourceKindEnum value)
public void clearKind(Element element)
@CheckForNull public MDCustomizationForSysMLProfile.SourceKindEnum getKind(Element element)
public void clearSource(Element element)
protected void clear()
clear in class ProfileImplementation.ProfileElementWrapper<Stereotype>public boolean is(@CheckForNull
Element element)
ProfileImplementation.StereotypeWrapperis in class ProfileImplementation.StereotypeWrapperelement - elementpublic static boolean isInstance(@CheckForNull
Element element)