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
FieldsModifier and TypeFieldDescriptionstatic final StringA kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype.static final Stringstatic final StringA 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearQuantityKind(Element element) voidgetQuantityKind(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) voidsetQuantityKind(Element element, Element value) voidMethods 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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getQuantityKindProperty
-
getUnitProperty
-
setQuantityKind
-
clearQuantityKind
-
getQuantityKind
-
setUnit
-
clearUnit
-
getUnit
-
clear
protected void clear() -
is
-
isInstance
-