This project has retired. For details please refer to its Attic page.
Property xref
View Javadoc
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 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  package org.apache.juddi;
18  
19  import java.io.Serializable;
20  
21  import javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlAttribute;
24  import javax.xml.bind.annotation.XmlElement;
25  import javax.xml.bind.annotation.XmlTransient;
26  import javax.xml.bind.annotation.XmlType;
27  
28  @XmlAccessorType(XmlAccessType.FIELD)
29  @XmlType(name = "property", propOrder = {
30      "name",
31      "value"
32  })
33  
34  public class Property implements Serializable {
35  
36  	@XmlTransient
37  	private static final long serialVersionUID = -4709832013883862802L;
38  	
39  	@XmlAttribute
40  	protected String name;
41  	@XmlAttribute
42  	protected String value;
43  	
44  	public Property() {
45  		super();
46  	}
47  	
48  	public Property(String name, String value) {
49  		super();
50  		this.name = name;
51  		this.value = value;
52  	}
53  
54  	public String getName() {
55  		return name;
56  	}
57  
58  	public void setName(String name) {
59  		this.name = name;
60  	}
61  
62  	public String getValue() {
63  		return value;
64  	}
65  
66  	public void setValue(String value) {
67  		this.value = value;
68  	}
69  
70  
71  }