org.sdmx.resources.sdmxml.schemas.v2_1.message
Class ContactType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.message.ContactType

public class ContactType
extends Object

ContactType provides defines the contact information about a party.

Java class for ContactType complex type.

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

 <complexType name="ContactType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}Name" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Department" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}TextType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Role" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}TextType" maxOccurs="unbounded" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="Telephone" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="Fax" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="X400" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
           <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<TextType> department
           
protected  List<TextType> name
           
protected  List<TextType> role
           
protected  List<JAXBElement<String>> telephoneOrFaxOrX400
           
 
Constructor Summary
ContactType()
           
 
Method Summary
 List<TextType> getDepartment()
          Gets the value of the department property.
 List<TextType> getName()
          Name contains a human-readable name for the contact.Gets the value of the name property.
 List<TextType> getRole()
          Gets the value of the role property.
 List<JAXBElement<String>> getTelephoneOrFaxOrX400()
          Gets the value of the telephoneOrFaxOrX400 property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected List<TextType> name

department

protected List<TextType> department

role

protected List<TextType> role

telephoneOrFaxOrX400

protected List<JAXBElement<String>> telephoneOrFaxOrX400
Constructor Detail

ContactType

public ContactType()
Method Detail

getName

public List<TextType> getName()
Name contains a human-readable name for the contact.Gets the value of the name 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 name property.

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

    getName().add(newItem);
 

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


getDepartment

public List<TextType> getDepartment()
Gets the value of the department 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 department property.

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

    getDepartment().add(newItem);
 

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


getRole

public List<TextType> 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 TextType


getTelephoneOrFaxOrX400

public List<JAXBElement<String>> getTelephoneOrFaxOrX400()
Gets the value of the telephoneOrFaxOrX400 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 telephoneOrFaxOrX400 property.

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

    getTelephoneOrFaxOrX400().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<String> JAXBElement<String> JAXBElement<String> JAXBElement<String> JAXBElement<String>



Copyright © 2012. All Rights Reserved.