Package com.nomagic.uml2
Class MagicDrawProfile.AttachedFileStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- 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 static java.lang.String
ATTACHEDAT
static java.lang.String
AUTHOR
static java.lang.String
FILE
static java.lang.String
MODIFIEDAT
static java.lang.String
SIZE
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttachedFileStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearAttachedAt(Element element)
void
clearAuthor(Element element)
void
clearFile(Element element)
void
clearModifiedAt(Element element)
void
clearSize(Element element)
java.lang.Object
getAttachedAt(Element element)
Property
getAttachedAtProperty()
java.lang.String
getAuthor(Element element)
Property
getAuthorProperty()
java.lang.String
getFile(Element element)
Property
getFileProperty()
java.lang.Object
getModifiedAt(Element element)
Property
getModifiedAtProperty()
java.lang.String
getSize(Element element)
Property
getSizeProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setAttachedAt(Element element, java.lang.Object value)
void
setAuthor(Element element, java.lang.String value)
void
setFile(Element element, java.lang.String value)
void
setModifiedAt(Element element, java.lang.Object value)
void
setSize(Element element, java.lang.String value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
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
-
-
Constructor Detail
-
AttachedFileStereotype
protected AttachedFileStereotype(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
-
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()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-