org.spase.parser200
Class Contact

java.lang.Object
  extended by org.spase.parser200.Contact

public class Contact
extends java.lang.Object

The person or organization who may be able to provide special assistance or serve as a channel for communication for additional information about a resource.

Java class for Contact complex type.

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

 <complexType name="Contact">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.spase-group.org/data/schema}PersonID"/>
         <element ref="{http://www.spase-group.org/data/schema}Role" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String personID
           
protected  java.util.List<EnumRole> role
           
 
Constructor Summary
Contact()
           
 
Method Summary
 java.lang.String getPersonID()
          Gets the value of the personID property.
 java.util.List<EnumRole> getRole()
          Gets the value of the role property.
 void setPersonID(java.lang.String value)
          Sets the value of the personID property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

personID

protected java.lang.String personID

role

protected java.util.List<EnumRole> role
Constructor Detail

Contact

public Contact()
Method Detail

getPersonID

public java.lang.String getPersonID()
Gets the value of the personID property.

Returns:
possible object is String

setPersonID

public void setPersonID(java.lang.String value)
Sets the value of the personID property.

Parameters:
value - allowed object is String

getRole

public java.util.List<EnumRole> getRole()
Gets the value of the role 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 role property.

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

    getRole().add(newItem);
 

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