1 /*
2 * Copyright 2001-2008 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.uddi.api_v2;
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.XmlType;
25
26
27 /**
28 * <p>Java class for publisherAssertions complex type.
29 *
30 * <p>The following schema fragment specifies the expected content contained within this class.
31 *
32 * <pre>
33 * <complexType name="publisherAssertions">
34 * <complexContent>
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <sequence>
37 * <element ref="{urn:uddi-org:api_v2}publisherAssertion" maxOccurs="unbounded" minOccurs="0"/>
38 * </sequence>
39 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * <attribute name="operator" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
41 * <attribute name="authorizedName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
42 * </restriction>
43 * </complexContent>
44 * </complexType>
45 * </pre>
46 *
47 *
48 */
49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "publisherAssertions", propOrder = {
51 "publisherAssertion"
52 })
53 public class PublisherAssertions {
54
55 protected List<PublisherAssertion> publisherAssertion;
56 @XmlAttribute(name = "generic", required = true)
57 protected String generic;
58 @XmlAttribute(name = "operator", required = true)
59 protected String operator;
60 @XmlAttribute(name = "authorizedName", required = true)
61 protected String authorizedName;
62
63 /**
64 * Gets the value of the publisherAssertion property.
65 *
66 * <p>
67 * This accessor method returns a reference to the live list,
68 * not a snapshot. Therefore any modification you make to the
69 * returned list will be present inside the JAXB object.
70 * This is why there is not a <CODE>set</CODE> method for the publisherAssertion property.
71 *
72 * <p>
73 * For example, to add a new item, do as follows:
74 * <pre>
75 * getPublisherAssertion().add(newItem);
76 * </pre>
77 *
78 *
79 * <p>
80 * Objects of the following type(s) are allowed in the list
81 * {@link PublisherAssertion }
82 *
83 *
84 */
85 public List<PublisherAssertion> getPublisherAssertion() {
86 if (publisherAssertion == null) {
87 publisherAssertion = new ArrayList<PublisherAssertion>();
88 }
89 return this.publisherAssertion;
90 }
91
92 /**
93 * Gets the value of the generic property.
94 *
95 * @return
96 * possible object is
97 * {@link String }
98 *
99 */
100 public String getGeneric() {
101 return generic;
102 }
103
104 /**
105 * Sets the value of the generic property.
106 *
107 * @param value
108 * allowed object is
109 * {@link String }
110 *
111 */
112 public void setGeneric(String value) {
113 this.generic = value;
114 }
115
116 /**
117 * Gets the value of the operator property.
118 *
119 * @return
120 * possible object is
121 * {@link String }
122 *
123 */
124 public String getOperator() {
125 return operator;
126 }
127
128 /**
129 * Sets the value of the operator property.
130 *
131 * @param value
132 * allowed object is
133 * {@link String }
134 *
135 */
136 public void setOperator(String value) {
137 this.operator = value;
138 }
139
140 /**
141 * Gets the value of the authorizedName property.
142 *
143 * @return
144 * possible object is
145 * {@link String }
146 *
147 */
148 public String getAuthorizedName() {
149 return authorizedName;
150 }
151
152 /**
153 * Sets the value of the authorizedName property.
154 *
155 * @param value
156 * allowed object is
157 * {@link String }
158 *
159 */
160 public void setAuthorizedName(String value) {
161 this.authorizedName = value;
162 }
163
164 }