public static class MagicDrawProfile.DiagramInfoStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHOR |
static java.lang.String |
CREATION_DATE |
static java.lang.String |
LAST_MODIFIED_BY |
static java.lang.String |
MODIFICATION_DATE |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
DiagramInfoStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearAuthor(Element element) |
void |
clearCreationdate(Element element) |
void |
clearLastmodifiedby(Element element) |
void |
clearModificationdate(Element element) |
java.lang.String |
getAuthor(Element element) |
Property |
getAuthorProperty() |
java.lang.Object |
getCreationdate(Element element) |
Property |
getCreationdateProperty() |
java.lang.String |
getLastmodifiedby(Element element) |
Property |
getLastmodifiedbyProperty() |
java.lang.Object |
getModificationdate(Element element) |
Property |
getModificationdateProperty() |
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 |
setAuthor(Element element,
java.lang.String value) |
void |
setCreationdate(Element element,
java.lang.Object value) |
void |
setLastmodifiedby(Element element,
java.lang.String value) |
void |
setModificationdate(Element element,
java.lang.Object 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 CREATION_DATE
public static final java.lang.String LAST_MODIFIED_BY
public static final java.lang.String MODIFICATION_DATE
protected DiagramInfoStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getAuthorProperty()
@CheckForNull public Property getCreationdateProperty()
@CheckForNull public Property getLastmodifiedbyProperty()
@CheckForNull public Property getModificationdateProperty()
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 setCreationdate(Element element, @CheckForNull java.lang.Object value)
public void clearCreationdate(Element element)
@CheckForNull public java.lang.Object getCreationdate(Element element)
public void setLastmodifiedby(Element element, @CheckForNull java.lang.String value)
public void clearLastmodifiedby(Element element)
@CheckForNull public java.lang.String getLastmodifiedby(Element element)
public void setModificationdate(Element element, @CheckForNull java.lang.Object value)
public void clearModificationdate(Element element)
@CheckForNull public java.lang.Object getModificationdate(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)