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 FileContents complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="FileContents">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &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;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FileContents", propOrder = {
    "checksum",
    "encodedContents"
})
public class FileContents {

    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);
    }

}