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.String
DETAILS
static java.lang.String
N
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
VirtualStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDetails(Element element, java.lang.String value)
protected void
clear()
void
clearDetails(Element element)
void
clearN(Element element)
java.util.List<java.lang.String>
getDetails(Element element)
Property
getDetailsProperty()
java.lang.Integer
getN(Element element)
Property
getNProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeDetails(Element element, java.lang.String value)
void
setDetails(Element element, java.util.Collection<java.lang.String> value)
void
setN(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-