1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jdo.impl.model.jdo;
18
19 import org.apache.jdo.model.jdo.JDOExtension;
20
21 /***
22 * An instance of this class represents a JDO vendor specific extension.
23 *
24 * @author Michael Bouschen
25 */
26 public class JDOExtensionImpl
27 implements JDOExtension
28 {
29 /*** Property vendorName. No default. */
30 private String vendorName;
31
32 /*** Property key. No default. */
33 private String key;
34
35 /*** Property value. No default. */
36 private Object value;
37
38 /***
39 * Returns the vendor name of this vendor extension.
40 */
41 public String getVendorName()
42 {
43 return vendorName;
44 }
45
46 /***
47 * Sets the vendor name for this vendor extension.
48 */
49 public void setVendorName(String vendorName)
50 {
51 this.vendorName = vendorName;
52 }
53
54 /***
55 * Returns the key of this vendor extension.
56 */
57 public String getKey()
58 {
59 return key;
60 }
61
62 /***
63 * Sets the key for this vendor extension.
64 */
65 public void setKey(String key)
66 {
67 this.key = key;
68 }
69
70 /***
71 * Returns the value of this vendor extension.
72 */
73 public Object getValue()
74 {
75 return value;
76 }
77
78 /***
79 * Sets the value for this vendor extension.
80 */
81 public void setValue(Object value)
82 {
83 this.value = value;
84 }
85
86 }