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_defaultprivate MagicDrawProfile_pstatic java.lang.StringDEFAULTprivate PropertydefinedForDiagramFramestatic java.lang.StringDEFINEDFORDIAGRAMFRAMEstatic java.lang.StringSTEREOTYPE_NAME 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedLayoutTemplateStereotype(MagicDrawProfile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearDefault(Element element)voidclearDefinedForDiagramFrame(Element element)PropertygetDefaultProperty()PropertygetDefinedForDiagramFrameProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.java.lang.BooleanisDefault(Element element)java.lang.BooleanisDefinedForDiagramFrame(Element element)static booleanisInstance(Element element)voidsetDefault(Element element, java.lang.Boolean value)voidsetDefinedForDiagramFrame(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein 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.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) 
 - 
 
 -