Package com.emc.documentum.rest.model
Class ContentDataSource
java.lang.Object
com.emc.documentum.rest.model.ContentDataSource
The content data source of the content object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget the charset/encoding of the contentgetData()
Return the data source of the contentReturn the format of the contentlong
getSize()
Return the content sizevoid
setCharset
(String charset) set the charset/encoding of the contentvoid
setData
(DataSource data) Set the data source of the contentvoid
Set the format of the contentvoid
setModifier
(String modifier) set the modifier of the contentvoid
setSize
(long size) Set the content size.
-
Constructor Details
-
ContentDataSource
public ContentDataSource() -
ContentDataSource
-
-
Method Details
-
getFormat
Return the format of the content- Returns:
- format
-
setFormat
Set the format of the content- Parameters:
format
- format to set
-
getSize
public long getSize()Return the content size- Returns:
- the content size
-
setSize
public void setSize(long size) Set the content size. If the size is unknown, set it as 0.- Parameters:
size
- the content size
-
getData
Return the data source of the content- Returns:
- the date source of the content
-
setData
Set the data source of the content- Parameters:
data
- the date source of the content
-
getCharset
get the charset/encoding of the content- Returns:
- the charset
-
setCharset
set the charset/encoding of the content- Parameters:
charset
- the content charset
-
getModifier
- Returns:
- the modifier of the content
-
setModifier
set the modifier of the content- Parameters:
modifier
- the modifier, can be null
-