Package iofXml.v3

Class Class

java.lang.Object
iofXml.v3.Class

public class Class extends Object
Defines a class in an event.

Java class for Class complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="Class">
   <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="ShortName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ClassType" type="{http://www.orienteering.org/datastandard/3.0}ClassType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Leg" type="{http://www.orienteering.org/datastandard/3.0}Leg" maxOccurs="unbounded" minOccurs="0"/>
         <element name="TeamFee" type="{http://www.orienteering.org/datastandard/3.0}Fee" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Fee" type="{http://www.orienteering.org/datastandard/3.0}Fee" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Status" type="{http://www.orienteering.org/datastandard/3.0}EventClassStatus" minOccurs="0"/>
         <element name="RaceClass" type="{http://www.orienteering.org/datastandard/3.0}RaceClass" maxOccurs="unbounded" minOccurs="0"/>
         <element name="TooFewEntriesSubstituteClass" type="{http://www.orienteering.org/datastandard/3.0}Class" minOccurs="0"/>
         <element name="TooManyEntriesSubstituteClass" type="{http://www.orienteering.org/datastandard/3.0}Class" minOccurs="0"/>
         <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
       </sequence>
       <attribute name="minAge" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="maxAge" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="sex" default="B">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="B"/>
             <enumeration value="F"/>
             <enumeration value="M"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="minNumberOfTeamMembers" type="{http://www.w3.org/2001/XMLSchema}integer" default="1" />
       <attribute name="maxNumberOfTeamMembers" type="{http://www.w3.org/2001/XMLSchema}integer" default="1" />
       <attribute name="minTeamAge" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="maxTeamAge" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="numberOfCompetitors" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="maxNumberOfCompetitors" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="resultListMode" default="Default">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="Default"/>
             <enumeration value="Unordered"/>
             <enumeration value="UnorderedNoTimes"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • id

      protected Id id
    • name

      protected String name
      The name of the class.
    • shortName

      protected String shortName
      The abbreviated name of a class, used when space is limited.
    • classType

      protected List<ClassType> classType
      The class type(s) for the class.
    • leg

      protected List<Leg> leg
      Information about the legs, if the class is a relay class. One Leg element per leg must be present.
    • teamFee

      protected List<Fee> teamFee
      The entry fees for a team as a whole taking part in this class. Use the Fee element to specify a fee for an individual competitor in the team. Use the TeamFee subelement of the RaceClass element to specify a fee on race level.
    • fee

      protected List<Fee> fee
      The entry fees for an individual competitor taking part in the class. Use the TeamFee element to specify a fee for the team as a whole. Use the Fee subelement of the RaceClass element to specify a fee on race level.
    • status

      protected EventClassStatus status
      The overall status of the class, e.g. if overall results should be considered invalid due to misplaced controls.
    • raceClass

      protected List<RaceClass> raceClass
      Race-specific information for the class, e.g. course(s) assigned to the class.
    • tooFewEntriesSubstituteClass

      protected Class tooFewEntriesSubstituteClass
      The class that competitors in this class should be transferred to if there are too few entries in this class.
    • tooManyEntriesSubstituteClass

      protected Class tooManyEntriesSubstituteClass
      The class that competitors that are not qualified (e.g. due to too low ranking) should be transferred to if there are too many entries in this class.
    • extensions

      protected Extensions extensions
      Container element for custom elements from other schemas.
    • minAge

      protected BigInteger minAge
      The lowest allowed age for a competitor taking part in the class.
    • maxAge

      protected BigInteger maxAge
      The highest allowed age for a competitor taking part in the class.
    • sex

      protected String sex
    • minNumberOfTeamMembers

      protected BigInteger minNumberOfTeamMembers
      The minimum number of members in a team taking part in the class, if the class is a team class.
    • maxNumberOfTeamMembers

      protected BigInteger maxNumberOfTeamMembers
      The maximum number of members in a team taking part in the class, if the class is a team class.
    • minTeamAge

      protected BigInteger minTeamAge
      The lowest allowed age sum of the team members for a team taking part in the class.
    • maxTeamAge

      protected BigInteger maxTeamAge
      The highest allowed age sum of the team members for a team taking part in the class.
    • numberOfCompetitors

      protected BigInteger numberOfCompetitors
      The number of competitors in the class. A competitor corresponds to a person (if an individual event) or a team (if a team or relay event).
    • maxNumberOfCompetitors

      protected BigInteger maxNumberOfCompetitors
      The maximum number of competitors that are allowed to take part in the class. A competitor corresponds to a person (if an individual event) or a team (if a team or relay event). If the maximum number of competitors varies between races in a multi-day event, use the maxNumberOfCompetitors attribute in the RaceClass element.
    • resultListMode

      protected String resultListMode
      Defines the kind of information to include in the result list, and how to sort it. For example, the result list of a beginner's class may include just "finished" or "did not finish" instead of the actual times.
    • modifyTime

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • Class

      public Class()
  • Method Details

    • getId

      public Id getId()
      Gets the value of the id property.
      Returns:
      possible object is Id
    • setId

      public void setId(Id value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Id
    • getName

      public String getName()
      The name of the class.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also:
    • getShortName

      public String getShortName()
      The abbreviated name of a class, used when space is limited.
      Returns:
      possible object is String
    • setShortName

      public void setShortName(String value)
      Sets the value of the shortName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getClassType

      public List<ClassType> getClassType()
      The class type(s) for the class. Gets the value of the classType 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 classType property.

      For example, to add a new item, do as follows:

       getClassType().add(newItem);
       

      Objects of the following type(s) are allowed in the list ClassType

      Returns:
      The value of the classType property.
    • getLeg

      public List<Leg> getLeg()
      Information about the legs, if the class is a relay class. One Leg element per leg must be present. Gets the value of the leg 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 leg property.

      For example, to add a new item, do as follows:

       getLeg().add(newItem);
       

      Objects of the following type(s) are allowed in the list Leg

      Returns:
      The value of the leg property.
    • getTeamFee

      public List<Fee> getTeamFee()
      The entry fees for a team as a whole taking part in this class. Use the Fee element to specify a fee for an individual competitor in the team. Use the TeamFee subelement of the RaceClass element to specify a fee on race level. Gets the value of the teamFee 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 teamFee property.

      For example, to add a new item, do as follows:

       getTeamFee().add(newItem);
       

      Objects of the following type(s) are allowed in the list Fee

      Returns:
      The value of the teamFee property.
    • getFee

      public List<Fee> getFee()
      The entry fees for an individual competitor taking part in the class. Use the TeamFee element to specify a fee for the team as a whole. Use the Fee subelement of the RaceClass element to specify a fee on race level. 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:
      The value of the fee property.
    • getStatus

      public EventClassStatus getStatus()
      The overall status of the class, e.g. if overall results should be considered invalid due to misplaced controls.
      Returns:
      possible object is EventClassStatus
    • setStatus

      public void setStatus(EventClassStatus value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is EventClassStatus
      See Also:
    • getRaceClass

      public List<RaceClass> getRaceClass()
      Race-specific information for the class, e.g. course(s) assigned to the class. Gets the value of the raceClass 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 raceClass property.

      For example, to add a new item, do as follows:

       getRaceClass().add(newItem);
       

      Objects of the following type(s) are allowed in the list RaceClass

      Returns:
      The value of the raceClass property.
    • getTooFewEntriesSubstituteClass

      public Class getTooFewEntriesSubstituteClass()
      The class that competitors in this class should be transferred to if there are too few entries in this class.
      Returns:
      possible object is Class
    • setTooFewEntriesSubstituteClass

      public void setTooFewEntriesSubstituteClass(Class value)
      Sets the value of the tooFewEntriesSubstituteClass property.
      Parameters:
      value - allowed object is Class
      See Also:
    • getTooManyEntriesSubstituteClass

      public Class getTooManyEntriesSubstituteClass()
      The class that competitors that are not qualified (e.g. due to too low ranking) should be transferred to if there are too many entries in this class.
      Returns:
      possible object is Class
    • setTooManyEntriesSubstituteClass

      public void setTooManyEntriesSubstituteClass(Class value)
      Sets the value of the tooManyEntriesSubstituteClass property.
      Parameters:
      value - allowed object is Class
      See Also:
    • getExtensions

      public Extensions getExtensions()
      Container element for custom elements from other schemas.
      Returns:
      possible object is Extensions
    • setExtensions

      public void setExtensions(Extensions value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is Extensions
      See Also:
    • getMinAge

      public BigInteger getMinAge()
      The lowest allowed age for a competitor taking part in the class.
      Returns:
      possible object is BigInteger
    • setMinAge

      public void setMinAge(BigInteger value)
      Sets the value of the minAge property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getMaxAge

      public BigInteger getMaxAge()
      The highest allowed age for a competitor taking part in the class.
      Returns:
      possible object is BigInteger
    • setMaxAge

      public void setMaxAge(BigInteger value)
      Sets the value of the maxAge property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getSex

      public String getSex()
      Gets the value of the sex property.
      Returns:
      possible object is String
    • setSex

      public void setSex(String value)
      Sets the value of the sex property.
      Parameters:
      value - allowed object is String
    • getMinNumberOfTeamMembers

      public BigInteger getMinNumberOfTeamMembers()
      The minimum number of members in a team taking part in the class, if the class is a team class.
      Returns:
      possible object is BigInteger
    • setMinNumberOfTeamMembers

      public void setMinNumberOfTeamMembers(BigInteger value)
      Sets the value of the minNumberOfTeamMembers property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getMaxNumberOfTeamMembers

      public BigInteger getMaxNumberOfTeamMembers()
      The maximum number of members in a team taking part in the class, if the class is a team class.
      Returns:
      possible object is BigInteger
    • setMaxNumberOfTeamMembers

      public void setMaxNumberOfTeamMembers(BigInteger value)
      Sets the value of the maxNumberOfTeamMembers property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getMinTeamAge

      public BigInteger getMinTeamAge()
      The lowest allowed age sum of the team members for a team taking part in the class.
      Returns:
      possible object is BigInteger
    • setMinTeamAge

      public void setMinTeamAge(BigInteger value)
      Sets the value of the minTeamAge property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getMaxTeamAge

      public BigInteger getMaxTeamAge()
      The highest allowed age sum of the team members for a team taking part in the class.
      Returns:
      possible object is BigInteger
    • setMaxTeamAge

      public void setMaxTeamAge(BigInteger value)
      Sets the value of the maxTeamAge property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getNumberOfCompetitors

      public BigInteger getNumberOfCompetitors()
      The number of competitors in the class. A competitor corresponds to a person (if an individual event) or a team (if a team or relay event).
      Returns:
      possible object is BigInteger
    • setNumberOfCompetitors

      public void setNumberOfCompetitors(BigInteger value)
      Sets the value of the numberOfCompetitors property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getMaxNumberOfCompetitors

      public BigInteger getMaxNumberOfCompetitors()
      The maximum number of competitors that are allowed to take part in the class. A competitor corresponds to a person (if an individual event) or a team (if a team or relay event). If the maximum number of competitors varies between races in a multi-day event, use the maxNumberOfCompetitors attribute in the RaceClass element.
      Returns:
      possible object is BigInteger
    • setMaxNumberOfCompetitors

      public void setMaxNumberOfCompetitors(BigInteger value)
      Sets the value of the maxNumberOfCompetitors property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getResultListMode

      public String getResultListMode()
      Defines the kind of information to include in the result list, and how to sort it. For example, the result list of a beginner's class may include just "finished" or "did not finish" instead of the actual times.
      Returns:
      possible object is String
    • setResultListMode

      public void setResultListMode(String value)
      Sets the value of the resultListMode property.
      Parameters:
      value - allowed object is String
      See Also:
    • getModifyTime

      public XMLGregorianCalendar getModifyTime()
      Gets the value of the modifyTime property.
      Returns:
      possible object is XMLGregorianCalendar
    • setModifyTime

      public void setModifyTime(XMLGregorianCalendar value)
      Sets the value of the modifyTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar