Package com.nomagic.uml2
Class MagicDrawProfile.AdornmentRuleStereotype
- java.lang.Object
 - 
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
 - 
- com.nomagic.uml2.MagicDrawProfile.AdornmentRuleStereotype
 
 
 
- 
- Enclosing class:
 - MagicDrawProfile
 
public static class MagicDrawProfile.AdornmentRuleStereotype extends ProfileImplementation.StereotypeWrapper
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile_pprivate PropertyadornedPropertiesstatic java.lang.StringADORNEDPROPERTIESSpecify the property of the element to which the adornment would be applied.private Propertyadornmentstatic java.lang.StringADORNMENTAdorns symbol on diagram pane.static java.lang.StringIMPLEMENTATIONprivate Propertyprioritystatic java.lang.StringPRIORITYSpecify the priority of legend item.static java.lang.StringSTEREOTYPE_NAME 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAdornmentRuleStereotype(MagicDrawProfile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAdornedProperties(Element element, java.lang.String value)protected voidclear()voidclearAdornedProperties(Element element)voidclearAdornment(Element element)voidclearImplementation(Element element)voidclearPriority(Element element)java.util.List<java.lang.String>getAdornedProperties(Element element)PropertygetAdornedPropertiesProperty()java.lang.ObjectgetAdornment(Element element)PropertygetAdornmentProperty()java.lang.StringgetImplementation(Element element)PropertygetImplementationProperty()java.lang.IntegergetPriority(Element element)PropertygetPriorityProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidremoveAdornedProperties(Element element, java.lang.String value)voidsetAdornedProperties(Element element, java.util.Collection<java.lang.String> value)voidsetAdornment(Element element, java.lang.Object value)voidsetImplementation(Element element, java.lang.String value)voidsetPriority(Element element, java.lang.Integer 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
 
 
- 
ADORNEDPROPERTIES
public static final java.lang.String ADORNEDPROPERTIES
Specify the property of the element to which the adornment would be applied.- See Also:
 - Constant Field Values
 
 
- 
ADORNMENT
public static final java.lang.String ADORNMENT
Adorns symbol on diagram pane.- See Also:
 - Constant Field Values
 
 
- 
PRIORITY
public static final java.lang.String PRIORITY
Specify the priority of legend item. Enter a number between 1 and 1000. The bigger the value, the higher the priority.- See Also:
 - Constant Field Values
 
 
- 
IMPLEMENTATION
public static final java.lang.String IMPLEMENTATION
- See Also:
 - Constant Field Values
 
 
- 
_p
private final MagicDrawProfile _p
 
- 
adornedProperties
@CheckForNull private Property adornedProperties
 
- 
adornment
@CheckForNull private Property adornment
 
- 
priority
@CheckForNull private Property priority
 
 - 
 
- 
Constructor Detail
- 
AdornmentRuleStereotype
protected AdornmentRuleStereotype(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
 
 
- 
getAdornedPropertiesProperty
@CheckForNull public Property getAdornedPropertiesProperty()
 
- 
getAdornmentProperty
@CheckForNull public Property getAdornmentProperty()
 
- 
getPriorityProperty
@CheckForNull public Property getPriorityProperty()
 
- 
getImplementationProperty
@CheckForNull public Property getImplementationProperty()
 
- 
setAdornedProperties
public void setAdornedProperties(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
 
- 
clearAdornedProperties
public void clearAdornedProperties(Element element)
 
- 
addAdornedProperties
public void addAdornedProperties(Element element, java.lang.String value)
 
- 
removeAdornedProperties
public void removeAdornedProperties(Element element, java.lang.String value)
 
- 
getAdornedProperties
public java.util.List<java.lang.String> getAdornedProperties(Element element)
 
- 
setAdornment
public void setAdornment(Element element, @CheckForNull java.lang.Object value)
 
- 
clearAdornment
public void clearAdornment(Element element)
 
- 
getAdornment
@CheckForNull public java.lang.Object getAdornment(Element element)
 
- 
setPriority
public void setPriority(Element element, @CheckForNull java.lang.Integer value)
 
- 
clearPriority
public void clearPriority(Element element)
 
- 
getPriority
@CheckForNull public java.lang.Integer getPriority(Element element)
 
- 
setImplementation
public void setImplementation(Element element, @CheckForNull java.lang.String value)
 
- 
clearImplementation
public void clearImplementation(Element element)
 
- 
getImplementation
@CheckForNull public java.lang.String getImplementation(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) 
 - 
 
 -