Contact.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.08.22 at 12:16:01 PM UTC
//
package ejava.projects.eleague.dto;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <extension base="{http://ejava.info/eLeague/1.0.2009.1}ReferencedType">
* <sequence>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}token"/>
* <element name="e-mail" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
* <element name="login" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"name",
"eMail",
"login"
})
@XmlRootElement(name = "contact")
public class Contact
extends ReferencedType
{
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String name;
@XmlElement(name = "e-mail")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String eMail;
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String login;
@XmlAttribute(name = "id", required = true)
protected long id;
/**
* Default no-arg constructor
*
*/
public Contact() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public Contact(final String refid, final String name, final String eMail, final String login, final long id) {
super(refid);
this.name = name;
this.eMail = eMail;
this.login = login;
this.id = id;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the eMail property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEMail() {
return eMail;
}
/**
* Sets the value of the eMail property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEMail(String value) {
this.eMail = value;
}
/**
* Gets the value of the login property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLogin() {
return login;
}
/**
* Sets the value of the login property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLogin(String value) {
this.login = value;
}
/**
* Gets the value of the id property.
*
*/
public long getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(long value) {
this.id = value;
}
}