1 package org.devaki.nextobjects.workspace.models;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 import java.io.Serializable;
22 /***
23 * Represent a property - was a stub
24 * @author <a href="mailto:eflorent@devaki.org">Emmanuel Florent</a>
25 */
26 public class Property implements Serializable
27 {
28 /***
29 * the name
30 */
31 private String name;
32 /***
33 * the value
34 */
35 private String value;
36 /***
37 * Initialize a property
38 * @param pName the name
39 * @param pValue the value
40 */
41 public Property(final String pName, final String pValue)
42 {
43 this.name = pName;
44 this.value = pValue;
45 }
46 /***
47 * Get the name
48 * @return the name
49 */
50 public final String getName()
51 {
52 return name;
53 }
54 /***
55 * Get the value
56 * @return the balue
57 */
58 public final String getValue()
59 {
60 return value;
61 }
62 /***
63 * Set the name
64 * @param string name
65 */
66 public final void setName(final String string)
67 {
68 name = string;
69 }
70 /***
71 * Set the value
72 * @param string the value
73 */
74 public final void setValue(final String string)
75 {
76 value = string;
77 }
78 }