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