Venue.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}Name"/>
* <element name="directions" type="{http://www.w3.org/2001/XMLSchema}token"/>
* <element name="adcPage" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN"/>
* <element name="street1" type="{http://www.w3.org/2001/XMLSchema}token"/>
* <element name="street2" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
* <element name="city" type="{http://www.w3.org/2001/XMLSchema}token"/>
* <element name="state" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
* <element name="zip" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
* </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",
"directions",
"adcPage",
"street1",
"street2",
"city",
"state",
"zip"
})
@XmlRootElement(name = "venue")
public class Venue
extends ReferencedType
{
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "Name")
protected String name;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String directions;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String adcPage;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String street1;
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String street2;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String city;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String state;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String zip;
@XmlAttribute(name = "id", required = true)
protected long id;
/**
* Default no-arg constructor
*
*/
public Venue() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public Venue(final String refid, final String name, final String directions, final String adcPage, final String street1, final String street2, final String city, final String state, final String zip, final long id) {
super(refid);
this.name = name;
this.directions = directions;
this.adcPage = adcPage;
this.street1 = street1;
this.street2 = street2;
this.city = city;
this.state = state;
this.zip = zip;
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 directions property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDirections() {
return directions;
}
/**
* Sets the value of the directions property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDirections(String value) {
this.directions = value;
}
/**
* Gets the value of the adcPage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdcPage() {
return adcPage;
}
/**
* Sets the value of the adcPage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdcPage(String value) {
this.adcPage = value;
}
/**
* Gets the value of the street1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStreet1() {
return street1;
}
/**
* Sets the value of the street1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStreet1(String value) {
this.street1 = value;
}
/**
* Gets the value of the street2 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStreet2() {
return street2;
}
/**
* Sets the value of the street2 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStreet2(String value) {
this.street2 = value;
}
/**
* Gets the value of the city property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Sets the value of the city property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
/**
* Gets the value of the state property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getState() {
return state;
}
/**
* Sets the value of the state property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setState(String value) {
this.state = value;
}
/**
* Gets the value of the zip property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getZip() {
return zip;
}
/**
* Sets the value of the zip property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setZip(String value) {
this.zip = 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;
}
}