Package iofXml.v3

Class Role

java.lang.Object
iofXml.v3.Role

public class Role extends Object
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>
 
  • Field Details

    • person

      protected Person person
    • type

      protected String type
      The type of role that the person has.
  • Constructor Details

    • Role

      public Role()
  • Method Details

    • getPerson

      public Person getPerson()
      Gets the value of the person property.
      Returns:
      possible object is Person
    • setPerson

      public void setPerson(Person value)
      Sets the value of the person property.
      Parameters:
      value - allowed object is Person
    • getType

      public String getType()
      The type of role that the person has.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      See Also: