public static class MagicDrawProfile.LegendUsageStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APPLIEDLEGENDS |
static java.lang.String |
STEREOTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
LegendUsageStereotype(MagicDrawProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAppliedLegends(Element element,
Element value) |
protected void |
clear() |
void |
clearAppliedLegends(Element element) |
java.util.List<Element> |
getAppliedLegends(Element element) |
Property |
getAppliedLegendsProperty() |
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 |
removeAppliedLegends(Element element,
Element value) |
void |
setAppliedLegends(Element element,
java.util.Collection<? extends Element> value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String APPLIEDLEGENDS
protected LegendUsageStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getAppliedLegendsProperty()
public void setAppliedLegends(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearAppliedLegends(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)