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.policy_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 policyDescription_type complex type. 33 * 34 * <p>The following schema fragment specifies the expected content contained within this class. 35 * 36 * <pre> 37 * <complexType name="policyDescription_type"> 38 * <simpleContent> 39 * <extension base="<http://www.w3.org/2001/XMLSchema>string"> 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 = "policyDescription_type", propOrder = { 50 "value" 51 }) 52 public class PolicyDescriptionType implements Serializable{ 53 54 @XmlTransient 55 private static final long serialVersionUID = -7663085495898201372L; 56 57 @XmlValue 58 protected String value; 59 @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") 60 protected String lang; 61 62 /** 63 * Gets the value of the value property. 64 * 65 * @return 66 * possible object is 67 * {@link String } 68 * 69 */ 70 public String getValue() { 71 return value; 72 } 73 74 /** 75 * Sets the value of the value property. 76 * 77 * @param value 78 * allowed object is 79 * {@link String } 80 * 81 */ 82 public void setValue(String value) { 83 this.value = value; 84 } 85 86 /** 87 * Gets the value of the lang property. 88 * 89 * @return 90 * possible object is 91 * {@link String } 92 * 93 */ 94 public String getLang() { 95 return lang; 96 } 97 98 /** 99 * Sets the value of the lang property. 100 * 101 * @param value 102 * allowed object is 103 * {@link String } 104 * 105 */ 106 public void setLang(String value) { 107 this.lang = value; 108 } 109 110 }