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.XmlElement;
24 import javax.xml.bind.annotation.XmlType;
25
26
27 /**
28 * <p>Java class for save_clerk complex type.
29 *
30 * <p>The following schema fragment specifies the expected content contained within this class.
31 *
32 * <pre>
33 * <complexType name="save_clerk">
34 * <complexContent>
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <sequence>
37 * <element name="authInfo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38 * <element name="clerk" type="{urn:juddi-apache-org:api_v3}clerk" maxOccurs="unbounded"/>
39 * </sequence>
40 * </restriction>
41 * </complexContent>
42 * </complexType>
43 * </pre>
44 *
45 *
46 */
47 @XmlAccessorType(XmlAccessType.FIELD)
48 @XmlType(name = "save_clerk", propOrder = {
49 "authInfo",
50 "clerk"
51 })
52 public class SaveClerk {
53
54 protected String authInfo;
55 @XmlElement(required = true)
56 protected List<Clerk> clerk;
57
58 /**
59 * Gets the value of the authInfo property.
60 *
61 * @return
62 * possible object is
63 * {@link String }
64 *
65 */
66 public String getAuthInfo() {
67 return authInfo;
68 }
69
70 /**
71 * Sets the value of the authInfo property.
72 *
73 * @param value
74 * allowed object is
75 * {@link String }
76 *
77 */
78 public void setAuthInfo(String value) {
79 this.authInfo = value;
80 }
81
82 /**
83 * Gets the value of the clerk property.
84 *
85 * <p>
86 * This accessor method returns a reference to the live list,
87 * not a snapshot. Therefore any modification you make to the
88 * returned list will be present inside the JAXB object.
89 * This is why there is not a <CODE>set</CODE> method for the clerk property.
90 *
91 * <p>
92 * For example, to add a new item, do as follows:
93 * <pre>
94 * getClerk().add(newItem);
95 * </pre>
96 *
97 *
98 * <p>
99 * Objects of the following type(s) are allowed in the list
100 * {@link Clerk }
101 *
102 *
103 */
104 public List<Clerk> getClerk() {
105 if (clerk == null) {
106 clerk = new ArrayList<Clerk>();
107 }
108 return this.clerk;
109 }
110
111 }