public static class MDCustomizationForSysMLProfile.UnitStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFINITIONURI |
static java.lang.String |
DESCRIPTION |
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 |
static java.lang.String |
SYMBOL |
| Modifier | Constructor and Description |
|---|---|
protected |
UnitStereotype(MDCustomizationForSysMLProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
clearDefinitionURI(Element element) |
void |
clearDescription(Element element) |
void |
clearQuantityKind(Element element) |
void |
clearSymbol(Element element) |
java.lang.String |
getDefinitionURI(Element element) |
Property |
getDefinitionURIProperty() |
java.lang.String |
getDescription(Element element) |
Property |
getDescriptionProperty() |
Element |
getQuantityKind(Element element) |
Property |
getQuantityKindProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
java.lang.String |
getSymbol(Element element) |
Property |
getSymbolProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setDefinitionURI(Element element,
java.lang.String value) |
void |
setDescription(Element element,
java.lang.String value) |
void |
setQuantityKind(Element element,
Element value) |
void |
setSymbol(Element element,
java.lang.String value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DEFINITIONURI
public static final java.lang.String DESCRIPTION
public static final java.lang.String QUANTITYKIND
public static final java.lang.String SYMBOL
protected UnitStereotype(MDCustomizationForSysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getDefinitionURIProperty()
@CheckForNull public Property getDescriptionProperty()
@CheckForNull public Property getQuantityKindProperty()
@CheckForNull public Property getSymbolProperty()
public void setDefinitionURI(Element element, @CheckForNull java.lang.String value)
public void clearDefinitionURI(Element element)
@CheckForNull public java.lang.String getDefinitionURI(Element element)
public void setDescription(Element element, @CheckForNull java.lang.String value)
public void clearDescription(Element element)
@CheckForNull public java.lang.String getDescription(Element element)
public void clearQuantityKind(Element element)
public void setSymbol(Element element, @CheckForNull java.lang.String value)
public void clearSymbol(Element element)
@CheckForNull public java.lang.String getSymbol(Element element)
protected void clear()
clear in class ProfileImplementation.ProfileElementWrapper<Stereotype>public boolean is(@CheckForNull
Element element)
ProfileImplementation.StereotypeWrapperis in class ProfileImplementation.StereotypeWrapperelement - elementpublic static boolean isInstance(@CheckForNull
Element element)