public class Attachment
extends java.lang.Object
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Attachment">
<xs:all>
<xs:element type="ArrayOfValidationError" name="ValidationErrors" minOccurs="0" maxOccurs="1"/>
<xs:element type="ArrayOfWarning" name="Warnings" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="AttachmentID" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:string" name="FileName" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:string" name="Url" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="MimeType" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:integer" name="ContentLength" minOccurs="0" maxOccurs="1"/>
</xs:all>
<xs:attribute type="entityValidationStatus" use="optional" name="status"/>
</xs:complexType>
| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttachmentID()
Get the 'AttachmentID' element value.
|
java.math.BigInteger |
getContentLength()
Get the 'ContentLength' element value.
|
java.lang.String |
getFileName()
Get the 'FileName' element value.
|
java.lang.String |
getMimeType()
Get the 'MimeType' element value.
|
EntityValidationStatus |
getStatus()
Get the 'status' attribute value.
|
java.lang.String |
getUrl()
Get the 'Url' element value.
|
ArrayOfValidationError |
getValidationErrors()
Get the 'ValidationErrors' element value.
|
java.util.List<ValidationError> |
getValidationErrorsAsList() |
ArrayOfWarning |
getWarnings()
Get the 'Warnings' element value.
|
java.util.List<Warning> |
getWarningsAsList() |
void |
setAttachmentID(java.lang.String attachmentID)
Set the 'AttachmentID' element value.
|
void |
setContentLength(java.math.BigInteger contentLength)
Set the 'ContentLength' element value.
|
void |
setFileName(java.lang.String fileName)
Set the 'FileName' element value.
|
void |
setMimeType(java.lang.String mimeType)
Set the 'MimeType' element value.
|
void |
setStatus(EntityValidationStatus status)
Set the 'status' attribute value.
|
void |
setUrl(java.lang.String url)
Set the 'Url' element value.
|
void |
setValidationErrors(ArrayOfValidationError validationErrors)
Set the 'ValidationErrors' element value.
|
void |
setWarnings(ArrayOfWarning warnings)
Set the 'Warnings' element value.
|
public ArrayOfValidationError getValidationErrors()
public void setValidationErrors(ArrayOfValidationError validationErrors)
validationErrors - public java.util.List<ValidationError> getValidationErrorsAsList()
public ArrayOfWarning getWarnings()
public void setWarnings(ArrayOfWarning warnings)
warnings - public java.util.List<Warning> getWarningsAsList()
public java.lang.String getAttachmentID()
public void setAttachmentID(java.lang.String attachmentID)
attachmentID - public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
mimeType - public java.math.BigInteger getContentLength()
public void setContentLength(java.math.BigInteger contentLength)
contentLength - public EntityValidationStatus getStatus()
public void setStatus(EntityValidationStatus status)
status -