Package com.nomagic.uml2
Class MagicDrawProfile.AbstractGanttChartDiagramStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.AbstractGanttChartDiagramStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.AbstractGanttChartDiagramStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile_pprivate Propertylegendsstatic java.lang.StringLEGENDSstatic java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractGanttChartDiagramStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLegends(Element element, Element value)protected voidclear()voidclearLegends(Element element)java.util.List<Element>getLegends(Element element)PropertygetLegendsProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidremoveLegends(Element element, Element value)voidsetLegends(Element element, java.util.Collection<? extends Element> value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
LEGENDS
public static final java.lang.String LEGENDS
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
legends
@CheckForNull private Property legends
-
-
Constructor Detail
-
AbstractGanttChartDiagramStereotype
protected AbstractGanttChartDiagramStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getLegendsProperty
@CheckForNull public Property getLegendsProperty()
-
setLegends
public void setLegends(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearLegends
public void clearLegends(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Parameters:
element- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-