public class RenditionDataImpl extends AbstractExtensionData implements RenditionData
Constructor and Description |
---|
RenditionDataImpl() |
RenditionDataImpl(String streamId,
String mimeType,
BigInteger length,
String kind,
String title,
BigInteger width,
BigInteger height,
String renditionDocumentId) |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getBigHeight()
Returns the height in pixels, if the rendition is an image.
|
BigInteger |
getBigLength()
Returns the size of the rendition in bytes, if available.
|
BigInteger |
getBigWidth()
Returns the width in pixels, if the rendition is an image.
|
String |
getKind()
Returns the kind of the rendition.
|
String |
getMimeType()
Returns the MIME type of the rendition.
|
String |
getRenditionDocumentId()
Returns the object id of the rendition document if the rendition is a
stand-alone document.
|
String |
getStreamId()
Returns the stream ID of the rendition.
|
String |
getTitle()
Returns the title of the rendition.
|
void |
setBigHeight(BigInteger height) |
void |
setBigLength(BigInteger length) |
void |
setBigWidth(BigInteger width) |
void |
setKind(String kind) |
void |
setMimeType(String mimeType) |
void |
setRenditionDocumentId(String renditionDocumentId) |
void |
setStreamId(String streamId) |
void |
setTitle(String title) |
String |
toString() |
getExtensions, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public RenditionDataImpl()
public RenditionDataImpl(String streamId, String mimeType, BigInteger length, String kind, String title, BigInteger width, BigInteger height, String renditionDocumentId)
public String getStreamId()
RenditionData
The stream ID is required to fetch the content of the rendition.
getStreamId
in interface RenditionData
null
public void setStreamId(String streamId)
public String getMimeType()
RenditionData
getMimeType
in interface RenditionData
null
public void setMimeType(String mimeType)
public BigInteger getBigLength()
RenditionData
getBigLength
in interface RenditionData
null
public void setBigLength(BigInteger length)
public String getKind()
RenditionData
The CMIS specification only defines the kind cmis:thumbnail
, but
a repository can provide other kinds.
getKind
in interface RenditionData
null
public void setKind(String kind)
public String getTitle()
RenditionData
getTitle
in interface RenditionData
public void setTitle(String title)
public BigInteger getBigHeight()
RenditionData
getBigHeight
in interface RenditionData
public void setBigHeight(BigInteger height)
public BigInteger getBigWidth()
RenditionData
getBigWidth
in interface RenditionData
public void setBigWidth(BigInteger width)
public String getRenditionDocumentId()
RenditionData
getRenditionDocumentId
in interface RenditionData
null
public void setRenditionDocumentId(String renditionDocumentId)
public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.