Package com.nomagic.uml2
Class MagicDrawProfile.HyperlinkOwnerStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.HyperlinkOwnerStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.HyperlinkOwnerStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile
_p
private Property
hyperlinkModel
static java.lang.String
HYPERLINKMODEL
private Property
hyperlinkModelActive
static java.lang.String
HYPERLINKMODELACTIVE
private Property
hyperlinkText
static java.lang.String
HYPERLINKTEXT
private Property
hyperlinkTextActive
static java.lang.String
HYPERLINKTEXTACTIVE
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
HyperlinkOwnerStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHyperlinkModel(Element element, Element value)
void
addHyperlinkText(Element element, java.lang.String value)
protected void
clear()
void
clearHyperlinkModel(Element element)
void
clearHyperlinkModelActive(Element element)
void
clearHyperlinkText(Element element)
void
clearHyperlinkTextActive(Element element)
java.util.List<Element>
getHyperlinkModel(Element element)
Element
getHyperlinkModelActive(Element element)
Property
getHyperlinkModelActiveProperty()
Property
getHyperlinkModelProperty()
java.util.List<java.lang.String>
getHyperlinkText(Element element)
java.lang.String
getHyperlinkTextActive(Element element)
Property
getHyperlinkTextActiveProperty()
Property
getHyperlinkTextProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
Checks if stereotype of this wrapper is applied to given element.static boolean
isInstance(Element element)
void
removeHyperlinkModel(Element element, Element value)
void
removeHyperlinkText(Element element, java.lang.String value)
void
setHyperlinkModel(Element element, java.util.Collection<? extends Element> value)
void
setHyperlinkModelActive(Element element, Element value)
void
setHyperlinkText(Element element, java.util.Collection<java.lang.String> value)
void
setHyperlinkTextActive(Element element, java.lang.String 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
-
HYPERLINKMODEL
public static final java.lang.String HYPERLINKMODEL
- See Also:
- Constant Field Values
-
HYPERLINKMODELACTIVE
public static final java.lang.String HYPERLINKMODELACTIVE
- See Also:
- Constant Field Values
-
HYPERLINKTEXT
public static final java.lang.String HYPERLINKTEXT
- See Also:
- Constant Field Values
-
HYPERLINKTEXTACTIVE
public static final java.lang.String HYPERLINKTEXTACTIVE
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
hyperlinkModel
@CheckForNull private Property hyperlinkModel
-
hyperlinkModelActive
@CheckForNull private Property hyperlinkModelActive
-
hyperlinkText
@CheckForNull private Property hyperlinkText
-
hyperlinkTextActive
@CheckForNull private Property hyperlinkTextActive
-
-
Constructor Detail
-
HyperlinkOwnerStereotype
protected HyperlinkOwnerStereotype(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
-
getHyperlinkModelProperty
@CheckForNull public Property getHyperlinkModelProperty()
-
getHyperlinkModelActiveProperty
@CheckForNull public Property getHyperlinkModelActiveProperty()
-
getHyperlinkTextProperty
@CheckForNull public Property getHyperlinkTextProperty()
-
getHyperlinkTextActiveProperty
@CheckForNull public Property getHyperlinkTextActiveProperty()
-
setHyperlinkModel
public void setHyperlinkModel(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearHyperlinkModel
public void clearHyperlinkModel(Element element)
-
setHyperlinkModelActive
public void setHyperlinkModelActive(Element element, @CheckForNull Element value)
-
clearHyperlinkModelActive
public void clearHyperlinkModelActive(Element element)
-
setHyperlinkText
public void setHyperlinkText(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearHyperlinkText
public void clearHyperlinkText(Element element)
-
addHyperlinkText
public void addHyperlinkText(Element element, java.lang.String value)
-
removeHyperlinkText
public void removeHyperlinkText(Element element, java.lang.String value)
-
getHyperlinkText
public java.util.List<java.lang.String> getHyperlinkText(Element element)
-
setHyperlinkTextActive
public void setHyperlinkTextActive(Element element, @CheckForNull java.lang.String value)
-
clearHyperlinkTextActive
public void clearHyperlinkTextActive(Element element)
-
getHyperlinkTextActive
@CheckForNull public java.lang.String getHyperlinkTextActive(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
Description copied from class:ProfileImplementation.StereotypeWrapper
Checks 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)
-
-