org.fosstrak.epcis.model
Class Partner

java.lang.Object
  extended by org.fosstrak.epcis.model.Partner

public class Partner
extends Object

Java class for Partner complex type.

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

 <complexType name="Partner">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Identifier" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}PartnerIdentification"/>
         <element name="ContactInformation" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}ContactInformation" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ContactInformation> contactInformation
           
protected  PartnerIdentification identifier
           
 
Constructor Summary
Partner()
           
 
Method Summary
 List<ContactInformation> getContactInformation()
          Gets the value of the contactInformation property.
 PartnerIdentification getIdentifier()
          Gets the value of the identifier property.
 void setIdentifier(PartnerIdentification value)
          Sets the value of the identifier property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

protected PartnerIdentification identifier

contactInformation

protected List<ContactInformation> contactInformation
Constructor Detail

Partner

public Partner()
Method Detail

getIdentifier

public PartnerIdentification getIdentifier()
Gets the value of the identifier property.

Returns:
possible object is PartnerIdentification

setIdentifier

public void setIdentifier(PartnerIdentification value)
Sets the value of the identifier property.

Parameters:
value - allowed object is PartnerIdentification

getContactInformation

public List<ContactInformation> getContactInformation()
Gets the value of the contactInformation 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 contactInformation property.

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

 getContactInformation().add(newItem);
 

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



Copyright © 2010. All Rights Reserved.