Class Event
-
- All Implemented Interfaces:
public class Event
Java class for Event complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Event"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Id" type="{http://www.orienteering.org/datastandard/3.0}Id" minOccurs="0"/> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="StartTime" type="{http://www.orienteering.org/datastandard/3.0}DateAndOptionalTime" minOccurs="0"/> <element name="EndTime" type="{http://www.orienteering.org/datastandard/3.0}DateAndOptionalTime" minOccurs="0"/> <element name="Status" type="{http://www.orienteering.org/datastandard/3.0}EventStatus" minOccurs="0"/> <element name="Classification" type="{http://www.orienteering.org/datastandard/3.0}EventClassification" minOccurs="0"/> <element name="Form" type="{http://www.orienteering.org/datastandard/3.0}EventForm" maxOccurs="unbounded" minOccurs="0"/> <element name="Organiser" type="{http://www.orienteering.org/datastandard/3.0}Organisation" maxOccurs="unbounded" minOccurs="0"/> <element name="Official" type="{http://www.orienteering.org/datastandard/3.0}Role" maxOccurs="unbounded" minOccurs="0"/> <element name="Class" type="{http://www.orienteering.org/datastandard/3.0}Class" maxOccurs="unbounded" minOccurs="0"/> <element name="Race" type="{http://www.orienteering.org/datastandard/3.0}Race" maxOccurs="unbounded" minOccurs="0"/> <element name="EntryReceiver" type="{http://www.orienteering.org/datastandard/3.0}EntryReceiver" minOccurs="0"/> <element name="Service" type="{http://www.orienteering.org/datastandard/3.0}Service" maxOccurs="unbounded" minOccurs="0"/> <element name="Account" type="{http://www.orienteering.org/datastandard/3.0}Account" maxOccurs="unbounded" minOccurs="0"/> <element name="URL" type="{http://www.orienteering.org/datastandard/3.0}EventURL" maxOccurs="unbounded" minOccurs="0"/> <element name="Information" type="{http://www.orienteering.org/datastandard/3.0}InformationItem" maxOccurs="unbounded" minOccurs="0"/> <element name="Schedule" type="{http://www.orienteering.org/datastandard/3.0}Schedule" maxOccurs="unbounded" minOccurs="0"/> <element name="News" type="{http://www.orienteering.org/datastandard/3.0}InformationItem" maxOccurs="unbounded" minOccurs="0"/> <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/> </sequence> <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
Modifier and Type Method Description Id
getId()
Gets the value of the id property. void
setId(Id value)
Sets the value of the id property. String
getName()
Gets the value of the name property. void
setName(String value)
Sets the value of the name property. DateAndOptionalTime
getStartTime()
The start time for the first starting competitor of the event. void
setStartTime(DateAndOptionalTime value)
Sets the value of the startTime property. DateAndOptionalTime
getEndTime()
The expected finish time for the last finishing competitor of the event. void
setEndTime(DateAndOptionalTime value)
Sets the value of the endTime property. EventStatus
getStatus()
The status of the event. void
setStatus(EventStatus value)
Sets the value of the status property. EventClassification
getClassification()
The classification or level of the event. void
setClassification(EventClassification value)
Sets the value of the classification property. List<EventForm>
getForm()
Gets the value of the form property. List<Organisation>
getOrganiser()
The organisations that organise the event. List<Role>
getOfficial()
The main officials of the event, e.g. List<Class>
getClazz()
The classes that are available at the event. List<Race>
getRace()
An event consists of a number of races. EntryReceiver
getEntryReceiver()
Address and contact information to the person or organisation which registers the entries for the event. void
setEntryReceiver(EntryReceiver value)
Sets the value of the entryReceiver property. List<Service>
getService()
The services available for the event, e.g. List<Account>
getAccount()
The bank account for the event. List<EventURL>
getURL()
URLs to various types of additional information regarding the event, e.g. List<InformationItem>
getInformation()
Presents arbitrary data about the event, e.g. List<Schedule>
getSchedule()
Defines the schedule of events that comprise the entire orienteering event, e.g. List<InformationItem>
getNews()
Presents "last minute information" about the event. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. XMLGregorianCalendar
getModifyTime()
Gets the value of the modifyTime property. void
setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property. -
-
Method Detail
-
setId
void setId(Id value)
Sets the value of the id property.
- Parameters:
value
- allowed object is Id
-
setName
void setName(String value)
Sets the value of the name property.
- Parameters:
value
- allowed object is String
-
getStartTime
DateAndOptionalTime getStartTime()
The start time for the first starting competitor of the event. If the event contains multiple races, this is the start time for the first starting competitor of the first race.
- Returns:
possibleobject is DateAndOptionalTime
-
setStartTime
void setStartTime(DateAndOptionalTime value)
Sets the value of the startTime property.
- Parameters:
value
- allowed object is DateAndOptionalTime
-
getEndTime
DateAndOptionalTime getEndTime()
The expected finish time for the last finishing competitor of the event. If the event contains multiple races, this is the expected finish time for the last finishing competitor of the last race.
- Returns:
possibleobject is DateAndOptionalTime
-
setEndTime
void setEndTime(DateAndOptionalTime value)
Sets the value of the endTime property.
- Parameters:
value
- allowed object is DateAndOptionalTime
-
getStatus
EventStatus getStatus()
The status of the event. If the event is a multi-race event, and status is set per race, use the Status element of the Race element.
- Returns:
possibleobject is EventStatus
-
setStatus
void setStatus(EventStatus value)
Sets the value of the status property.
- Parameters:
value
- allowed object is EventStatus
-
getClassification
EventClassification getClassification()
The classification or level of the event. If the event is a multi-race event, and classification is set per race, use the Classification element of the Race element.
- Returns:
possibleobject is EventClassification
-
setClassification
void setClassification(EventClassification value)
Sets the value of the classification property.
- Parameters:
value
- allowed object is EventClassification
-
getForm
List<EventForm> getForm()
Gets the value of the form property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the form property.For example, to add a new item, do as follows:
getForm().add(newItem);
Objects of the following type(s) are allowed in the list EventForm
- Returns:
Thevalue of the form property.
-
getOrganiser
List<Organisation> getOrganiser()
The organisations that organise the event. Gets the value of the organiser property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the organiser property.For example, to add a new item, do as follows:
getOrganiser().add(newItem);
Objects of the following type(s) are allowed in the list Organisation
- Returns:
Thevalue of the organiser property.
-
getOfficial
List<Role> getOfficial()
The main officials of the event, e.g. course setter and event president. Gets the value of the official property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the official property.For example, to add a new item, do as follows:
getOfficial().add(newItem);
Objects of the following type(s) are allowed in the list Role
- Returns:
Thevalue of the official property.
-
getClazz
List<Class> getClazz()
The classes that are available at the event. Gets the value of the clazz property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the clazz property.For example, to add a new item, do as follows:
getClazz().add(newItem);
Objects of the following type(s) are allowed in the list Class
- Returns:
Thevalue of the clazz property.
-
getRace
List<Race> getRace()
An event consists of a number of races. The number is equal to the number of times a competitor should start. Most events contain a single race, and this elemend could then be omitted. Gets the value of the race property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the race property.For example, to add a new item, do as follows:
getRace().add(newItem);
Objects of the following type(s) are allowed in the list Race
- Returns:
Thevalue of the race property.
-
getEntryReceiver
EntryReceiver getEntryReceiver()
Address and contact information to the person or organisation which registers the entries for the event.
- Returns:
possibleobject is EntryReceiver
-
setEntryReceiver
void setEntryReceiver(EntryReceiver value)
Sets the value of the entryReceiver property.
- Parameters:
value
- allowed object is EntryReceiver
-
getService
List<Service> getService()
The services available for the event, e.g. accomodation and transport. Gets the value of the service property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the service property.For example, to add a new item, do as follows:
getService().add(newItem);
Objects of the following type(s) are allowed in the list Service
- Returns:
Thevalue of the service property.
-
getAccount
List<Account> getAccount()
The bank account for the event. Gets the value of the account property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the account property.For example, to add a new item, do as follows:
getAccount().add(newItem);
Objects of the following type(s) are allowed in the list Account
- Returns:
Thevalue of the account property.
-
getURL
List<EventURL> getURL()
URLs to various types of additional information regarding the event, e.g. event website or result list. Gets the value of the url property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the url property.For example, to add a new item, do as follows:
getURL().add(newItem);
Objects of the following type(s) are allowed in the list EventURL
- Returns:
Thevalue of the url property.
-
getInformation
List<InformationItem> getInformation()
Presents arbitrary data about the event, e.g. "Accommodation", "Local Attractions", and so on. Information present here should be defined well in advance of the event, in contrast to the 'News' element. Gets the value of the information property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the information property.For example, to add a new item, do as follows:
getInformation().add(newItem);
Objects of the following type(s) are allowed in the list InformationItem
- Returns:
Thevalue of the information property.
-
getSchedule
List<Schedule> getSchedule()
Defines the schedule of events that comprise the entire orienteering event, e.g. entry deadlines, banquet and social events, and awards ceremonies. Gets the value of the schedule property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the schedule property.For example, to add a new item, do as follows:
getSchedule().add(newItem);
Objects of the following type(s) are allowed in the list Schedule
- Returns:
Thevalue of the schedule property.
-
getNews
List<InformationItem> getNews()
Presents "last minute information" about the event. Gets the value of the news property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the news property.For example, to add a new item, do as follows:
getNews().add(newItem);
Objects of the following type(s) are allowed in the list InformationItem
- Returns:
Thevalue of the news property.
-
getExtensions
Extensions getExtensions()
Container element for custom elements from other schemas.
- Returns:
possibleobject is Extensions
-
setExtensions
void setExtensions(Extensions value)
Sets the value of the extensions property.
- Parameters:
value
- allowed object is Extensions
-
getModifyTime
XMLGregorianCalendar getModifyTime()
Gets the value of the modifyTime property.
- Returns:
possibleobject is XMLGregorianCalendar
-
setModifyTime
void setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property.
- Parameters:
value
- allowed object is XMLGregorianCalendar
-
-
-
-