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.vscache_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.XmlElement; 26 import javax.xml.bind.annotation.XmlTransient; 27 import javax.xml.bind.annotation.XmlType; 28 29 30 /** 31 * <p>Java class for validValue complex type. 32 * 33 * <p>The following schema fragment specifies the expected content contained within this class. 34 * 35 * <pre> 36 * <complexType name="validValue"> 37 * <complexContent> 38 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 39 * <sequence> 40 * <element ref="{urn:uddi-org:vscache_v3}keyValue"/> 41 * </sequence> 42 * </restriction> 43 * </complexContent> 44 * </complexType> 45 * </pre> 46 * 47 * 48 */ 49 @XmlAccessorType(XmlAccessType.FIELD) 50 @XmlType(name = "validValue", propOrder = { 51 "keyValue" 52 }) 53 public class ValidValue implements Serializable{ 54 @XmlTransient 55 private static final long serialVersionUID = 7673085230286980915L; 56 @XmlElement(required = true) 57 protected String keyValue; 58 59 public ValidValue() { 60 } 61 62 public ValidValue(String val) { 63 64 this.keyValue = val; 65 } 66 /** 67 * Gets the value of the keyValue property. 68 * 69 * @return 70 * possible object is 71 * {@link String } 72 * 73 */ 74 public String getKeyValue() { 75 return keyValue; 76 } 77 78 /** 79 * Sets the value of the keyValue property. 80 * 81 * @param value 82 * allowed object is 83 * {@link String } 84 * 85 */ 86 public void setKeyValue(String value) { 87 this.keyValue = value; 88 } 89 90 }