Class Person
Java class for Person complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Person">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Id" type="{http://www.orienteering.org/datastandard/3.0}Id" maxOccurs="unbounded" minOccurs="0"/>
<element name="Name" type="{http://www.orienteering.org/datastandard/3.0}PersonName"/>
<element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="Nationality" type="{http://www.orienteering.org/datastandard/3.0}Country" minOccurs="0"/>
<element name="Address" type="{http://www.orienteering.org/datastandard/3.0}Address" maxOccurs="unbounded" minOccurs="0"/>
<element name="Contact" type="{http://www.orienteering.org/datastandard/3.0}Contact" maxOccurs="unbounded" minOccurs="0"/>
<element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
</sequence>
<attribute name="sex">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="F"/>
<enumeration value="M"/>
</restriction>
</simpleType>
</attribute>
<attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected XMLGregorianCalendarThe date when the person was born, expressed in ISO 8601 format.protected ExtensionsContainer element for custom elements from other schemas.The identifier of the person.protected XMLGregorianCalendarprotected PersonNameprotected Countryprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the address property.The date when the person was born, expressed in ISO 8601 format.Gets the value of the contact property.Container element for custom elements from other schemas.getId()The identifier of the person.Gets the value of the modifyTime property.getName()Gets the value of the name property.Gets the value of the nationality property.getSex()Gets the value of the sex property.voidsetBirthDate(XMLGregorianCalendar value) Sets the value of the birthDate property.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidSets the value of the modifyTime property.voidsetName(PersonName value) Sets the value of the name property.voidsetNationality(Country value) Sets the value of the nationality property.voidSets the value of the sex property.
-
Field Details
-
id
The identifier of the person. Multiple identifiers can be included, e.g. when there is both a World Ranking Event identifier and a national database identifier for the person. -
name
-
birthDate
The date when the person was born, expressed in ISO 8601 format. -
nationality
-
address
-
contact
-
extensions
Container element for custom elements from other schemas. -
sex
-
modifyTime
-
-
Constructor Details
-
Person
public Person()
-
-
Method Details
-
getId
The identifier of the person. Multiple identifiers can be included, e.g. when there is both a World Ranking Event identifier and a national database identifier for the person. Gets the value of the id 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 id property.For example, to add a new item, do as follows:
getId().add(newItem);
Objects of the following type(s) are allowed in the list
Id- Returns:
- The value of the id property.
-
getName
Gets the value of the name property.- Returns:
- possible object is
PersonName
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isPersonName
-
getBirthDate
The date when the person was born, expressed in ISO 8601 format.- Returns:
- possible object is
XMLGregorianCalendar
-
setBirthDate
Sets the value of the birthDate property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getNationality
Gets the value of the nationality property.- Returns:
- possible object is
Country
-
setNationality
Sets the value of the nationality property.- Parameters:
value- allowed object isCountry
-
getAddress
Gets the value of the address 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 address property.For example, to add a new item, do as follows:
getAddress().add(newItem);
Objects of the following type(s) are allowed in the list
Address- Returns:
- The value of the address property.
-
getContact
Gets the value of the contact 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 contact property.For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
Contact- Returns:
- The value of the contact property.
-
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:
-
getSex
Gets the value of the sex property.- Returns:
- possible object is
String
-
setSex
Sets the value of the sex property.- Parameters:
value- allowed object isString
-
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
-