public static class MagicDrawProfile.MigrationLogStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LOGENTRY
Information how elements were replaced during migration.
|
static java.lang.String |
STEREOTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
MigrationLogStereotype(MagicDrawProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLogEntry(Element element,
java.lang.String value) |
protected void |
clear() |
void |
clearLogEntry(Element element) |
java.util.List<java.lang.String> |
getLogEntry(Element element) |
Property |
getLogEntryProperty() |
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 |
removeLogEntry(Element element,
java.lang.String value) |
void |
setLogEntry(Element element,
java.util.Collection<java.lang.String> value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String LOGENTRY
protected MigrationLogStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getLogEntryProperty()
public void setLogEntry(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
public void clearLogEntry(Element element)
public void addLogEntry(Element element, java.lang.String value)
public void removeLogEntry(Element element, java.lang.String value)
public java.util.List<java.lang.String> getLogEntry(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)