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