Package lumis.portal.bigdata
Class Attachment
- java.lang.Object
-
- lumis.portal.bigdata.Attachment
-
- All Implemented Interfaces:
Serializable
@StableMinor(version="14.1", sinceVersion="8.1") public class Attachment extends Object implements Serializable
Attachment to aDocument
object. Contains the information about a single attachment.- Since:
- 8.1.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IInputStreamProvider
getContentProvider()
Returns the content data for this attachment.String
getContentType()
Returns the MIME content type for this attachment.String
getName()
Returns the name for this attachment.Attachment
setContentProvider(IInputStreamProvider contentProvider)
Sets the content data for this attachment.Attachment
setContentType(String contentType)
Sets the MIME content type for this attachment.Attachment
setName(String name)
Sets the name for this attachment.
-
-
-
Method Detail
-
getName
public String getName()
Returns the name for this attachment.- Returns:
- the name.
- Since:
- 8.1.0
-
setName
public Attachment setName(String name)
Sets the name for this attachment.- Parameters:
name
- the name.- Since:
- 8.1.0
-
getContentType
public String getContentType()
Returns the MIME content type for this attachment.- Returns:
- the MIME content type.
- Since:
- 8.1.0
-
setContentType
public Attachment setContentType(String contentType)
Sets the MIME content type for this attachment.- Parameters:
contentType
- the MIME content type.- Since:
- 8.1.0
-
getContentProvider
public IInputStreamProvider getContentProvider()
Returns the content data for this attachment.- Returns:
- the content data for this attachment.
- Since:
- 8.1.0
-
setContentProvider
public Attachment setContentProvider(IInputStreamProvider contentProvider)
Sets the content data for this attachment.- Parameters:
content
- the content data.- Since:
- 8.1.0
-
-