Class TelephoneType


  • public class TelephoneType
    extends Object
    Telephone numbers for contacting the responsible individual or organization.

    Java class for TelephoneType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="TelephoneType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Voice" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
             <element name="Facsimile" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TelephoneType

        public TelephoneType()
        Default no-arg constructor
      • TelephoneType

        public TelephoneType​(List<String> voice,
                             List<String> facsimile)
        Fully-initialising value constructor
    • Method Detail

      • getVoice

        public List<String> getVoice()
        Gets the value of the voice 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 voice property.

        For example, to add a new item, do as follows:

            getVoice().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getFacsimile

        public List<String> getFacsimile()
        Gets the value of the facsimile 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 facsimile property.

        For example, to add a new item, do as follows:

            getFacsimile().add(newItem);
         

        Objects of the following type(s) are allowed in the list String