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 javax.xml.bind.annotation.XmlAccessType;
20 import javax.xml.bind.annotation.XmlAccessorType;
21 import javax.xml.bind.annotation.XmlAttribute;
22 import javax.xml.bind.annotation.XmlType;
23
24
25 /**
26 * <p>Java class for result complex type.
27 *
28 * <p>The following schema fragment specifies the expected content contained within this class.
29 *
30 * <pre>
31 * <complexType name="result">
32 * <complexContent>
33 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <sequence>
35 * <element ref="{urn:uddi-org:api_v2}errInfo" minOccurs="0"/>
36 * </sequence>
37 * <attribute name="keyType" type="{urn:uddi-org:api_v2}keyType" />
38 * <attribute name="errno" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
39 * </restriction>
40 * </complexContent>
41 * </complexType>
42 * </pre>
43 *
44 *
45 */
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "result", propOrder = {
48 "errInfo"
49 })
50 public class Result {
51
52 protected ErrInfo errInfo;
53 @XmlAttribute(name = "keyType")
54 protected KeyType keyType;
55 @XmlAttribute(name = "errno", required = true)
56 protected int errno;
57
58 /**
59 * Gets the value of the errInfo property.
60 *
61 * @return
62 * possible object is
63 * {@link ErrInfo }
64 *
65 */
66 public ErrInfo getErrInfo() {
67 return errInfo;
68 }
69
70 /**
71 * Sets the value of the errInfo property.
72 *
73 * @param value
74 * allowed object is
75 * {@link ErrInfo }
76 *
77 */
78 public void setErrInfo(ErrInfo value) {
79 this.errInfo = value;
80 }
81
82 /**
83 * Gets the value of the keyType property.
84 *
85 * @return
86 * possible object is
87 * {@link KeyType }
88 *
89 */
90 public KeyType getKeyType() {
91 return keyType;
92 }
93
94 /**
95 * Sets the value of the keyType property.
96 *
97 * @param value
98 * allowed object is
99 * {@link KeyType }
100 *
101 */
102 public void setKeyType(KeyType value) {
103 this.keyType = value;
104 }
105
106 /**
107 * Gets the value of the errno property.
108 *
109 */
110 public int getErrno() {
111 return errno;
112 }
113
114 /**
115 * Sets the value of the errno property.
116 *
117 */
118 public void setErrno(int value) {
119 this.errno = value;
120 }
121
122 }