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 at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * 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 and14 * limitations under the License.15 *16 */171819package org.uddi.api_v3;
2021import java.io.Serializable;
2223import javax.xml.bind.annotation.XmlAccessType;
24import javax.xml.bind.annotation.XmlAccessorType;
25import javax.xml.bind.annotation.XmlAttribute;
26import javax.xml.bind.annotation.XmlTransient;
27import javax.xml.bind.annotation.XmlType;
28import javax.xml.bind.annotation.XmlValue;
293031/**32 * <p>Java class for description complex type.33 * 34 * <p>The following schema fragment specifies the expected content contained within this class.35 * 36 * <pre>37 * <complexType name="description">38 * <simpleContent>39 * <extension base="<urn:uddi-org:api_v3>validationTypeString255">40 * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>41 * </extension>42 * </simpleContent>43 * </complexType>44 * </pre>45 * 46 * 47 */48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "description", propOrder = {
50"value"51 })
52publicclassDescriptionimplements Serializable{
53 @XmlTransient
54privatestaticfinallong serialVersionUID = -4671387713466240230L;
55 @XmlValue
56protected String value;
57 @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
58protected String lang;
5960publicDescription(String value, String lang) {
61this.value = value;
62this.lang=lang;
63 }
6465publicDescription() {
6667 }
6869/**70 * Gets the value of the value property.71 * 72 * @return73 * possible object is74 * {@link String }75 * 76 */77public String getValue() {
78return value;
79 }
8081/**82 * Sets the value of the value property.83 * 84 * @param value85 * allowed object is86 * {@link String }87 * 88 */89publicvoid setValue(String value) {
90this.value = value;
91 }
9293/**94 * Gets the value of the lang property.95 * 96 * @return97 * possible object is98 * {@link String }99 * 100 */101public String getLang() {
102return lang;
103 }
104105/**106 * Sets the value of the lang property.107 * 108 * @param value109 * allowed object is110 * {@link String }111 * 112 */113publicvoid setLang(String value) {
114this.lang = value;
115 }
116117 }