1/*2 * Copyright 2001-2009 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 */17package org.apache.juddi;
1819import java.io.Serializable;
2021import javax.xml.bind.annotation.XmlAccessType;
22import javax.xml.bind.annotation.XmlAccessorType;
23import javax.xml.bind.annotation.XmlAttribute;
24import javax.xml.bind.annotation.XmlElement;
25import javax.xml.bind.annotation.XmlTransient;
26import javax.xml.bind.annotation.XmlType;
2728 @XmlAccessorType(XmlAccessType.FIELD)
29 @XmlType(name = "property", propOrder = {
30"name",
31"value"32 })
3334publicclassPropertyimplements Serializable {
3536 @XmlTransient
37privatestaticfinallong serialVersionUID = -4709832013883862802L;
3839 @XmlAttribute
40protected String name;
41 @XmlAttribute
42protected String value;
4344publicProperty() {
45super();
46 }
4748publicProperty(String name, String value) {
49super();
50this.name = name;
51this.value = value;
52 }
5354public String getName() {
55return name;
56 }
5758publicvoid setName(String name) {
59this.name = name;
60 }
6162public String getValue() {
63return value;
64 }
6566publicvoid setValue(String value) {
67this.value = value;
68 }
697071 }