Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ValueTypeStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.ValueTypeStereotype
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ValueTypeStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype.static final String
static final String
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. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
clearQuantityKind
(Element element) void
getQuantityKind
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) void
setQuantityKind
(Element element, Element value) void
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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:
-
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:
-
-
Constructor Details
-
ValueTypeStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getQuantityKindProperty
-
getUnitProperty
-
setQuantityKind
-
clearQuantityKind
-
getQuantityKind
-
setUnit
-
clearUnit
-
getUnit
-
clear
protected void clear() -
is
-
isInstance
-