View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.9-03/31/2009 04:14 PM(snajper)-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2009.04.30 at 06:20:20 PM CEST 
6   //
7   
8   
9   package org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rim;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlType;
18  
19  
20  /**
21   * Mapping of the same named interface in ebRIM.
22   * 
23   * <p>Java class for OrganizationType complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType name="OrganizationType">
29   *   &lt;complexContent>
30   *     &lt;extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObjectType">
31   *       &lt;sequence>
32   *         &lt;element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Address" maxOccurs="unbounded" minOccurs="0"/>
33   *         &lt;element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}TelephoneNumber" maxOccurs="unbounded" minOccurs="0"/>
34   *         &lt;element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}EmailAddress" maxOccurs="unbounded" minOccurs="0"/>
35   *       &lt;/sequence>
36   *       &lt;attribute name="parent" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
37   *       &lt;attribute name="primaryContact" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
38   *     &lt;/extension>
39   *   &lt;/complexContent>
40   * &lt;/complexType>
41   * </pre>
42   * 
43   * 
44   */
45  @XmlAccessorType(XmlAccessType.FIELD)
46  @XmlType(name = "OrganizationType", propOrder = {
47      "address",
48      "telephoneNumber",
49      "emailAddress"
50  })
51  public class OrganizationType
52      extends RegistryObjectType
53  {
54  
55      @XmlElement(name = "Address")
56      protected List<PostalAddressType> address;
57      @XmlElement(name = "TelephoneNumber")
58      protected List<TelephoneNumberType> telephoneNumber;
59      @XmlElement(name = "EmailAddress")
60      protected List<EmailAddressType> emailAddress;
61      @XmlAttribute
62      protected String parent;
63      @XmlAttribute
64      protected String primaryContact;
65  
66      /**
67       * Gets the value of the address property.
68       * 
69       * <p>
70       * This accessor method returns a reference to the live list,
71       * not a snapshot. Therefore any modification you make to the
72       * returned list will be present inside the JAXB object.
73       * This is why there is not a <CODE>set</CODE> method for the address property.
74       * 
75       * <p>
76       * For example, to add a new item, do as follows:
77       * <pre>
78       *    getAddress().add(newItem);
79       * </pre>
80       * 
81       * 
82       * <p>
83       * Objects of the following type(s) are allowed in the list
84       * {@link PostalAddressType }
85       * 
86       * 
87       */
88      public List<PostalAddressType> getAddress() {
89          if (address == null) {
90              address = new ArrayList<>();
91          }
92          return this.address;
93      }
94  
95      /**
96       * Gets the value of the telephoneNumber property.
97       * 
98       * <p>
99       * This accessor method returns a reference to the live list,
100      * not a snapshot. Therefore any modification you make to the
101      * returned list will be present inside the JAXB object.
102      * This is why there is not a <CODE>set</CODE> method for the telephoneNumber property.
103      * 
104      * <p>
105      * For example, to add a new item, do as follows:
106      * <pre>
107      *    getTelephoneNumber().add(newItem);
108      * </pre>
109      * 
110      * 
111      * <p>
112      * Objects of the following type(s) are allowed in the list
113      * {@link TelephoneNumberType }
114      * 
115      * 
116      */
117     public List<TelephoneNumberType> getTelephoneNumber() {
118         if (telephoneNumber == null) {
119             telephoneNumber = new ArrayList<>();
120         }
121         return this.telephoneNumber;
122     }
123 
124     /**
125      * Gets the value of the emailAddress property.
126      * 
127      * <p>
128      * This accessor method returns a reference to the live list,
129      * not a snapshot. Therefore any modification you make to the
130      * returned list will be present inside the JAXB object.
131      * This is why there is not a <CODE>set</CODE> method for the emailAddress property.
132      * 
133      * <p>
134      * For example, to add a new item, do as follows:
135      * <pre>
136      *    getEmailAddress().add(newItem);
137      * </pre>
138      * 
139      * 
140      * <p>
141      * Objects of the following type(s) are allowed in the list
142      * {@link EmailAddressType }
143      * 
144      * 
145      */
146     public List<EmailAddressType> getEmailAddress() {
147         if (emailAddress == null) {
148             emailAddress = new ArrayList<>();
149         }
150         return this.emailAddress;
151     }
152 
153     /**
154      * Gets the value of the parent property.
155      * 
156      * @return
157      *     possible object is
158      *     {@link String }
159      *     
160      */
161     public String getParent() {
162         return parent;
163     }
164 
165     /**
166      * Sets the value of the parent property.
167      * 
168      * @param value
169      *     allowed object is
170      *     {@link String }
171      *     
172      */
173     public void setParent(String value) {
174         this.parent = value;
175     }
176 
177     /**
178      * Gets the value of the primaryContact property.
179      * 
180      * @return
181      *     possible object is
182      *     {@link String }
183      *     
184      */
185     public String getPrimaryContact() {
186         return primaryContact;
187     }
188 
189     /**
190      * Sets the value of the primaryContact property.
191      * 
192      * @param value
193      *     allowed object is
194      *     {@link String }
195      *     
196      */
197     public void setPrimaryContact(String value) {
198         this.primaryContact = value;
199     }
200 
201 }