Package com.nomagic.uml2
Class MagicDrawProfile.VirtualStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.VirtualStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.VirtualStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile_pprivate Propertydetailsstatic java.lang.StringDETAILSprivate Propertynstatic java.lang.StringNstatic java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedVirtualStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDetails(Element element, java.lang.String value)protected voidclear()voidclearDetails(Element element)voidclearN(Element element)java.util.List<java.lang.String>getDetails(Element element)PropertygetDetailsProperty()java.lang.IntegergetN(Element element)PropertygetNProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidremoveDetails(Element element, java.lang.String value)voidsetDetails(Element element, java.util.Collection<java.lang.String> value)voidsetN(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
-
DETAILS
public static final java.lang.String DETAILS
- See Also:
- Constant Field Values
-
N
public static final java.lang.String N
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
details
@CheckForNull private Property details
-
n
@CheckForNull private Property n
-
-
Constructor Detail
-
VirtualStereotype
protected VirtualStereotype(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
-
getDetailsProperty
@CheckForNull public Property getDetailsProperty()
-
getNProperty
@CheckForNull public Property getNProperty()
-
setDetails
public void setDetails(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearDetails
public void clearDetails(Element element)
-
addDetails
public void addDetails(Element element, java.lang.String value)
-
removeDetails
public void removeDetails(Element element, java.lang.String value)
-
getDetails
public java.util.List<java.lang.String> getDetails(Element element)
-
setN
public void setN(Element element, @CheckForNull java.lang.Integer value)
-
clearN
public void clearN(Element element)
-
getN
@CheckForNull public java.lang.Integer getN(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)
-
-