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
_p
private Property
author
static java.lang.String
AUTHOR
static java.lang.String
CREATION_DATE
private Property
creationdate
static java.lang.String
LAST_MODIFIED_BY
private Property
lastmodifiedby
static java.lang.String
MODIFICATION_DATE
private Property
modificationdate
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
DiagramInfoStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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.StereotypeWrapper
Checks 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)
-
-