Class 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>
     
    • Constructor Detail

      • ContactType

        public ContactType()
    • Method Detail

      • getID

        public IDType getID()
        Gets the value of the id property.
        Returns:
        possible object is IDType
      • setID

        public void setID​(IDType value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is IDType
      • 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 is NameType
      • 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 is TelephoneType
      • 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 is TelefaxType
      • setElectronicMail

        public void setElectronicMail​(ElectronicMailType value)
        Sets the value of the electronicMail property.
        Parameters:
        value - allowed object is ElectronicMailType
      • 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 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

      • 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 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