Package com.nomagic.uml2
Class MagicDrawProfile.DiagramContentFilterStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.DiagramContentFilterStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.DiagramContentFilterStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FILTEREDBYLEGENDITEMS
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
DiagramContentFilterStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilteredByLegendItems(Element element, Element value)
protected void
clear()
void
clearFilteredByLegendItems(Element element)
java.util.List<Element>
getFilteredByLegendItems(Element element)
Property
getFilteredByLegendItemsProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeFilteredByLegendItems(Element element, Element value)
void
setFilteredByLegendItems(Element element, java.util.Collection<? extends Element> value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
FILTEREDBYLEGENDITEMS
public static final java.lang.String FILTEREDBYLEGENDITEMS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DiagramContentFilterStereotype
protected DiagramContentFilterStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getFilteredByLegendItemsProperty
@CheckForNull public Property getFilteredByLegendItemsProperty()
-
setFilteredByLegendItems
public void setFilteredByLegendItems(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearFilteredByLegendItems
public void clearFilteredByLegendItems(Element element)
-
removeFilteredByLegendItems
public void removeFilteredByLegendItems(Element element, Element value)
-
clear
protected void clear()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-