public class ContactType extends Object implements Serializable
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Contact. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a contactable person or organization department.</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" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OtherCommunication" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ContactType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
ElectronicMailType |
getElectronicMail()
<?
|
String |
getElectronicMailValue()
Get the value of the contained ElectronicMailType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
NameType |
getName()
<?
|
String |
getNameValue()
Get the value of the contained NameType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
NoteType |
getNote()
<?
|
String |
getNoteValue()
Get the value of the contained NoteType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
List<CommunicationType> |
getOtherCommunication()
<?
|
CommunicationType |
getOtherCommunicationAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getOtherCommunicationCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
TelefaxType |
getTelefax()
<?
|
String |
getTelefaxValue()
Get the value of the contained TelefaxType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TelephoneType |
getTelephone()
<?
|
String |
getTelephoneValue()
Get the value of the contained TelephoneType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoOtherCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasOtherCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setElectronicMail(ElectronicMailType value)
Sets the value of the electronicMail property.
|
ElectronicMailType |
setElectronicMail(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setName(NameType value)
Sets the value of the name property.
|
NameType |
setName(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setNote(NoteType value)
Sets the value of the note property.
|
NoteType |
setNote(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setOtherCommunication(List<CommunicationType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TelefaxType |
setTelefax(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTelefax(TelefaxType value)
Sets the value of the telefax property.
|
TelephoneType |
setTelephone(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTelephone(TelephoneType value)
Sets the value of the telephone property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ContactType()
@Nullable 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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 the 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(@Nullable IDType value)
value - allowed object is
IDType@Nullable public 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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 the Contact.</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(@Nullable NameType value)
value - allowed object is
NameType@Nullable public 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Contact. Telephone. Text</ccts:DictionaryEntryName><ccts:Definition>The telephone number of the 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(@Nullable TelephoneType value)
value - allowed object is
TelephoneType@Nullable public 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Contact. Telefax. Text</ccts:DictionaryEntryName><ccts:Definition>The fax number of the 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(@Nullable TelefaxType value)
value - allowed object is
TelefaxType@Nullable public 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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 email address of the 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(@Nullable ElectronicMailType value)
value - allowed object is
ElectronicMailType@Nullable public 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Contact. Note. Text</ccts:DictionaryEntryName><ccts:Definition>A note such as 'Emergency' or 'After Hours' describing the circumstances in which the Contact can be used.</ccts:Definition><ccts:Cardinality>0..1</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>
NoteTypepublic void setNote(@Nullable NoteType value)
value - allowed object is
NoteType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Contact. Other_ Communication. Communication</ccts:DictionaryEntryName><ccts:Definition>An association to Other Communication.</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: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
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setOtherCommunication(@Nullable List<CommunicationType> aList)
aList - The new list member to set. May be null.public boolean hasOtherCommunicationEntries()
true if at least one item is contained, false otherwise.public boolean hasNoOtherCommunicationEntries()
true if no item is contained, false otherwise.@Nonnegative public int getOtherCommunicationCount()
@Nullable public CommunicationType getOtherCommunicationAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public TelephoneType setTelephone(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TelefaxType setTelefax(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ElectronicMailType setElectronicMail(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public NoteType setNote(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public NameType setName(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public String getNameValue()
null@Nullable public String getTelephoneValue()
null@Nullable public String getTelefaxValue()
null@Nullable public String getElectronicMailValue()
nullCopyright © 2014 Philip Helger. All rights reserved.