Package com.nomagic.magicdraw.sysml.util
Class MDCustomizationForSysMLProfile.UnitStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.MDCustomizationForSysMLProfile.UnitStereotype
-
- Enclosing class:
- MDCustomizationForSysMLProfile
public static class MDCustomizationForSysMLProfile.UnitStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MDCustomizationForSysMLProfile_pprivate PropertydefinitionURIstatic java.lang.StringDEFINITIONURIprivate Propertydescriptionstatic java.lang.StringDESCRIPTIONprivate PropertyquantityKindstatic 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_NAMEprivate Propertysymbolstatic java.lang.StringSYMBOL
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnitStereotype(MDCustomizationForSysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearDefinitionURI(Element element)voidclearDescription(Element element)voidclearQuantityKind(Element element)voidclearSymbol(Element element)java.lang.StringgetDefinitionURI(Element element)PropertygetDefinitionURIProperty()java.lang.StringgetDescription(Element element)PropertygetDescriptionProperty()ElementgetQuantityKind(Element element)PropertygetQuantityKindProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.lang.StringgetSymbol(Element element)PropertygetSymbolProperty()booleanis(Element element)static booleanisInstance(Element element)voidsetDefinitionURI(Element element, java.lang.String value)voidsetDescription(Element element, java.lang.String value)voidsetQuantityKind(Element element, Element value)voidsetSymbol(Element element, java.lang.String value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
DEFINITIONURI
public static final java.lang.String DEFINITIONURI
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
- 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
-
SYMBOL
public static final java.lang.String SYMBOL
- See Also:
- Constant Field Values
-
_p
private final MDCustomizationForSysMLProfile _p
-
definitionURI
@CheckForNull private Property definitionURI
-
description
@CheckForNull private Property description
-
quantityKind
@CheckForNull private Property quantityKind
-
symbol
@CheckForNull private Property symbol
-
-
Constructor Detail
-
UnitStereotype
protected UnitStereotype(MDCustomizationForSysMLProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getDefinitionURIProperty
@CheckForNull public Property getDefinitionURIProperty()
-
getDescriptionProperty
@CheckForNull public Property getDescriptionProperty()
-
getQuantityKindProperty
@CheckForNull public Property getQuantityKindProperty()
-
getSymbolProperty
@CheckForNull public Property getSymbolProperty()
-
setDefinitionURI
public void setDefinitionURI(Element element, @CheckForNull java.lang.String value)
-
clearDefinitionURI
public void clearDefinitionURI(Element element)
-
getDefinitionURI
@CheckForNull public java.lang.String getDefinitionURI(Element element)
-
setDescription
public void setDescription(Element element, @CheckForNull java.lang.String value)
-
clearDescription
public void clearDescription(Element element)
-
getDescription
@CheckForNull public java.lang.String getDescription(Element element)
-
clearQuantityKind
public void clearQuantityKind(Element element)
-
setSymbol
public void setSymbol(Element element, @CheckForNull java.lang.String value)
-
clearSymbol
public void clearSymbol(Element element)
-
getSymbol
@CheckForNull public java.lang.String getSymbol(Element element)
-
clear
protected void clear()
- Overrides:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-