Package com.nomagic.magicdraw.uaf
Class UAF.ProtocolImplementationStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uaf.UAF.ProtocolImplementationStereotype
-
- Enclosing class:
- UAF
public static class UAF.ProtocolImplementationStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFORMSTO
Relates a UAFElement to the Standard that the UAFElement is conforming to.static java.lang.String
IMPLEMENTS
Relates the ResourceConnector and ResourcePort to the Protocols that they can implement.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
URI
Captures Unique identifier for the element.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProtocolImplementationStereotype(UAF profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConformsTo(Element element, Element value)
void
addImplements(Element element, Element value)
protected void
clear()
void
clearConformsTo(Element element)
void
clearImplements(Element element)
void
clearURI(Element element)
java.util.List<Element>
getConformsTo(Element element)
Property
getConformsToProperty()
java.util.List<Element>
getImplements(Element element)
Property
getImplementsProperty()
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
removeImplements(Element element, Element value)
void
setConformsTo(Element element, java.util.Collection<? extends Element> value)
void
setImplements(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
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
IMPLEMENTS
public static final java.lang.String IMPLEMENTS
Relates the ResourceConnector and ResourcePort to the Protocols that they can implement.- 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
-
-
Constructor Detail
-
ProtocolImplementationStereotype
protected ProtocolImplementationStereotype(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
-
getImplementsProperty
@CheckForNull public Property getImplementsProperty()
-
getURIProperty
@CheckForNull public Property getURIProperty()
-
getConformsToProperty
@CheckForNull public Property getConformsToProperty()
-
setImplements
public void setImplements(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearImplements
public void clearImplements(Element element)
-
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()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-