Package com.nomagic.uml2
Class MagicDrawProfile.LayoutTemplateStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- 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 static java.lang.String
DEFAULT
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)
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, 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
-
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
-
-
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()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-