public class RenditionDataImpl extends AbstractExtensionData implements RenditionData
| Modifier and Type | Field and Description |
|---|---|
protected BigInteger |
height |
protected BigInteger |
length |
protected String |
renditionDocumentId |
protected String |
streamId |
protected BigInteger |
width |
| 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 byte 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, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionsprotected String streamId
protected BigInteger length
protected BigInteger width
protected BigInteger height
protected String renditionDocumentId
public RenditionDataImpl()
public RenditionDataImpl(String streamId, String mimeType, BigInteger length, String kind, String title, BigInteger width, BigInteger height, String renditionDocumentId)
public String getStreamId()
RenditionDatagetStreamId in interface RenditionDatapublic void setStreamId(String streamId)
public String getMimeType()
RenditionDatagetMimeType in interface RenditionDatapublic void setMimeType(String mimeType)
public BigInteger getBigLength()
RenditionDatagetBigLength in interface RenditionDatapublic 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 RenditionDatapublic void setKind(String kind)
public String getTitle()
RenditionDatagetTitle in interface RenditionDatapublic void setTitle(String title)
public BigInteger getBigHeight()
RenditionDatagetBigHeight in interface RenditionDatapublic void setBigHeight(BigInteger height)
public BigInteger getBigWidth()
RenditionDatagetBigWidth in interface RenditionDatapublic void setBigWidth(BigInteger width)
public String getRenditionDocumentId()
RenditionDatagetRenditionDocumentId in interface RenditionDatapublic void setRenditionDocumentId(String renditionDocumentId)
public String toString()
toString in class AbstractExtensionDataCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.