Class ContactType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.ContactType
-
public class ContactType extends Object
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="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Telephone" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Telefax" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ElectronicMail" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Note" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OtherCommunication" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ElectronicMailTypeelectronicMailprotected IDTypeidprotected NameTypenameprotected List<NoteType>noteprotected List<CommunicationType>otherCommunicationprotected TelefaxTypetelefaxprotected TelephoneTypetelephone
-
Constructor Summary
Constructors Constructor Description ContactType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElectronicMailTypegetElectronicMail()Gets the value of the electronicMail property.IDTypegetID()Gets the value of the id property.NameTypegetName()Gets the value of the name property.List<NoteType>getNote()Gets the value of the note property.List<CommunicationType>getOtherCommunication()Gets the value of the otherCommunication property.TelefaxTypegetTelefax()Gets the value of the telefax property.TelephoneTypegetTelephone()Gets the value of the telephone property.voidsetElectronicMail(ElectronicMailType value)Sets the value of the electronicMail property.voidsetID(IDType value)Sets the value of the id property.voidsetName(NameType value)Sets the value of the name property.voidsetTelefax(TelefaxType value)Sets the value of the telefax property.voidsetTelephone(TelephoneType value)Sets the value of the telephone property.
-
-
-
Field Detail
-
id
protected IDType id
-
name
protected NameType name
-
telephone
protected TelephoneType telephone
-
telefax
protected TelefaxType telefax
-
electronicMail
protected ElectronicMailType electronicMail
-
otherCommunication
protected List<CommunicationType> otherCommunication
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getName
public NameType getName()
Gets the value of the name property.- Returns:
- possible object is
NameType
-
setName
public void setName(NameType value)
Sets the value of the name property.- Parameters:
value- allowed object isNameType
-
getTelephone
public TelephoneType getTelephone()
Gets the value of the telephone property.- Returns:
- possible object is
TelephoneType
-
setTelephone
public void setTelephone(TelephoneType value)
Sets the value of the telephone property.- Parameters:
value- allowed object isTelephoneType
-
getTelefax
public TelefaxType getTelefax()
Gets the value of the telefax property.- Returns:
- possible object is
TelefaxType
-
setTelefax
public void setTelefax(TelefaxType value)
Sets the value of the telefax property.- Parameters:
value- allowed object isTelefaxType
-
getElectronicMail
public ElectronicMailType getElectronicMail()
Gets the value of the electronicMail property.- Returns:
- possible object is
ElectronicMailType
-
setElectronicMail
public void setElectronicMail(ElectronicMailType value)
Sets the value of the electronicMail property.- Parameters:
value- allowed object isElectronicMailType
-
getNote
public List<NoteType> getNote()
Gets the value of the note 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
setmethod for the note property.For example, to add a new item, do as follows:
getNote().add(newItem);Objects of the following type(s) are allowed in the list
NoteType
-
getOtherCommunication
public List<CommunicationType> getOtherCommunication()
Gets the value of the otherCommunication 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
setmethod for the otherCommunication property.For example, to add a new item, do as follows:
getOtherCommunication().add(newItem);Objects of the following type(s) are allowed in the list
CommunicationType
-
-