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