1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jdo.model.jdo;
18
19 import org.apache.jdo.model.ModelException;
20
21 /***
22 * A JDOExtension instance represents a JDO vendor specific extension.
23 *
24 * @author Michael Bouschen
25 */
26 public interface JDOExtension
27 {
28 /***
29 * Returns the vendor name of this vendor extension.
30 */
31 public String getVendorName();
32
33 /***
34 * Sets the vendor name for this vendor extension.
35 * @exception ModelException if impossible
36 */
37 public void setVendorName(String vendorName)
38 throws ModelException;
39
40 /***
41 * Returns the key of this vendor extension.
42 */
43 public String getKey();
44
45 /***
46 * Sets the key for this vendor extension.
47 * @exception ModelException if impossible
48 */
49 public void setKey(String key)
50 throws ModelException;
51
52 /***
53 * Returns the value of this vendor extension.
54 */
55 public Object getValue();
56
57 /***
58 * Sets the value for this vendor extension.
59 * @exception ModelException if impossible
60 */
61 public void setValue(Object value)
62 throws ModelException;
63 }