public class Attachment
extends java.lang.Object
Java class for Attachment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attachment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="ValidationErrors" type="{}ArrayOfValidationError" minOccurs="0"/>
<element name="Warnings" type="{}ArrayOfWarning" minOccurs="0"/>
<element name="AttachmentID" type="{}uniqueIdentifier"/>
<element name="FileName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Url" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ContentLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
</all>
<attribute name="status" type="{}entityValidationStatus" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
attachmentID |
protected java.math.BigInteger |
contentLength |
protected java.lang.String |
fileName |
protected java.lang.String |
mimeType |
protected EntityValidationStatus |
status |
protected java.lang.String |
url |
protected ArrayOfValidationError |
validationErrors |
protected ArrayOfWarning |
warnings |
| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttachmentID()
Gets the value of the attachmentID property.
|
java.math.BigInteger |
getContentLength()
Gets the value of the contentLength property.
|
java.lang.String |
getFileName()
Gets the value of the fileName property.
|
java.lang.String |
getMimeType()
Gets the value of the mimeType property.
|
EntityValidationStatus |
getStatus()
Gets the value of the status property.
|
java.lang.String |
getUrl()
Gets the value of the url property.
|
java.util.List<ValidationError> |
getValidationErrors() |
java.util.List<Warning> |
getWarnings() |
void |
setAttachmentID(java.lang.String value)
Sets the value of the attachmentID property.
|
void |
setContentLength(java.math.BigInteger value)
Sets the value of the contentLength property.
|
void |
setFileName(java.lang.String value)
Sets the value of the fileName property.
|
void |
setMimeType(java.lang.String value)
Sets the value of the mimeType property.
|
void |
setStatus(EntityValidationStatus value)
Sets the value of the status property.
|
void |
setUrl(java.lang.String value)
Sets the value of the url property.
|
void |
setValidationErrors(ArrayOfValidationError value)
Sets the value of the validationErrors property.
|
void |
setWarnings(ArrayOfWarning value)
Sets the value of the warnings property.
|
protected ArrayOfValidationError validationErrors
protected ArrayOfWarning warnings
protected java.lang.String attachmentID
protected java.lang.String fileName
protected java.lang.String url
protected java.lang.String mimeType
protected java.math.BigInteger contentLength
protected EntityValidationStatus status
public void setValidationErrors(ArrayOfValidationError value)
value - allowed object is
ArrayOfValidationErrorpublic void setWarnings(ArrayOfWarning value)
value - allowed object is
ArrayOfWarningpublic java.lang.String getAttachmentID()
Stringpublic void setAttachmentID(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getFileName()
Stringpublic void setFileName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getUrl()
Stringpublic void setUrl(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getMimeType()
Stringpublic void setMimeType(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getContentLength()
BigIntegerpublic void setContentLength(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic EntityValidationStatus getStatus()
EntityValidationStatuspublic void setStatus(EntityValidationStatus value)
value - allowed object is
EntityValidationStatuspublic java.util.List<ValidationError> getValidationErrors()
public java.util.List<Warning> getWarnings()