// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // 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: 2011.08.11 at 04:38:10 AM PDT // package org.ebayopensource.turmeric.common.v1.types; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p>Java class for BaseAttachmentType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BaseAttachmentType"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> * <attribute name="content-type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * <attribute name="content-length" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BaseAttachmentType", propOrder = { "value" }) public class BaseAttachmentType { @XmlValue protected byte[] value; @XmlAttribute(name = "content-type", required = true) @XmlSchemaType(name = "anySimpleType") protected String contentType; @XmlAttribute(name = "content-length") @XmlSchemaType(name = "anySimpleType") protected String contentLength; /** * Gets the value of the value property. * * @return * possible object is * byte[] */ public byte[] getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * byte[] */ public void setValue(byte[] value) { this.value = ((byte[]) value); } /** * Gets the value of the contentType property. * * @return * possible object is * {@link String } * */ public String getContentType() { return contentType; } /** * Sets the value of the contentType property. * * @param value * allowed object is * {@link String } * */ public void setContentType(String value) { this.contentType = value; } /** * Gets the value of the contentLength property. * * @return * possible object is * {@link String } * */ public String getContentLength() { return contentLength; } /** * Sets the value of the contentLength property. * * @param value * allowed object is * {@link String } * */ public void setContentLength(String value) { this.contentLength = value; } }