public class ContactType extends Object
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ABIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Details</ccts:DictionaryEntryName>
<ccts:Definition>A class to describe a contactable person or department in an organization.</ccts:Definition>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
</ccts:Component>
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()
<?
|
IDType |
getID()
<?
|
NameType |
getName()
<?
|
List<NoteType> |
getNote()
<?
|
List<CommunicationType> |
getOtherCommunication()
<?
|
TelefaxType |
getTelefax()
<?
|
TelephoneType |
getTelephone()
<?
|
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 IDType getID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>An identifier for this contact.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
<ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
<ccts:DataType>Identifier. Type</ccts:DataType>
<ccts:Examples>Receivals Clerk </ccts:Examples>
</ccts:Component>
IDTypepublic void setID(IDType value)
value - allowed object is
IDTypepublic NameType getName()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Name</ccts:DictionaryEntryName>
<ccts:Definition>The name of this contact. It is recommended that this be used for a functional name and not a personal name.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
<ccts:PropertyTerm>Name</ccts:PropertyTerm>
<ccts:RepresentationTerm>Name</ccts:RepresentationTerm>
<ccts:DataType>Name. Type</ccts:DataType>
<ccts:Examples>Delivery Dock </ccts:Examples>
</ccts:Component>
NameTypepublic void setName(NameType value)
value - allowed object is
NameTypepublic TelephoneType getTelephone()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Telephone. Text</ccts:DictionaryEntryName>
<ccts:Definition>The primary telephone number of this contact.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
<ccts:PropertyTerm>Telephone</ccts:PropertyTerm>
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
<ccts:DataType>Text. Type</ccts:DataType>
</ccts:Component>
TelephoneTypepublic void setTelephone(TelephoneType value)
value - allowed object is
TelephoneTypepublic TelefaxType getTelefax()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Telefax. Text</ccts:DictionaryEntryName>
<ccts:Definition>The primary fax number of this contact.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
<ccts:PropertyTerm>Telefax</ccts:PropertyTerm>
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
<ccts:DataType>Text. Type</ccts:DataType>
</ccts:Component>
TelefaxTypepublic void setTelefax(TelefaxType value)
value - allowed object is
TelefaxTypepublic ElectronicMailType getElectronicMail()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Electronic_ Mail. Text</ccts:DictionaryEntryName>
<ccts:Definition>The primary email address of this contact.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
<ccts:PropertyTermQualifier>Electronic</ccts:PropertyTermQualifier>
<ccts:PropertyTerm>Mail</ccts:PropertyTerm>
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
<ccts:DataType>Text. Type</ccts:DataType>
</ccts:Component>
ElectronicMailTypepublic void setElectronicMail(ElectronicMailType value)
value - allowed object is
ElectronicMailTypepublic List<NoteType> getNote()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Note. Text</ccts:DictionaryEntryName>
<ccts:Definition>Free-form text conveying information that is not contained explicitly in other structures; in particular, a textual description of the circumstances under which this contact can be used (e.g., "emergency" or "after hours").</ccts:Definition>
<ccts:Cardinality>0..n</ccts:Cardinality>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
<ccts:PropertyTerm>Note</ccts:PropertyTerm>
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
<ccts:DataType>Text. Type</ccts:DataType>
</ccts:Component>
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 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()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Contact. Other_ Communication. Communication</ccts:DictionaryEntryName>
<ccts:Definition>Another means of communication with this contact.</ccts:Definition>
<ccts:Cardinality>0..n</ccts:Cardinality>
<ccts:ObjectClass>Contact</ccts:ObjectClass>
<ccts:PropertyTermQualifier>Other</ccts:PropertyTermQualifier>
<ccts:PropertyTerm>Communication</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Communication</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Communication</ccts:RepresentationTerm>
</ccts:Component>
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 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 © 2015 Direktoratet for forvaltning og IKT (Difi). All rights reserved.