Subversion Repositories XServices

Rev

View as "text/plain" | Blame | Last modification | View Log | Download | RSS feed


package net.brutex.sbm.wsclient;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for FileAttachmentContents complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="FileAttachmentContents">
 *   &lt;complexContent>
 *     &lt;extension base="{urn:aewebservices71}FileAttachment">
 *       &lt;sequence>
 *         &lt;element name="checksum" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="encodedContents" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FileAttachmentContents", propOrder = {
    "checksum",
    "encodedContents"
})
public class FileAttachmentContents
    extends FileAttachment
{

    protected long checksum;
    @XmlElement(required = true)
    protected byte[] encodedContents;

    /**
     * Gets the value of the checksum property.
     * 
     */
    public long getChecksum() {
        return checksum;
    }

    /**
     * Sets the value of the checksum property.
     * 
     */
    public void setChecksum(long value) {
        this.checksum = value;
    }

    /**
     * Gets the value of the encodedContents property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getEncodedContents() {
        return encodedContents;
    }

    /**
     * Sets the value of the encodedContents property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setEncodedContents(byte[] value) {
        this.encodedContents = ((byte[]) value);
    }

}