org.projecthusky.common.hl7cdar2.TEL Maven / Gradle / Ivy
/*
* This code is made available under the terms of the Eclipse Public License v1.0
* in the github project https://github.com/project-husky/husky there you also
* find a list of the contributors and the license information.
*
* This project has been developed further and modified by the joined working group Husky
* on the basis of the eHealth Connector opensource project from June 28, 2021,
* whereas medshare GmbH is the initial and main contributor/author of the eHealth Connector.
*
*/
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe http://java.sun.com/xml/jaxb
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2020.07.09 um 01:07:39 PM CEST
//
package org.projecthusky.common.hl7cdar2;
import org.checkerframework.checker.nullness.qual.NonNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* 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 Universal Resource Locator (URL) qualified by time
* specification and use codes that help in deciding which address to use for a given time and purpose.
*
*
*
* Java-Klasse für TEL complex type.
*
*
* Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <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>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TEL", propOrder = {"useablePeriod"})
public class TEL extends URL {
protected List useablePeriod;
@XmlAttribute(name = "use")
protected List use;
public TEL() {
}
public TEL(final String value) {
this.value = value;
}
/**
* 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 JAXB 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 {@link String }
*/
@NonNull
public List getUse() {
if (use == null) {
use = new ArrayList<>();
}
return this.use;
}
/**
* 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 JAXB 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 {@link SXCMTS }
*/
@NonNull
public List getUseablePeriod() {
if (useablePeriod == null) {
useablePeriod = new ArrayList<>();
}
return this.useablePeriod;
}
}