View Javadoc

1   /*
2    * REPOWEB, repository manager.
3    *
4    * Terms of license - http://opensource.org/licenses/apachepl.php
5    */
6   package org.repoweb.pom;
7   /***
8    * Represent one property attached to one dependency.
9    */
10  public class Property {
11      private String _id;
12      private String _value;
13  
14      public Property() {}
15  
16  
17      public Property(String id, String value) {
18          setId(id);
19          setValue(value);
20      }
21  
22      public String getId() {
23          return _id;
24      }
25  
26  
27      public void setId(String id) {
28          _id = id;
29      }
30  
31  
32      public String getValue() {
33          return _value;
34      }
35  
36  
37      public void setValue(String value) {
38          _value = value;
39      }
40  
41  
42      public String toString() {
43          return "<" + getId() + ">" + getValue() + "</" + getId() + ">";
44      }
45  }