Projet

Général

Profil

Télécharger (3 ko) Statistiques
| Branche: | Tag: | Révision:
package org.fosstrak.epcis.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
* <p>
* Java class for Partner complex type.
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="Partner">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Identifier" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}PartnerIdentification"/>
* &lt;element name="ContactInformation" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}ContactInformation" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Partner", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", propOrder = {
"identifier", "contactInformation" })
public class Partner {

@XmlElement(name = "Identifier", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
protected PartnerIdentification identifier;
@XmlElement(name = "ContactInformation", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader")
protected List<ContactInformation> contactInformation;

/**
* Gets the value of the identifier property.
*
* @return possible object is {@link PartnerIdentification }
*/
public PartnerIdentification getIdentifier() {
return identifier;
}

/**
* Sets the value of the identifier property.
*
* @param value
* allowed object is {@link PartnerIdentification }
*/
public void setIdentifier(PartnerIdentification value) {
this.identifier = value;
}

/**
* Gets the value of the contactInformation property.
* <p>
* 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
* <CODE>set</CODE> method for the contactInformation property.
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getContactInformation().add(newItem);
* </pre>
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ContactInformation }
*/
public List<ContactInformation> getContactInformation() {
if (contactInformation == null) {
contactInformation = new ArrayList<ContactInformation>();
}
return this.contactInformation;
}

}
(52-52/91)