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