Package iofXml.v2

Class PersonServiceRequest

  • All Implemented Interfaces:

    
    public class PersonServiceRequest
    
                        

    Java class for anonymous complex type

    .

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

    
    <complexType>
      <complexContent>
        <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
          <sequence>
            <choice>
              <element ref="{}PersonId"/>
              <element ref="{}Person"/>
            </choice>
            <element ref="{}ServiceRequest" maxOccurs="unbounded"/>
          </sequence>
        </restriction>
      </complexContent>
    </complexType>
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      PersonId getPersonId() Gets the value of the personId property.
      void setPersonId(PersonId value) Sets the value of the personId property.
      Person getPerson() Gets the value of the person property.
      void setPerson(Person value) Sets the value of the person property.
      List<ServiceRequest> getServiceRequest() Gets the value of the serviceRequest property.
      • Methods inherited from class java.lang.Object

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

      • PersonServiceRequest

        PersonServiceRequest()
    • Method Detail

      • setPersonId

         void setPersonId(PersonId value)

        Sets the value of the personId property.

        Parameters:
        value - allowed object is PersonId
      • setPerson

         void setPerson(Person value)

        Sets the value of the person property.

        Parameters:
        value - allowed object is Person
      • getServiceRequest

         List<ServiceRequest> getServiceRequest()

        Gets the value of the serviceRequest 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 serviceRequest property.

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

        getServiceRequest().add(newItem);
        

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

        Returns:

        Thevalue of the serviceRequest property.