public class DocumentBlob extends Object
Java class for documentBlob complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="documentBlob"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="blob" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> <element name="encoding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="extensions" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="mimetype" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
DocumentBlob() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlob()
Gets the value of the blob property.
|
String |
getEncoding()
Gets the value of the encoding property.
|
List<String> |
getExtensions()
Gets the value of the extensions property.
|
String |
getMimetype()
Gets the value of the mimetype property.
|
String |
getMimeType()
Gets the value of the mimeType property.
|
String |
getName()
Gets the value of the name property.
|
String |
getUrl()
Gets the value of the url property.
|
void |
setBlob(byte[] value)
Sets the value of the blob property.
|
void |
setEncoding(String value)
Sets the value of the encoding property.
|
void |
setMimetype(String value)
Sets the value of the mimetype property.
|
void |
setMimeType(String value)
Sets the value of the mimeType property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setUrl(String value)
Sets the value of the url property.
|
public byte[] getBlob()
public void setBlob(byte[] value)
value
- allowed object is
byte[]public String getEncoding()
String
public void setEncoding(String value)
value
- allowed object is
String
public List<String> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getMimeType()
String
public void setMimeType(String value)
value
- allowed object is
String
public String getMimetype()
String
public void setMimetype(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
Copyright © 2013 Nuxeo SA. All Rights Reserved.