org.apache.chemistry.opencmis.commons.impl.jaxb
Class CmisRenditionType

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisRenditionType

public class CmisRenditionType
extends Object

Java class for cmisRenditionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="cmisRenditionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="streamId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="mimetype" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="kind" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="height" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="width" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="renditionDocumentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  BigInteger height
           
protected  String kind
           
protected  BigInteger length
           
protected  String mimetype
           
protected  String renditionDocumentId
           
protected  String streamId
           
protected  String title
           
protected  BigInteger width
           
 
Constructor Summary
CmisRenditionType()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 BigInteger getHeight()
          Gets the value of the height property.
 String getKind()
          Gets the value of the kind property.
 BigInteger getLength()
          Gets the value of the length property.
 String getMimetype()
          Gets the value of the mimetype property.
 String getRenditionDocumentId()
          Gets the value of the renditionDocumentId property.
 String getStreamId()
          Gets the value of the streamId property.
 String getTitle()
          Gets the value of the title property.
 BigInteger getWidth()
          Gets the value of the width property.
 void setHeight(BigInteger value)
          Sets the value of the height property.
 void setKind(String value)
          Sets the value of the kind property.
 void setLength(BigInteger value)
          Sets the value of the length property.
 void setMimetype(String value)
          Sets the value of the mimetype property.
 void setRenditionDocumentId(String value)
          Sets the value of the renditionDocumentId property.
 void setStreamId(String value)
          Sets the value of the streamId property.
 void setTitle(String value)
          Sets the value of the title property.
 void setWidth(BigInteger value)
          Sets the value of the width property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

streamId

protected String streamId

mimetype

protected String mimetype

length

protected BigInteger length

kind

protected String kind

title

protected String title

height

protected BigInteger height

width

protected BigInteger width

renditionDocumentId

protected String renditionDocumentId

any

protected List<Object> any
Constructor Detail

CmisRenditionType

public CmisRenditionType()
Method Detail

getStreamId

public String getStreamId()
Gets the value of the streamId property.

Returns:
possible object is String

setStreamId

public void setStreamId(String value)
Sets the value of the streamId property.

Parameters:
value - allowed object is String

getMimetype

public String getMimetype()
Gets the value of the mimetype property.

Returns:
possible object is String

setMimetype

public void setMimetype(String value)
Sets the value of the mimetype property.

Parameters:
value - allowed object is String

getLength

public BigInteger getLength()
Gets the value of the length property.

Returns:
possible object is BigInteger

setLength

public void setLength(BigInteger value)
Sets the value of the length property.

Parameters:
value - allowed object is BigInteger

getKind

public String getKind()
Gets the value of the kind property.

Returns:
possible object is String

setKind

public void setKind(String value)
Sets the value of the kind property.

Parameters:
value - allowed object is String

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getHeight

public BigInteger getHeight()
Gets the value of the height property.

Returns:
possible object is BigInteger

setHeight

public void setHeight(BigInteger value)
Sets the value of the height property.

Parameters:
value - allowed object is BigInteger

getWidth

public BigInteger getWidth()
Gets the value of the width property.

Returns:
possible object is BigInteger

setWidth

public void setWidth(BigInteger value)
Sets the value of the width property.

Parameters:
value - allowed object is BigInteger

getRenditionDocumentId

public String getRenditionDocumentId()
Gets the value of the renditionDocumentId property.

Returns:
possible object is String

setRenditionDocumentId

public void setRenditionDocumentId(String value)
Sets the value of the renditionDocumentId property.

Parameters:
value - allowed object is String

getAny

public List<Object> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.