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.XmlElement;
25 import javax.xml.bind.annotation.XmlType;
26
27
28 /**
29 * <p>Java class for set_publisherAssertions complex type.
30 *
31 * <p>The following schema fragment specifies the expected content contained within this class.
32 *
33 * <pre>
34 * <complexType name="set_publisherAssertions">
35 * <complexContent>
36 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 * <sequence>
38 * <element ref="{urn:uddi-org:api_v2}authInfo"/>
39 * <element ref="{urn:uddi-org:api_v2}publisherAssertion" maxOccurs="unbounded" minOccurs="0"/>
40 * </sequence>
41 * <attribute name="generic" 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 = "set_publisherAssertions", propOrder = {
51 "authInfo",
52 "publisherAssertion"
53 })
54 public class SetPublisherAssertions {
55
56 @XmlElement(required = true)
57 protected String authInfo;
58 protected List<PublisherAssertion> publisherAssertion;
59 @XmlAttribute(name = "generic", required = true)
60 protected String generic;
61
62 /**
63 * Gets the value of the authInfo property.
64 *
65 * @return
66 * possible object is
67 * {@link String }
68 *
69 */
70 public String getAuthInfo() {
71 return authInfo;
72 }
73
74 /**
75 * Sets the value of the authInfo property.
76 *
77 * @param value
78 * allowed object is
79 * {@link String }
80 *
81 */
82 public void setAuthInfo(String value) {
83 this.authInfo = value;
84 }
85
86 /**
87 * Gets the value of the publisherAssertion property.
88 *
89 * <p>
90 * This accessor method returns a reference to the live list,
91 * not a snapshot. Therefore any modification you make to the
92 * returned list will be present inside the JAXB object.
93 * This is why there is not a <CODE>set</CODE> method for the publisherAssertion property.
94 *
95 * <p>
96 * For example, to add a new item, do as follows:
97 * <pre>
98 * getPublisherAssertion().add(newItem);
99 * </pre>
100 *
101 *
102 * <p>
103 * Objects of the following type(s) are allowed in the list
104 * {@link PublisherAssertion }
105 *
106 *
107 */
108 public List<PublisherAssertion> getPublisherAssertion() {
109 if (publisherAssertion == null) {
110 publisherAssertion = new ArrayList<PublisherAssertion>();
111 }
112 return this.publisherAssertion;
113 }
114
115 /**
116 * Gets the value of the generic property.
117 *
118 * @return
119 * possible object is
120 * {@link String }
121 *
122 */
123 public String getGeneric() {
124 return generic;
125 }
126
127 /**
128 * Sets the value of the generic property.
129 *
130 * @param value
131 * allowed object is
132 * {@link String }
133 *
134 */
135 public void setGeneric(String value) {
136 this.generic = value;
137 }
138
139 }