Package com.nomagic.uml2
Class MagicDrawProfile.DiagramInfoStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.DiagramInfoStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.DiagramInfoStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile_pprivate Propertyauthorstatic java.lang.StringAUTHORstatic java.lang.StringCREATION_DATEprivate Propertycreationdatestatic java.lang.StringLAST_MODIFIED_BYprivate Propertylastmodifiedbystatic java.lang.StringMODIFICATION_DATEprivate Propertymodificationdatestatic java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedDiagramInfoStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearAuthor(Element element)voidclearCreationdate(Element element)voidclearLastmodifiedby(Element element)voidclearModificationdate(Element element)java.lang.StringgetAuthor(Element element)PropertygetAuthorProperty()java.lang.ObjectgetCreationdate(Element element)PropertygetCreationdateProperty()java.lang.StringgetLastmodifiedby(Element element)PropertygetLastmodifiedbyProperty()java.lang.ObjectgetModificationdate(Element element)PropertygetModificationdateProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidsetAuthor(Element element, java.lang.String value)voidsetCreationdate(Element element, java.lang.Object value)voidsetLastmodifiedby(Element element, java.lang.String value)voidsetModificationdate(Element element, java.lang.Object value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
AUTHOR
public static final java.lang.String AUTHOR
- See Also:
- Constant Field Values
-
CREATION_DATE
public static final java.lang.String CREATION_DATE
- See Also:
- Constant Field Values
-
LAST_MODIFIED_BY
public static final java.lang.String LAST_MODIFIED_BY
- See Also:
- Constant Field Values
-
MODIFICATION_DATE
public static final java.lang.String MODIFICATION_DATE
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
author
@CheckForNull private Property author
-
creationdate
@CheckForNull private Property creationdate
-
lastmodifiedby
@CheckForNull private Property lastmodifiedby
-
modificationdate
@CheckForNull private Property modificationdate
-
-
Constructor Detail
-
DiagramInfoStereotype
protected DiagramInfoStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getAuthorProperty
@CheckForNull public Property getAuthorProperty()
-
getCreationdateProperty
@CheckForNull public Property getCreationdateProperty()
-
getLastmodifiedbyProperty
@CheckForNull public Property getLastmodifiedbyProperty()
-
getModificationdateProperty
@CheckForNull public Property getModificationdateProperty()
-
setAuthor
public void setAuthor(Element element, @CheckForNull java.lang.String value)
-
clearAuthor
public void clearAuthor(Element element)
-
getAuthor
@CheckForNull public java.lang.String getAuthor(Element element)
-
setCreationdate
public void setCreationdate(Element element, @CheckForNull java.lang.Object value)
-
clearCreationdate
public void clearCreationdate(Element element)
-
getCreationdate
@CheckForNull public java.lang.Object getCreationdate(Element element)
-
setLastmodifiedby
public void setLastmodifiedby(Element element, @CheckForNull java.lang.String value)
-
clearLastmodifiedby
public void clearLastmodifiedby(Element element)
-
getLastmodifiedby
@CheckForNull public java.lang.String getLastmodifiedby(Element element)
-
setModificationdate
public void setModificationdate(Element element, @CheckForNull java.lang.Object value)
-
clearModificationdate
public void clearModificationdate(Element element)
-
getModificationdate
@CheckForNull public java.lang.Object getModificationdate(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Parameters:
element- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-