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 static java.lang.String
ADORNEDPROPERTIES
Specify the property of the element to which the adornment would be applied.static java.lang.String
ADORNMENT
Adorns symbol on diagram pane.static java.lang.String
IMPLEMENTATION
static java.lang.String
PRIORITY
Specify the priority of legend item.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdornmentRuleStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAdornedProperties(Element element, java.lang.String value)
protected void
clear()
void
clearAdornedProperties(Element element)
void
clearAdornment(Element element)
void
clearImplementation(Element element)
void
clearPriority(Element element)
java.util.List<java.lang.String>
getAdornedProperties(Element element)
Property
getAdornedPropertiesProperty()
java.lang.Object
getAdornment(Element element)
Property
getAdornmentProperty()
java.lang.String
getImplementation(Element element)
Property
getImplementationProperty()
java.lang.Integer
getPriority(Element element)
Property
getPriorityProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeAdornedProperties(Element element, java.lang.String value)
void
setAdornedProperties(Element element, java.util.Collection<java.lang.String> value)
void
setAdornment(Element element, java.lang.Object value)
void
setImplementation(Element element, java.lang.String value)
void
setPriority(Element element, java.lang.Integer value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, 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
-
-
Constructor Detail
-
AdornmentRuleStereotype
protected AdornmentRuleStereotype(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
-
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)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-