// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2007.07.21 at 08:48:24 AM CEST // package net.dotmyself.j2xml; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://dotmyself.net/j2xml}user"/>
 *         <element ref="{http://dotmyself.net/j2xml}title"/>
 *         <element ref="{http://dotmyself.net/j2xml}begindate"/>
 *       </sequence>
 *       <attribute name="type" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="DVD"/>
 *             <enumeration value="VHS"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "user", "title", "begindate" }) @XmlRootElement(name = "rental") public class Rental { protected int user; @XmlElement(required = true) protected String title; @XmlElement(required = true) protected String begindate; @XmlAttribute(required = true) protected String type; /** * Gets the value of the user property. * */ public int getUser() { return user; } /** * Sets the value of the user property. * */ public void setUser(int value) { this.user = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the begindate property. * * @return * possible object is * {@link String } * */ public String getBegindate() { return begindate; } /** * Sets the value of the begindate property. * * @param value * allowed object is * {@link String } * */ public void setBegindate(String value) { this.begindate = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } }