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.StringCONFORMSTORelates a UAFElement to the Standard that the UAFElement is conforming to.static java.lang.StringQUANTITYKINDA kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype.static java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringUNITA 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.StringURICaptures Unique identifier for the element.
-
Constructor Summary
Constructors Modifier Constructor Description protectedConditionStereotype(UAF profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConformsTo(Element element, Element value)protected voidclear()voidclearConformsTo(Element element)voidclearQuantityKind(Element element)voidclearUnit(Element element)voidclearURI(Element element)java.util.List<Element>getConformsTo(Element element)PropertygetConformsToProperty()ElementgetQuantityKind(Element element)PropertygetQuantityKindProperty()StereotypegetStereotype()Returns stereotype for this wrapper.ElementgetUnit(Element element)PropertygetUnitProperty()java.lang.StringgetURI(Element element)PropertygetURIProperty()booleanis(Element element)static booleanisInstance(Element element)voidremoveConformsTo(Element element, Element value)voidsetConformsTo(Element element, java.util.Collection<? extends Element> value)voidsetQuantityKind(Element element, Element value)voidsetUnit(Element element, Element value)voidsetURI(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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)
-
-