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

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.message.PartyType
Direct Known Subclasses:
SenderType

public class PartyType
extends Object

PartyType defines the information which is sent about various parties such as senders and receivers of messages.

Java class for PartyType complex type.

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

 <complexType name="PartyType">
   <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="Contact" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message}ContactType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ContactType> contact
           
protected  String id
           
protected  List<TextType> name
           
 
Constructor Summary
PartyType()
           
 
Method Summary
 List<ContactType> getContact()
          Gets the value of the contact property.
 String getId()
          Gets the value of the id property.
 List<TextType> getName()
          Name is a human-readable name of the party.Gets the value of the name property.
 void setId(String value)
          Sets the value of the id 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

contact

protected List<ContactType> contact

id

protected String id
Constructor Detail

PartyType

public PartyType()
Method Detail

getName

public List<TextType> getName()
Name is a human-readable name of the party.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


getContact

public List<ContactType> 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 set method 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 ContactType


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.