Package iofXml.v3

Class Role

  • All Implemented Interfaces:

    
    public class Role
    
                        

    A role defines a connection between a person and some kind of task, responsibility or engagement, e.g. being a course setter at an event.

    Java class for Role complex type

    .

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

    
    <complexType name="Role">
      <complexContent>
        <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
          <sequence>
            <element name="Person" type="{http://www.orienteering.org/datastandard/3.0}Person"/>
          </sequence>
          <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
        </restriction>
      </complexContent>
    </complexType>
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Role()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Person getPerson() Gets the value of the person property.
      void setPerson(Person value) Sets the value of the person property.
      String getType() The type of role that the person has.
      void setType(String value) Sets the value of the type property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Role

        Role()
    • Method Detail

      • setPerson

         void setPerson(Person value)

        Sets the value of the person property.

        Parameters:
        value - allowed object is Person
      • getType

         String getType()

        The type of role that the person has.

        Returns:

        possibleobject is String

      • setType

         void setType(String value)

        Sets the value of the type property.

        Parameters:
        value - allowed object is String