Package iofXml.v3
Class Fee
java.lang.Object
iofXml.v3.Fee
A fee that applies when entering a class at a race or ordering a service.
Java class for Fee complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Fee">
<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="Amount" type="{http://www.orienteering.org/datastandard/3.0}Amount" minOccurs="0"/>
<element name="TaxableAmount" type="{http://www.orienteering.org/datastandard/3.0}Amount" minOccurs="0"/>
<element name="Percentage" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="TaxablePercentage" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="ValidFromTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="ValidToTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="FromDateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="ToDateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
</sequence>
<attribute name="type" default="Normal">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="Normal"/>
<enumeration value="Late"/>
</restriction>
</simpleType>
</attribute>
<attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AmountThe fee amount, optionally including currency code.protected ExtensionsContainer element for custom elements from other schemas.protected XMLGregorianCalendarThe start of the birth date interval that the fee should be applied to.protected Idprotected XMLGregorianCalendarprotected List<LanguageString>A describing name of the fee, e.g.protected DoubleThe percentage to increase or decrease already existing fees in a fee list with.protected AmountThe fee amount that is taxable, i.e.protected DoubleThe percentage to increase or decrease already existing taxable fees in a fee list with.protected XMLGregorianCalendarThe end of the birth date interval that the fee should be applied to.protected StringThe type of fee.protected XMLGregorianCalendarThe time when the fee takes effect.protected XMLGregorianCalendarThe time when the fee expires. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe fee amount, optionally including currency code.Container element for custom elements from other schemas.The start of the birth date interval that the fee should be applied to.getId()Gets the value of the id property.Gets the value of the modifyTime property.getName()A describing name of the fee, e.g.The percentage to increase or decrease already existing fees in a fee list with.The fee amount that is taxable, i.e.The percentage to increase or decrease already existing taxable fees in a fee list with.The end of the birth date interval that the fee should be applied to.getType()The type of fee.The time when the fee takes effect.The time when the fee expires.voidSets the value of the amount property.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidSets the value of the fromDateOfBirth property.voidSets the value of the id property.voidSets the value of the modifyTime property.voidsetPercentage(Double value) Sets the value of the percentage property.voidsetTaxableAmount(Amount value) Sets the value of the taxableAmount property.voidsetTaxablePercentage(Double value) Sets the value of the taxablePercentage property.voidSets the value of the toDateOfBirth property.voidSets the value of the type property.voidSets the value of the validFromTime property.voidSets the value of the validToTime property.
-
Field Details
-
id
-
name
A describing name of the fee, e.g. 'Late entry fee'. -
amount
The fee amount, optionally including currency code. This element must not be present if a Percentage element exists. -
taxableAmount
The fee amount that is taxable, i.e. considered when calculating taxes for an event. This element must not be present if a Percentage element exists, or if an Amount element does not exist. -
percentage
The percentage to increase or decrease already existing fees in a fee list with. This element must not be present if an Amount element exists. -
taxablePercentage
The percentage to increase or decrease already existing taxable fees in a fee list with. This element must not be present if an Amount element exists, or if a Percentage element does not exist. -
validFromTime
The time when the fee takes effect. -
validToTime
The time when the fee expires. -
fromDateOfBirth
The start of the birth date interval that the fee should be applied to. Omit if no lower birth date restriction. -
toDateOfBirth
The end of the birth date interval that the fee should be applied to. Omit if no upper birth date restriction. -
extensions
Container element for custom elements from other schemas. -
type
The type of fee. -
modifyTime
-
-
Constructor Details
-
Fee
public Fee()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
Id
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isId
-
getName
A describing name of the fee, e.g. 'Late entry fee'. 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
setmethod 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:
- The value of the name property.
-
getAmount
The fee amount, optionally including currency code. This element must not be present if a Percentage element exists.- Returns:
- possible object is
Amount
-
setAmount
Sets the value of the amount property.- Parameters:
value- allowed object isAmount- See Also:
-
getTaxableAmount
The fee amount that is taxable, i.e. considered when calculating taxes for an event. This element must not be present if a Percentage element exists, or if an Amount element does not exist.- Returns:
- possible object is
Amount
-
setTaxableAmount
Sets the value of the taxableAmount property.- Parameters:
value- allowed object isAmount- See Also:
-
getPercentage
The percentage to increase or decrease already existing fees in a fee list with. This element must not be present if an Amount element exists.- Returns:
- possible object is
Double
-
setPercentage
Sets the value of the percentage property.- Parameters:
value- allowed object isDouble- See Also:
-
getTaxablePercentage
The percentage to increase or decrease already existing taxable fees in a fee list with. This element must not be present if an Amount element exists, or if a Percentage element does not exist.- Returns:
- possible object is
Double
-
setTaxablePercentage
Sets the value of the taxablePercentage property.- Parameters:
value- allowed object isDouble- See Also:
-
getValidFromTime
The time when the fee takes effect.- Returns:
- possible object is
XMLGregorianCalendar
-
setValidFromTime
Sets the value of the validFromTime property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getValidToTime
The time when the fee expires.- Returns:
- possible object is
XMLGregorianCalendar
-
setValidToTime
Sets the value of the validToTime property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getFromDateOfBirth
The start of the birth date interval that the fee should be applied to. Omit if no lower birth date restriction.- Returns:
- possible object is
XMLGregorianCalendar
-
setFromDateOfBirth
Sets the value of the fromDateOfBirth property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getToDateOfBirth
The end of the birth date interval that the fee should be applied to. Omit if no upper birth date restriction.- Returns:
- possible object is
XMLGregorianCalendar
-
setToDateOfBirth
Sets the value of the toDateOfBirth property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getExtensions
Container element for custom elements from other schemas.- Returns:
- possible object is
Extensions
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions- See Also:
-
getType
The type of fee.- Returns:
- possible object is
String
-
setType
Sets the value of the type property. -
getModifyTime
Gets the value of the modifyTime property.- Returns:
- possible object is
XMLGregorianCalendar
-
setModifyTime
Sets the value of the modifyTime property.- Parameters:
value- allowed object isXMLGregorianCalendar
-