Package com.nomagic.magicdraw.uaf
Class UAF.UAFElementStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uaf.UAF.UAFElementStereotype
-
- Enclosing class:
- UAF
public static class UAF.UAFElementStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private UAF
_p
private Property
conformsTo
static java.lang.String
CONFORMSTO
Relates a UAFElement to the Standard that the UAFElement is conforming to.static java.lang.String
STEREOTYPE_NAME
private Property
uri
static java.lang.String
URI
Captures Unique identifier for the element.
-
Constructor Summary
Constructors Modifier Constructor Description protected
UAFElementStereotype(UAF profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConformsTo(Element element, Element value)
protected void
clear()
void
clearConformsTo(Element element)
void
clearURI(Element element)
java.util.List<Element>
getConformsTo(Element element)
Property
getConformsToProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getURI(Element element)
Property
getURIProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeConformsTo(Element element, Element value)
void
setConformsTo(Element element, java.util.Collection<? extends Element> value)
void
setURI(Element element, java.lang.String 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
-
URI
public static final java.lang.String URI
Captures Unique identifier for the element.- See Also:
- Constant Field Values
-
CONFORMSTO
public static final java.lang.String CONFORMSTO
Relates a UAFElement to the Standard that the UAFElement is conforming to.- See Also:
- Constant Field Values
-
_p
private final UAF _p
-
uri
@CheckForNull private Property uri
-
conformsTo
@CheckForNull private Property conformsTo
-
-
Constructor Detail
-
UAFElementStereotype
protected UAFElementStereotype(UAF 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
-
getURIProperty
@CheckForNull public Property getURIProperty()
-
getConformsToProperty
@CheckForNull public Property getConformsToProperty()
-
setURI
public void setURI(Element element, @CheckForNull java.lang.String value)
-
clearURI
public void clearURI(Element element)
-
getURI
@CheckForNull public java.lang.String getURI(Element element)
-
setConformsTo
public void setConformsTo(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearConformsTo
public void clearConformsTo(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)
-
-