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 private MagicDrawProfile
_p
private Property
filteredByLegendItems
static java.lang.String
FILTEREDBYLEGENDITEMS
private Property
filteringPreference
static java.lang.String
FILTERINGPREFERENCE
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)
void
clearFilteringPreference(Element element)
java.util.List<Element>
getFilteredByLegendItems(Element element)
Property
getFilteredByLegendItemsProperty()
MagicDrawProfile.filteringPreferenceEnum
getFilteringPreference(Element element)
Property
getFilteringPreferenceProperty()
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)
void
setFilteringPreference(Element element, MagicDrawProfile.filteringPreferenceEnum 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
-
FILTERINGPREFERENCE
public static final java.lang.String FILTERINGPREFERENCE
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
filteredByLegendItems
@CheckForNull private Property filteredByLegendItems
-
filteringPreference
@CheckForNull private Property filteringPreference
-
-
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()
-
getFilteringPreferenceProperty
@CheckForNull public Property getFilteringPreferenceProperty()
-
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)
-
setFilteringPreference
public void setFilteringPreference(Element element, @CheckForNull MagicDrawProfile.filteringPreferenceEnum value)
-
clearFilteringPreference
public void clearFilteringPreference(Element element)
-
getFilteringPreference
@CheckForNull public MagicDrawProfile.filteringPreferenceEnum getFilteringPreference(Element element)
-
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)
-
-