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 PropertyhyperlinkModelstatic java.lang.StringHYPERLINKMODELprivate PropertyhyperlinkModelActivestatic java.lang.StringHYPERLINKMODELACTIVEprivate PropertyhyperlinkTextstatic java.lang.StringHYPERLINKTEXTprivate PropertyhyperlinkTextActivestatic java.lang.StringHYPERLINKTEXTACTIVEprivate MagicDrawProfileprofilestatic java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedHyperlinkOwnerStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHyperlinkModel(Element element, Element value)voidaddHyperlinkText(Element element, java.lang.String value)protected voidclear()voidclearHyperlinkModel(Element element)voidclearHyperlinkModelActive(Element element)voidclearHyperlinkText(Element element)voidclearHyperlinkTextActive(Element element)java.util.List<Element>getHyperlinkModel(Element element)ElementgetHyperlinkModelActive(Element element)PropertygetHyperlinkModelActiveProperty()PropertygetHyperlinkModelProperty()java.util.List<java.lang.String>getHyperlinkText(Element element)java.lang.StringgetHyperlinkTextActive(Element element)PropertygetHyperlinkTextActiveProperty()PropertygetHyperlinkTextProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidremoveHyperlinkModel(Element element, Element value)voidremoveHyperlinkText(Element element, java.lang.String value)voidsetHyperlinkModel(Element element, java.util.Collection<? extends Element> value)voidsetHyperlinkModelActive(Element element, Element value)voidsetHyperlinkText(Element element, java.util.Collection<java.lang.String> value)voidsetHyperlinkTextActive(Element element, java.lang.String value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, 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
-
profile
private final MagicDrawProfile profile
-
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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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.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)
-
-