Package com.nomagic.magicdraw.sysml.util
Class MDCustomizationForSysMLProfile.UnitStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.MDCustomizationForSysMLProfile.UnitStereotype
-
- Enclosing class:
- MDCustomizationForSysMLProfile
public static class MDCustomizationForSysMLProfile.UnitStereotype extends com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MDCustomizationForSysMLProfile
_p
private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
definitionURI
static java.lang.String
DEFINITIONURI
private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
description
static java.lang.String
DESCRIPTION
private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
quantityKind
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
private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
symbol
static java.lang.String
SYMBOL
-
Constructor Summary
Constructors Modifier Constructor Description protected
UnitStereotype(MDCustomizationForSysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearDefinitionURI(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearDescription(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearQuantityKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearSymbol(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
java.lang.String
getDefinitionURI(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getDefinitionURIProperty()
java.lang.String
getDescription(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getDescriptionProperty()
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
getQuantityKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getQuantityKindProperty()
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype
getStereotype()
java.lang.String
getSymbol(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getSymbolProperty()
boolean
is(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
static boolean
isInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
setDefinitionURI(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.String value)
void
setDescription(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.String value)
void
setQuantityKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
setSymbol(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.String value)
-
-
-
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 com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property definitionURI
-
description
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property description
-
quantityKind
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property quantityKind
-
symbol
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property symbol
-
-
Constructor Detail
-
UnitStereotype
protected UnitStereotype(MDCustomizationForSysMLProfile profile)
-
-
Method Detail
-
getStereotype
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
- Specified by:
getStereotype
in classcom.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
getDefinitionURIProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getDefinitionURIProperty()
-
getDescriptionProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getDescriptionProperty()
-
getQuantityKindProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getQuantityKindProperty()
-
getSymbolProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getSymbolProperty()
-
setDefinitionURI
public void setDefinitionURI(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.lang.String value)
-
clearDefinitionURI
public void clearDefinitionURI(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getDefinitionURI
@CheckForNull public java.lang.String getDefinitionURI(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setDescription
public void setDescription(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.lang.String value)
-
clearDescription
public void clearDescription(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getDescription
@CheckForNull public java.lang.String getDescription(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setQuantityKind
public void setQuantityKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
clearQuantityKind
public void clearQuantityKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getQuantityKind
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getQuantityKind(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setSymbol
public void setSymbol(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.lang.String value)
-
clearSymbol
public void clearSymbol(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getSymbol
@CheckForNull public java.lang.String getSymbol(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
isInstance
public static boolean isInstance(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
-