public static class MagicDrawProfile.MergedDiagramStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MERGEDFROMBOTHCONTRIBUTORS |
static java.lang.String |
MERGEDSYMBOLS |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
MergedDiagramStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addMergedSymbols(Element element,
java.lang.String value) |
protected void |
clear() |
void |
clearMergedFromBothContributors(Element element) |
void |
clearMergedSymbols(Element element) |
Property |
getMergedFromBothContributorsProperty() |
java.util.List<java.lang.String> |
getMergedSymbols(Element element) |
Property |
getMergedSymbolsProperty() |
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) |
java.lang.Boolean |
isMergedFromBothContributors(Element element) |
void |
removeMergedSymbols(Element element,
java.lang.String value) |
void |
setMergedFromBothContributors(Element element,
java.lang.Boolean value) |
void |
setMergedSymbols(Element element,
java.util.Collection<java.lang.String> value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String MERGEDFROMBOTHCONTRIBUTORS
public static final java.lang.String MERGEDSYMBOLS
protected MergedDiagramStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getMergedFromBothContributorsProperty()
@CheckForNull public Property getMergedSymbolsProperty()
public void setMergedFromBothContributors(Element element, @CheckForNull java.lang.Boolean value)
public void clearMergedFromBothContributors(Element element)
@CheckForNull public java.lang.Boolean isMergedFromBothContributors(Element element)
public void setMergedSymbols(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
public void clearMergedSymbols(Element element)
public void addMergedSymbols(Element element, java.lang.String value)
public void removeMergedSymbols(Element element, java.lang.String value)
public java.util.List<java.lang.String> getMergedSymbols(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)