//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.07.12 at 11:32:44 AM EEST
//
package org.agnitas.emm.springws.jaxb;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for Attachment complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Attachment">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="componentID" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="componentType" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="componentName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="data" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Attachment", propOrder = {
})
public class Attachment {
protected int componentID;
@XmlElement(required = true)
protected String mimeType;
protected int componentType;
@XmlElement(required = true)
protected String componentName;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(DateAdapter.class)
@XmlSchemaType(name = "dateTime")
protected Date timestamp;
protected int size;
protected byte[] data;
/**
* Gets the value of the componentID property.
*
*/
public int getComponentID() {
return componentID;
}
/**
* Sets the value of the componentID property.
*
*/
public void setComponentID(int value) {
this.componentID = value;
}
/**
* Gets the value of the mimeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimeType() {
return mimeType;
}
/**
* Sets the value of the mimeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimeType(String value) {
this.mimeType = value;
}
/**
* Gets the value of the componentType property.
*
*/
public int getComponentType() {
return componentType;
}
/**
* Sets the value of the componentType property.
*
*/
public void setComponentType(int value) {
this.componentType = value;
}
/**
* Gets the value of the componentName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComponentName() {
return componentName;
}
/**
* Sets the value of the componentName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComponentName(String value) {
this.componentName = value;
}
/**
* Gets the value of the timestamp property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getTimestamp() {
return timestamp;
}
/**
* Sets the value of the timestamp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimestamp(Date value) {
this.timestamp = value;
}
/**
* Gets the value of the size property.
*
*/
public int getSize() {
return size;
}
/**
* Sets the value of the size property.
*
*/
public void setSize(int value) {
this.size = value;
}
/**
* Gets the value of the data property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getData() {
return data;
}
/**
* Sets the value of the data property.
*
* @param value
* allowed object is
* byte[]
*/
public void setData(byte[] value) {
this.data = value;
}
}