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 import javax.xml.bind.annotation.XmlValue;
24
25
26 /**
27 * <p>Java class for errInfo complex type.
28 *
29 * <p>The following schema fragment specifies the expected content contained within this class.
30 *
31 * <pre>
32 * <complexType name="errInfo">
33 * <simpleContent>
34 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
35 * <attribute name="errCode" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
36 * </extension>
37 * </simpleContent>
38 * </complexType>
39 * </pre>
40 *
41 *
42 */
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "errInfo", propOrder = {
45 "value"
46 })
47 public class ErrInfo {
48
49 @XmlValue
50 protected String value;
51 @XmlAttribute(name = "errCode", required = true)
52 protected String errCode;
53
54 /**
55 * Gets the value of the value property.
56 *
57 * @return
58 * possible object is
59 * {@link String }
60 *
61 */
62 public String getValue() {
63 return value;
64 }
65
66 /**
67 * Sets the value of the value property.
68 *
69 * @param value
70 * allowed object is
71 * {@link String }
72 *
73 */
74 public void setValue(String value) {
75 this.value = value;
76 }
77
78 /**
79 * Gets the value of the errCode property.
80 *
81 * @return
82 * possible object is
83 * {@link String }
84 *
85 */
86 public String getErrCode() {
87 return errCode;
88 }
89
90 /**
91 * Sets the value of the errCode property.
92 *
93 * @param value
94 * allowed object is
95 * {@link String }
96 *
97 */
98 public void setErrCode(String value) {
99 this.errCode = value;
100 }
101
102 }