public static class MagicDrawProfile.MetricSuiteStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
TARGET |
Modifier | Constructor and Description |
---|---|
protected |
MetricSuiteStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addTarget(Element element,
Element value) |
protected void |
clear() |
void |
clearTarget(Element element) |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
java.util.List<Element> |
getTarget(Element element) |
Property |
getTargetProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
removeTarget(Element element,
Element value) |
void |
setTarget(Element element,
java.util.Collection<? extends Element> value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String TARGET
protected MetricSuiteStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getTargetProperty()
public void setTarget(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearTarget(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)