Package com.nomagic.magicdraw.uaf
Class UAF.CapabilityStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uaf.UAF.CapabilityStereotype
-
- Enclosing class:
- UAF
public static class UAF.CapabilityStereotype 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
CUSTOMKIND
Identification of a special kind of Capability that is different from one of the predefined enumerated kinds.static java.lang.String
ISENCAPSULATED
If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary.static java.lang.String
KIND
Selection of the enumerated kind for this element.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
URI
Captures Unique identifier for the element.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CapabilityStereotype(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
clearCustomKind(Element element)
void
clearIsEncapsulated(Element element)
void
clearKind(Element element)
void
clearURI(Element element)
java.util.List<Element>
getConformsTo(Element element)
Property
getConformsToProperty()
java.lang.String
getCustomKind(Element element)
Property
getCustomKindProperty()
Property
getIsEncapsulatedProperty()
UAF.CapabilityKindEnum
getKind(Element element)
Property
getKindProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getURI(Element element)
Property
getURIProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isIsEncapsulated(Element element)
void
removeConformsTo(Element element, Element value)
void
setConformsTo(Element element, java.util.Collection<? extends Element> value)
void
setCustomKind(Element element, java.lang.String value)
void
setIsEncapsulated(Element element, java.lang.Boolean value)
void
setKind(Element element, UAF.CapabilityKindEnum 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
-
CUSTOMKIND
public static final java.lang.String CUSTOMKIND
Identification of a special kind of Capability that is different from one of the predefined enumerated kinds.- See Also:
- Constant Field Values
-
KIND
public static final java.lang.String KIND
Selection of the enumerated kind for this element.- 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
-
ISENCAPSULATED
public static final java.lang.String ISENCAPSULATED
If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CapabilityStereotype
protected CapabilityStereotype(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
-
getCustomKindProperty
@CheckForNull public Property getCustomKindProperty()
-
getKindProperty
@CheckForNull public Property getKindProperty()
-
getURIProperty
@CheckForNull public Property getURIProperty()
-
getConformsToProperty
@CheckForNull public Property getConformsToProperty()
-
getIsEncapsulatedProperty
@CheckForNull public Property getIsEncapsulatedProperty()
-
setCustomKind
public void setCustomKind(Element element, @CheckForNull java.lang.String value)
-
clearCustomKind
public void clearCustomKind(Element element)
-
getCustomKind
@CheckForNull public java.lang.String getCustomKind(Element element)
-
setKind
public void setKind(Element element, @CheckForNull UAF.CapabilityKindEnum value)
-
clearKind
public void clearKind(Element element)
-
getKind
@CheckForNull public UAF.CapabilityKindEnum getKind(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)
-
setIsEncapsulated
public void setIsEncapsulated(Element element, @CheckForNull java.lang.Boolean value)
-
clearIsEncapsulated
public void clearIsEncapsulated(Element element)
-
isIsEncapsulated
@CheckForNull public java.lang.Boolean isIsEncapsulated(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-