Package com.nomagic.uml2
Class MagicDrawProfile.AttachedFileStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.AttachedFileStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.AttachedFileStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile_pprivate PropertyattachedAtstatic java.lang.StringATTACHEDATprivate Propertyauthorstatic java.lang.StringAUTHORprivate Propertyfilestatic java.lang.StringFILEprivate PropertymodifiedAtstatic java.lang.StringMODIFIEDATprivate Propertysizestatic java.lang.StringSIZEstatic java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttachedFileStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearAttachedAt(Element element)voidclearAuthor(Element element)voidclearFile(Element element)voidclearModifiedAt(Element element)voidclearSize(Element element)java.lang.ObjectgetAttachedAt(Element element)PropertygetAttachedAtProperty()java.lang.StringgetAuthor(Element element)PropertygetAuthorProperty()java.lang.StringgetFile(Element element)PropertygetFileProperty()java.lang.ObjectgetModifiedAt(Element element)PropertygetModifiedAtProperty()java.lang.StringgetSize(Element element)PropertygetSizeProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidsetAttachedAt(Element element, java.lang.Object value)voidsetAuthor(Element element, java.lang.String value)voidsetFile(Element element, java.lang.String value)voidsetModifiedAt(Element element, java.lang.Object value)voidsetSize(Element element, java.lang.String 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
-
ATTACHEDAT
public static final java.lang.String ATTACHEDAT
- See Also:
- Constant Field Values
-
AUTHOR
public static final java.lang.String AUTHOR
- See Also:
- Constant Field Values
-
FILE
public static final java.lang.String FILE
- See Also:
- Constant Field Values
-
MODIFIEDAT
public static final java.lang.String MODIFIEDAT
- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
attachedAt
@CheckForNull private Property attachedAt
-
author
@CheckForNull private Property author
-
file
@CheckForNull private Property file
-
modifiedAt
@CheckForNull private Property modifiedAt
-
size
@CheckForNull private Property size
-
-
Constructor Detail
-
AttachedFileStereotype
protected AttachedFileStereotype(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
-
getAttachedAtProperty
@CheckForNull public Property getAttachedAtProperty()
-
getAuthorProperty
@CheckForNull public Property getAuthorProperty()
-
getFileProperty
@CheckForNull public Property getFileProperty()
-
getModifiedAtProperty
@CheckForNull public Property getModifiedAtProperty()
-
getSizeProperty
@CheckForNull public Property getSizeProperty()
-
setAttachedAt
public void setAttachedAt(Element element, @CheckForNull java.lang.Object value)
-
clearAttachedAt
public void clearAttachedAt(Element element)
-
getAttachedAt
@CheckForNull public java.lang.Object getAttachedAt(Element element)
-
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)
-
setFile
public void setFile(Element element, @CheckForNull java.lang.String value)
-
clearFile
public void clearFile(Element element)
-
getFile
@CheckForNull public java.lang.String getFile(Element element)
-
setModifiedAt
public void setModifiedAt(Element element, @CheckForNull java.lang.Object value)
-
clearModifiedAt
public void clearModifiedAt(Element element)
-
getModifiedAt
@CheckForNull public java.lang.Object getModifiedAt(Element element)
-
setSize
public void setSize(Element element, @CheckForNull java.lang.String value)
-
clearSize
public void clearSize(Element element)
-
getSize
@CheckForNull public java.lang.String getSize(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)
-
-