Package com.nomagic.magicdraw.uaf
Class UAF.ConditionStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uaf.UAF.ConditionStereotype
-
- Enclosing class:
- UAF
public static class UAF.ConditionStereotype 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
QUANTITYKIND
A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
UNIT
A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype.static java.lang.String
URI
Captures Unique identifier for the element.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConditionStereotype(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
clearQuantityKind(Element element)
void
clearUnit(Element element)
void
clearURI(Element element)
java.util.List<Element>
getConformsTo(Element element)
Property
getConformsToProperty()
Element
getQuantityKind(Element element)
Property
getQuantityKindProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.Element
getUnit(Element element)
Property
getUnitProperty()
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
setQuantityKind(Element element, Element value)
void
setUnit(Element element, 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
-
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
-
QUANTITYKIND
public static final java.lang.String QUANTITYKIND
A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units.- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConditionStereotype
protected ConditionStereotype(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()
-
getQuantityKindProperty
@CheckForNull public Property getQuantityKindProperty()
-
getUnitProperty
@CheckForNull public Property getUnitProperty()
-
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)
-
clearQuantityKind
public void clearQuantityKind(Element element)
-
clearUnit
public void clearUnit(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-