public static class MagicDrawProfile.InfoStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHOR |
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
VERSION |
Modifier | Constructor and Description |
---|---|
protected |
InfoStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearAuthor(Element element) |
void |
clearVersion(Element element) |
java.lang.String |
getAuthor(Element element) |
Property |
getAuthorProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
java.lang.String |
getVersion(Element element) |
Property |
getVersionProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setAuthor(Element element,
java.lang.String value) |
void |
setVersion(Element element,
java.lang.String value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String AUTHOR
public static final java.lang.String VERSION
protected InfoStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getAuthorProperty()
@CheckForNull public Property getVersionProperty()
public void setAuthor(Element element, @CheckForNull java.lang.String value)
public void clearAuthor(Element element)
@CheckForNull public java.lang.String getAuthor(Element element)
public void setVersion(Element element, @CheckForNull java.lang.String value)
public void clearVersion(Element element)
@CheckForNull public java.lang.String getVersion(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)