Package org.hl7.v3

Class TEL


public class TEL extends URL
A telephone number (voice or fax), e-mail address, or other locator for a resource (information or service) mediated by telecommunication equipment. The address is specified as a URL qualified by time specification and use codes that help in deciding which address to use for a given time and purpose.

Java class for TEL complex type.

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

 <complexType name="TEL">
   <complexContent>
     <extension base="{urn:hl7-org:v3}URL">
       <sequence>
         <element name="useablePeriod" type="{urn:hl7-org:v3}SXCM_TS" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="use" type="{urn:hl7-org:v3}set_TelecommunicationAddressUse" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TEL

      public TEL()
  • Method Details

    • getUseablePeriod

      public List<SXCMTS> getUseablePeriod()
      Gets the value of the useablePeriod 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 Jakarta XML Binding object. This is why there is not a set method for the useablePeriod property.

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

          getUseablePeriod().add(newItem);
       

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

    • getUse

      public List<String> getUse()
      Gets the value of the use 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 Jakarta XML Binding object. This is why there is not a set method for the use property.

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

          getUse().add(newItem);
       

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

    • withUseablePeriod

      public TEL withUseablePeriod(SXCMTS... values)
    • withUseablePeriod

      public TEL withUseablePeriod(Collection<SXCMTS> values)
    • withUse

      public TEL withUse(String... values)
    • withUse

      public TEL withUse(Collection<String> values)
    • withValue

      public TEL withValue(String value)
      Overrides:
      withValue in class URL
    • withNullFlavor

      public TEL withNullFlavor(String... values)
      Overrides:
      withNullFlavor in class URL
    • withNullFlavor

      public TEL withNullFlavor(Collection<String> values)
      Overrides:
      withNullFlavor in class URL
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class URL
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class URL
    • toString

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class URL