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>
| Modifier and Type | Field and Description |
|---|---|
protected ElectronicMailType |
electronicMail |
protected IDType |
id |
protected NameType |
name |
protected List<NoteType> |
note |
protected List<CommunicationType> |
otherCommunication |
protected TelefaxType |
telefax |
protected TelephoneType |
telephone |
| Constructor and Description |
|---|
ContactType() |
| Modifier and Type | Method and Description |
|---|---|
ElectronicMailType |
getElectronicMail()
Gets the value of the electronicMail property.
|
IDType |
getID()
Gets the value of the id property.
|
NameType |
getName()
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.
|
TelefaxType |
getTelefax()
Gets the value of the telefax property.
|
TelephoneType |
getTelephone()
Gets the value of the telephone property.
|
void |
setElectronicMail(ElectronicMailType value)
Sets the value of the electronicMail property.
|
void |
setID(IDType value)
Sets the value of the id property.
|
void |
setName(NameType value)
Sets the value of the name property.
|
void |
setTelefax(TelefaxType value)
Sets the value of the telefax property.
|
void |
setTelephone(TelephoneType value)
Sets the value of the telephone property.
|
protected IDType id
protected NameType name
protected TelephoneType telephone
protected TelefaxType telefax
protected ElectronicMailType electronicMail
protected List<CommunicationType> otherCommunication
public void setID(IDType value)
value - allowed object is
IDTypepublic NameType getName()
NameTypepublic void setName(NameType value)
value - allowed object is
NameTypepublic TelephoneType getTelephone()
TelephoneTypepublic void setTelephone(TelephoneType value)
value - allowed object is
TelephoneTypepublic TelefaxType getTelefax()
TelefaxTypepublic void setTelefax(TelefaxType value)
value - allowed object is
TelefaxTypepublic ElectronicMailType getElectronicMail()
ElectronicMailTypepublic void setElectronicMail(ElectronicMailType value)
value - allowed object is
ElectronicMailTypepublic List<NoteType> getNote()
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 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
public List<CommunicationType> getOtherCommunication()
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 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
Copyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.