Package com.nomagic.uml2
Class MagicDrawProfile.LayoutTemplateStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.LayoutTemplateStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.LayoutTemplateStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private Property
_default
private MagicDrawProfile
_p
static java.lang.String
DEFAULT
private Property
definedForDiagramFrame
static java.lang.String
DEFINEDFORDIAGRAMFRAME
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
LayoutTemplateStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearDefault(Element element)
void
clearDefinedForDiagramFrame(Element element)
Property
getDefaultProperty()
Property
getDefinedForDiagramFrameProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
Checks if stereotype of this wrapper is applied to given element.java.lang.Boolean
isDefault(Element element)
java.lang.Boolean
isDefinedForDiagramFrame(Element element)
static boolean
isInstance(Element element)
void
setDefault(Element element, java.lang.Boolean value)
void
setDefinedForDiagramFrame(Element element, java.lang.Boolean 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
-
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
DEFINEDFORDIAGRAMFRAME
public static final java.lang.String DEFINEDFORDIAGRAMFRAME
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
_default
@CheckForNull private Property _default
-
definedForDiagramFrame
@CheckForNull private Property definedForDiagramFrame
-
-
Constructor Detail
-
LayoutTemplateStereotype
protected LayoutTemplateStereotype(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
-
getDefaultProperty
@CheckForNull public Property getDefaultProperty()
-
getDefinedForDiagramFrameProperty
@CheckForNull public Property getDefinedForDiagramFrameProperty()
-
setDefault
public void setDefault(Element element, @CheckForNull java.lang.Boolean value)
-
clearDefault
public void clearDefault(Element element)
-
isDefault
@CheckForNull public java.lang.Boolean isDefault(Element element)
-
setDefinedForDiagramFrame
public void setDefinedForDiagramFrame(Element element, @CheckForNull java.lang.Boolean value)
-
clearDefinedForDiagramFrame
public void clearDefinedForDiagramFrame(Element element)
-
isDefinedForDiagramFrame
@CheckForNull public java.lang.Boolean isDefinedForDiagramFrame(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
Description copied from class:ProfileImplementation.StereotypeWrapper
Checks 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)
-
-