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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the charset/encoding of the contentgetData()Return the data source of the contentReturn the format of the contentlonggetSize()Return the content sizevoidsetCharset(String charset) set the charset/encoding of the contentvoidsetData(DataSource data) Set the data source of the contentvoidSet the format of the contentvoidsetModifier(String modifier) set the modifier of the contentvoidsetSize(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
-