Class AttachmentImpl
Object
AttachmentImpl
- All Implemented Interfaces:
Attachment,MutableAttachment,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllowedMimeTypes(String mimeType) booleanid()booleanname()voidremoveAllowedMimeTypes(String mimeType) voidsetAllowedMimeTypes(Collection<String> mimeTypes) voidsetCanBeRemovedByAttachmentManager(boolean canBeRemoved) voidsetDescription(String description) voidvoidvoidsetRequired(boolean required) voidtag()
-
Constructor Details
-
AttachmentImpl
public AttachmentImpl()
-
-
Method Details
-
id
- Specified by:
idin interfaceAttachment
-
isRequired
public boolean isRequired()- Specified by:
isRequiredin interfaceAttachment
-
name
- Specified by:
namein interfaceAttachment
-
description
- Specified by:
descriptionin interfaceAttachment
-
allowedMimeTypes
- Specified by:
allowedMimeTypesin interfaceAttachment
-
canBeRemovedByAttachmentManager
public boolean canBeRemovedByAttachmentManager()- Specified by:
canBeRemovedByAttachmentManagerin interfaceAttachment
-
tag
- Specified by:
tagin interfaceAttachment
-
setId
- Specified by:
setIdin interfaceMutableAttachment
-
setRequired
public void setRequired(boolean required) - Specified by:
setRequiredin interfaceMutableAttachment
-
setCanBeRemovedByAttachmentManager
public void setCanBeRemovedByAttachmentManager(boolean canBeRemoved) - Specified by:
setCanBeRemovedByAttachmentManagerin interfaceMutableAttachment
-
setName
- Specified by:
setNamein interfaceMutableAttachment
-
setDescription
- Specified by:
setDescriptionin interfaceMutableAttachment
-
setTag
- Specified by:
setTagin interfaceMutableAttachment
-
addAllowedMimeTypes
- Specified by:
addAllowedMimeTypesin interfaceMutableAttachment
-
removeAllowedMimeTypes
- Specified by:
removeAllowedMimeTypesin interfaceMutableAttachment
-
setAllowedMimeTypes
- Specified by:
setAllowedMimeTypesin interfaceMutableAttachment
-