public static class SysMLProfile.BasicIntervalStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAX |
static java.lang.String |
MIN |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
BasicIntervalStereotype(SysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearMax(Element element) |
void |
clearMin(Element element) |
java.lang.Double |
getMax(Element element) |
Property |
getMaxProperty() |
java.lang.Double |
getMin(Element element) |
Property |
getMinProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setMax(Element element,
java.lang.Double value) |
void |
setMin(Element element,
java.lang.Double value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String MAX
public static final java.lang.String MIN
protected BasicIntervalStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getMaxProperty()
@CheckForNull public Property getMinProperty()
public void setMax(Element element, @CheckForNull java.lang.Double value)
public void clearMax(Element element)
@CheckForNull public java.lang.Double getMax(Element element)
public void setMin(Element element, @CheckForNull java.lang.Double value)
public void clearMin(Element element)
@CheckForNull public java.lang.Double getMin(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)