Package iofXml.v3

Class Class

  • All Implemented Interfaces:

    
    public class Class
    
                        

    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>
    
    • Constructor Detail

      • Class

        Class()
    • Method Detail

      • getId

         Id getId()

        Gets the value of the id property.

        Returns:

        possibleobject is Id

      • 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
      • getShortName

         String getShortName()

        The abbreviated name of a class, used when space is limited.

        Returns:

        possibleobject is String

      • setShortName

         void setShortName(String value)

        Sets the value of the shortName property.

        Parameters:
        value - allowed object is String
      • getClassType

         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:

        Thevalue of the classType property.

      • getLeg

         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:

        Thevalue of the leg property.

      • getTeamFee

         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:

        Thevalue of the teamFee property.

      • getFee

         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:

        Thevalue of the fee property.

      • getRaceClass

         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:

        Thevalue of the raceClass property.

      • getTooFewEntriesSubstituteClass

         Class getTooFewEntriesSubstituteClass()

        The class that competitors in this class should be transferred to if there are too few entries in this class.

        Returns:

        possibleobject is Class

      • getTooManyEntriesSubstituteClass

         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:

        possibleobject is Class

      • getSex

         String getSex()

        Gets the value of the sex property.

        Returns:

        possibleobject is String

      • setSex

         void setSex(String value)

        Sets the value of the sex property.

        Parameters:
        value - allowed object is String
      • getMaxTeamAge

         BigInteger getMaxTeamAge()

        The highest allowed age sum of the team members for a team taking part in the class.

        Returns:

        possibleobject is BigInteger

      • getNumberOfCompetitors

         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:

        possibleobject is BigInteger

      • getMaxNumberOfCompetitors

         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:

        possibleobject is BigInteger

      • getResultListMode

         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:

        possibleobject is String

      • setResultListMode

         void setResultListMode(String value)

        Sets the value of the resultListMode property.

        Parameters:
        value - allowed object is String