public static class SysMLProfile.ViewStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STAKEHOLDER |
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
VIEWPOINT
The viewpoint for this View, derived from the supplier of the conform dependency whose client is this View.
|
Modifier | Constructor and Description |
---|---|
protected |
ViewStereotype(SysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addStakeholder(Element element,
Element value) |
protected void |
clear() |
void |
clearStakeholder(Element element) |
void |
clearViewPoint(Element element) |
java.util.List<Element> |
getStakeholder(Element element) |
Property |
getStakeholderProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
Element |
getViewPoint(Element element) |
Property |
getViewPointProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
removeStakeholder(Element element,
Element value) |
void |
setStakeholder(Element element,
java.util.Collection<? extends Element> value) |
void |
setViewPoint(Element element,
Element value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String STAKEHOLDER
public static final java.lang.String VIEWPOINT
protected ViewStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getStakeholderProperty()
@CheckForNull public Property getViewPointProperty()
public void setStakeholder(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearStakeholder(Element element)
public void clearViewPoint(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)