Class Service
-
- All Implemented Interfaces:
public class Service
Defines a general purpose service request, e.g. for rental card or accomodation.
Java class for Service complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Service"> <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.orienteering.org/datastandard/3.0}LanguageString" maxOccurs="unbounded"/> <element name="Fee" type="{http://www.orienteering.org/datastandard/3.0}Fee" maxOccurs="unbounded" minOccurs="0"/> <element name="Description" type="{http://www.orienteering.org/datastandard/3.0}LanguageString" maxOccurs="unbounded" minOccurs="0"/> <element name="MaxNumber" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> <element name="RequestedNumber" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/> </sequence> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Service()
-
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. List<LanguageString>
getName()
The name of the service. List<Fee>
getFee()
The fees attached to this service. List<LanguageString>
getDescription()
A further description of the service than the Name element gives. Double
getMaxNumber()
The maximum number of instances of this service that are available. void
setMaxNumber(Double value)
Sets the value of the maxNumber property. Double
getRequestedNumber()
The number of instances of this service that has been requested. void
setRequestedNumber(Double value)
Sets the value of the requestedNumber property. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. String
getType()
Used to mark special services, e.g. void
setType(String value)
Sets the value of the type 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
-
getName
List<LanguageString> getName()
The name of the service. Gets the value of the name 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 name property.For example, to add a new item, do as follows:
getName().add(newItem);
Objects of the following type(s) are allowed in the list LanguageString
- Returns:
Thevalue of the name property.
-
getFee
List<Fee> getFee()
The fees attached to this service. Gets the value of the fee 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 fee property.For example, to add a new item, do as follows:
getFee().add(newItem);
Objects of the following type(s) are allowed in the list Fee
- Returns:
Thevalue of the fee property.
-
getDescription
List<LanguageString> getDescription()
A further description of the service than the Name element gives. Gets the value of the description 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 description property.For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list LanguageString
- Returns:
Thevalue of the description property.
-
getMaxNumber
Double getMaxNumber()
The maximum number of instances of this service that are available. Omit this element if there is no such limit.
- Returns:
possibleobject is Double
-
setMaxNumber
void setMaxNumber(Double value)
Sets the value of the maxNumber property.
- Parameters:
value
- allowed object is Double
-
getRequestedNumber
Double getRequestedNumber()
The number of instances of this service that has been requested.
- Returns:
possibleobject is Double
-
setRequestedNumber
void setRequestedNumber(Double value)
Sets the value of the requestedNumber property.
- Parameters:
value
- allowed object is Double
-
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
-
getType
String getType()
Used to mark special services, e.g. rental cards whose fees that are to be used in entry scenarios.
- Returns:
possibleobject is String
-
setType
void setType(String value)
Sets the value of the type property.
- Parameters:
value
- allowed object is String
-
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
-
-