// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2013.11.27 at 03:57:10 PM CET // package model; import javax.ws.rs.GET; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for personne complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="personne"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="nom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="prenom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ //@XmlAccessorType(XmlAccessType.FIELD) //@XmlType(name = "personne", propOrder = { // "nom", // "prenom" //}) @XmlRootElement(name="personimpl") public class PersonImpl implements Person { protected int id; protected String lastname; protected String firstname; /** * Gets the value of the id property. * * @return * possible object is * {@link Integer } * */ public int getId(){ return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Integer } * */ public void setId(int value){ id = value; } /** * Gets the value of the nom property. * * @return * possible object is * {@link String } * */ public String getLastname() { return lastname; } /** * Sets the value of the nom property. * * @param value * allowed object is * {@link String } * */ public void setLastname(String value) { this.lastname = value; } /** * Gets the value of the prenom property. * * @return * possible object is * {@link String } * */ public String getFirstname() { return firstname; } /** * Sets the value of the prenom property. * * @param value * allowed object is * {@link String } * */ public void setFirstname(String value) { this.firstname = value; } @Override public Person getRepresentation() { return this; } }