Package lumis.portal.bigdata
Class Attachment
- java.lang.Object
-
- lumis.portal.bigdata.Attachment
-
- All Implemented Interfaces:
java.io.Serializable
@StableMinor(version="17.0", sinceVersion="8.1") public class Attachment extends java.lang.Object implements java.io.Serializable
Attachment to aDocument
object. Contains the information about a single attachment.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
- 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.java.lang.String
getContentType()
Returns the MIME content type for this attachment.java.lang.String
getName()
Returns the name for this attachment.Attachment
setContentProvider(IInputStreamProvider contentProvider)
Sets the content data for this attachment.Attachment
setContentType(java.lang.String contentType)
Sets the MIME content type for this attachment.Attachment
setName(java.lang.String name)
Sets the name for this attachment.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name for this attachment.- Returns:
- the name.
- Since:
- 8.1.0
-
setName
public Attachment setName(java.lang.String name)
Sets the name for this attachment.- Parameters:
name
- the name.- Since:
- 8.1.0
-
getContentType
public java.lang.String getContentType()
Returns the MIME content type for this attachment.- Returns:
- the MIME content type.
- Since:
- 8.1.0
-
setContentType
public Attachment setContentType(java.lang.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
-
-