This project has retired. For details please refer to its Attic page.
Publisher xref
View Javadoc
1   /*
2    * Copyright 2001-2009 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package org.apache.juddi.api_v3;
18  
19  import java.util.ArrayList;
20  import java.util.List;
21  import javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlAttribute;
24  import javax.xml.bind.annotation.XmlElement;
25  import javax.xml.bind.annotation.XmlType;
26  import org.w3._2000._09.xmldsig_.SignatureType;
27  
28  
29  /**
30   * <p>Java class for publisher complex type.
31   * 
32   * <p>The following schema fragment specifies the expected content contained within this class.
33   * 
34   * <pre>
35   * &lt;complexType name="publisher">
36   *   &lt;complexContent>
37   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38   *       &lt;sequence>
39   *         &lt;element name="publisherName" type="{http://www.w3.org/2001/XMLSchema}string"/>
40   *         &lt;element name="emailAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41   *         &lt;element name="isAdmin" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
42   *         &lt;element name="isEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
43   *         &lt;element name="maxBindingsPerService" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
44   *         &lt;element name="maxBusinesses" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
45   *         &lt;element name="maxServicePerBusiness" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
46   *         &lt;element name="maxTModels" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
47   *         &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" maxOccurs="unbounded" minOccurs="0"/>
48   *       &lt;/sequence>
49   *       &lt;attribute name="authorizedName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
50   *     &lt;/restriction>
51   *   &lt;/complexContent>
52   * &lt;/complexType>
53   * </pre>
54   * 
55   * 
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "publisher", propOrder = {
59      "publisherName",
60      "emailAddress",
61      "isAdmin",
62      "isEnabled",
63      "maxBindingsPerService",
64      "maxBusinesses",
65      "maxServicePerBusiness",
66      "maxTModels",
67      "signature"
68  })
69  public class Publisher {
70  
71      @XmlElement(required = true)
72      protected String publisherName;
73      protected String emailAddress;
74      protected Boolean isAdmin;
75      protected Boolean isEnabled;
76      protected Integer maxBindingsPerService;
77      protected Integer maxBusinesses;
78      protected Integer maxServicePerBusiness;
79      protected Integer maxTModels;
80      @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
81      protected List<SignatureType> signature;
82      @XmlAttribute(name = "authorizedName", required = true)
83      protected String authorizedName;
84  
85      /**
86       * Gets the value of the publisherName property.
87       * 
88       * @return
89       *     possible object is
90       *     {@link String }
91       *     
92       */
93      public String getPublisherName() {
94          return publisherName;
95      }
96  
97      /**
98       * Sets the value of the publisherName property.
99       * 
100      * @param value
101      *     allowed object is
102      *     {@link String }
103      *     
104      */
105     public void setPublisherName(String value) {
106         this.publisherName = value;
107     }
108 
109     /**
110      * Gets the value of the emailAddress property.
111      * 
112      * @return
113      *     possible object is
114      *     {@link String }
115      *     
116      */
117     public String getEmailAddress() {
118         return emailAddress;
119     }
120 
121     /**
122      * Sets the value of the emailAddress property.
123      * 
124      * @param value
125      *     allowed object is
126      *     {@link String }
127      *     
128      */
129     public void setEmailAddress(String value) {
130         this.emailAddress = value;
131     }
132 
133     /**
134      * Gets the value of the isAdmin property.
135      * 
136      * @return
137      *     possible object is
138      *     {@link String }
139      *     
140      */
141     public Boolean isIsAdmin() {
142         return isAdmin;
143     }
144 
145     /**
146      * Sets the value of the isAdmin property.
147      * 
148      * @param value
149      *     allowed object is
150      *     {@link String }
151      *     
152      */
153     public void setIsAdmin(Boolean value) {
154         this.isAdmin = value;
155     }
156 
157     /**
158      * Gets the value of the isEnabled property.
159      * 
160      * @return
161      *     possible object is
162      *     {@link String }
163      *     
164      */
165     public Boolean isIsEnabled() {
166         return isEnabled;
167     }
168 
169     /**
170      * Sets the value of the isEnabled property.
171      * 
172      * @param value
173      *     allowed object is
174      *     {@link String }
175      *     
176      */
177     public void setIsEnabled(Boolean value) {
178         this.isEnabled = value;
179     }
180 
181     /**
182      * Gets the value of the maxBindingsPerService property.
183      * 
184      * @return
185      *     possible object is
186      *     {@link Integer }
187      *     
188      */
189     public Integer getMaxBindingsPerService() {
190         return maxBindingsPerService;
191     }
192 
193     /**
194      * Sets the value of the maxBindingsPerService property.
195      * 
196      * @param value
197      *     allowed object is
198      *     {@link Integer }
199      *     
200      */
201     public void setMaxBindingsPerService(Integer value) {
202         this.maxBindingsPerService = value;
203     }
204 
205     /**
206      * Gets the value of the maxBusinesses property.
207      * 
208      * @return
209      *     possible object is
210      *     {@link Integer }
211      *     
212      */
213     public Integer getMaxBusinesses() {
214         return maxBusinesses;
215     }
216 
217     /**
218      * Sets the value of the maxBusinesses property.
219      * 
220      * @param value
221      *     allowed object is
222      *     {@link Integer }
223      *     
224      */
225     public void setMaxBusinesses(Integer value) {
226         this.maxBusinesses = value;
227     }
228 
229     /**
230      * Gets the value of the maxServicePerBusiness property.
231      * 
232      * @return
233      *     possible object is
234      *     {@link Integer }
235      *     
236      */
237     public Integer getMaxServicePerBusiness() {
238         return maxServicePerBusiness;
239     }
240 
241     /**
242      * Sets the value of the maxServicePerBusiness property.
243      * 
244      * @param value
245      *     allowed object is
246      *     {@link Integer }
247      *     
248      */
249     public void setMaxServicePerBusiness(Integer value) {
250         this.maxServicePerBusiness = value;
251     }
252 
253     /**
254      * Gets the value of the maxTModels property.
255      * 
256      * @return
257      *     possible object is
258      *     {@link Integer }
259      *     
260      */
261     public Integer getMaxTModels() {
262         return maxTModels;
263     }
264 
265     /**
266      * Sets the value of the maxTModels property.
267      * 
268      * @param value
269      *     allowed object is
270      *     {@link Integer }
271      *     
272      */
273     public void setMaxTModels(Integer value) {
274         this.maxTModels = value;
275     }
276 
277     /**
278      * Gets the value of the signature property.
279      * 
280      * <p>
281      * This accessor method returns a reference to the live list,
282      * not a snapshot. Therefore any modification you make to the
283      * returned list will be present inside the JAXB object.
284      * This is why there is not a <CODE>set</CODE> method for the signature property.
285      * 
286      * <p>
287      * For example, to add a new item, do as follows:
288      * <pre>
289      *    getSignature().add(newItem);
290      * </pre>
291      * 
292      * 
293      * <p>
294      * Objects of the following type(s) are allowed in the list
295      * {@link SignatureType }
296      * 
297      * 
298      */
299     public List<SignatureType> getSignature() {
300         if (signature == null) {
301             signature = new ArrayList<SignatureType>();
302         }
303         return this.signature;
304     }
305 
306     /**
307      * Gets the value of the authorizedName property.
308      * 
309      * @return
310      *     possible object is
311      *     {@link String }
312      *     
313      */
314     public String getAuthorizedName() {
315         return authorizedName;
316     }
317 
318     /**
319      * Sets the value of the authorizedName property.
320      * 
321      * @param value
322      *     allowed object is
323      *     {@link String }
324      *     
325      */
326     public void setAuthorizedName(String value) {
327         this.authorizedName = value;
328     }
329 
330 }