/** * Copyright 2005-2014 Restlet * * The contents of this file are subject to the terms of one of the following * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can * select the license that you prefer but you may not use this file except in * compliance with one of these Licenses. * * You can obtain a copy of the Apache 2.0 license at * http://www.opensource.org/licenses/apache-2.0 * * You can obtain a copy of the EPL 1.0 license at * http://www.opensource.org/licenses/eclipse-1.0 * * See the Licenses for the specific language governing permissions and * limitations under the Licenses. * * Alternatively, you can obtain a royalty free commercial license with less * limitations, transferable or non-transferable, directly at * http://restlet.com/products/restlet-framework * * Restlet is a registered trademark of Restlet S.A.S. */ package org.restlet.example.book.restlet.ch04.sec2.sub8; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="accountRef" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "status", "subject", "content", "accountRef" }) @XmlRootElement(name = "mail", namespace = "http://www.rmep.org/namespaces/1.0") public class Mail { @XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true) protected String status; @XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true) protected String subject; @XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true) protected String content; @XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true) protected String accountRef; /** * Gets the value of the status property. * * @return possible object is {@link String } * */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the subject property. * * @return possible object is {@link String } * */ public String getSubject() { return subject; } /** * Sets the value of the subject property. * * @param value * allowed object is {@link String } * */ public void setSubject(String value) { this.subject = value; } /** * Gets the value of the content property. * * @return possible object is {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is {@link String } * */ public void setContent(String value) { this.content = value; } /** * Gets the value of the accountRef property. * * @return possible object is {@link String } * */ public String getAccountRef() { return accountRef; } /** * Sets the value of the accountRef property. * * @param value * allowed object is {@link String } * */ public void setAccountRef(String value) { this.accountRef = value; } }