01: package org.osbl.plugin;
02:
03: public class Extension {
04: protected String name;
05: protected String type;
06: protected Class implementation;
07:
08: protected Extension() {
09: }
10:
11: public Extension(String name, String type, Class implementation) {
12: this .name = name;
13: this .type = type;
14: this .implementation = implementation;
15: }
16:
17: public String getName() {
18: return name;
19: }
20:
21: public String getType() {
22: return type;
23: }
24:
25: public Class getImplementation() {
26: return implementation;
27: }
28:
29: public String toString() {
30: return "Extension{" + "name='" + name + '\'' + ", type='"
31: + type + '\'' + '}';
32: }
33: }
|