public static class MagicDrawProfile.VirtualStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DETAILS |
static java.lang.String |
N |
static java.lang.String |
STEREOTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
VirtualStereotype(MagicDrawProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDetails(Element element,
java.lang.String value) |
protected void |
clear() |
void |
clearDetails(Element element) |
void |
clearN(Element element) |
java.util.List<java.lang.String> |
getDetails(Element element) |
Property |
getDetailsProperty() |
java.lang.Integer |
getN(Element element) |
Property |
getNProperty() |
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 |
removeDetails(Element element,
java.lang.String value) |
void |
setDetails(Element element,
java.util.Collection<java.lang.String> value) |
void |
setN(Element element,
java.lang.Integer value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DETAILS
public static final java.lang.String N
protected VirtualStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getDetailsProperty()
@CheckForNull public Property getNProperty()
public void setDetails(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
public void clearDetails(Element element)
public void addDetails(Element element, java.lang.String value)
public void removeDetails(Element element, java.lang.String value)
public java.util.List<java.lang.String> getDetails(Element element)
public void setN(Element element, @CheckForNull java.lang.Integer value)
public void clearN(Element element)
@CheckForNull public java.lang.Integer getN(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)