public class TradeContactType extends Object
Java class for TradeContactType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeContactType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="PersonName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="DepartmentName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="TelephoneUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="FaxUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="EmailURIUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected TextType |
departmentName |
protected UniversalCommunicationType |
emailURIUniversalCommunication |
protected List<UniversalCommunicationType> |
faxUniversalCommunication |
protected TextType |
personName |
protected List<UniversalCommunicationType> |
telephoneUniversalCommunication |
| Constructor and Description |
|---|
TradeContactType() |
protected TextType personName
protected TextType departmentName
protected List<UniversalCommunicationType> telephoneUniversalCommunication
protected List<UniversalCommunicationType> faxUniversalCommunication
protected UniversalCommunicationType emailURIUniversalCommunication
public TextType getPersonName()
TextTypepublic void setPersonName(TextType value)
value - allowed object is
TextTypepublic TextType getDepartmentName()
TextTypepublic void setDepartmentName(TextType value)
value - allowed object is
TextTypepublic List<UniversalCommunicationType> getTelephoneUniversalCommunication()
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 telephoneUniversalCommunication property.
For example, to add a new item, do as follows:
getTelephoneUniversalCommunication().add(newItem);
Objects of the following type(s) are allowed in the list
UniversalCommunicationType
public List<UniversalCommunicationType> getFaxUniversalCommunication()
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 faxUniversalCommunication property.
For example, to add a new item, do as follows:
getFaxUniversalCommunication().add(newItem);
Objects of the following type(s) are allowed in the list
UniversalCommunicationType
public UniversalCommunicationType getEmailURIUniversalCommunication()
UniversalCommunicationTypepublic void setEmailURIUniversalCommunication(UniversalCommunicationType value)
value - allowed object is
UniversalCommunicationTypepublic TradeContactType withPersonName(TextType value)
public TradeContactType withDepartmentName(TextType value)
public TradeContactType withTelephoneUniversalCommunication(UniversalCommunicationType... values)
public TradeContactType withTelephoneUniversalCommunication(Collection<UniversalCommunicationType> values)
public TradeContactType withFaxUniversalCommunication(UniversalCommunicationType... values)
public TradeContactType withFaxUniversalCommunication(Collection<UniversalCommunicationType> values)
public TradeContactType withEmailURIUniversalCommunication(UniversalCommunicationType value)
Copyright © 2014–2019 Philip Helger. All rights reserved.