01: package org.columba.api.plugin;
02:
03: public class ExtensionHandlerMetadata {
04:
05: public String id;
06:
07: public String parent;
08:
09: /**
10: * @param id unique id
11: * @param parent unique id of parent this extension handler depends on, can be <code>null</code>
12: */
13: public ExtensionHandlerMetadata(String id, String parent) {
14: if (id == null)
15: throw new IllegalArgumentException("id == null");
16:
17: this .id = id;
18: this .parent = parent;
19: }
20:
21: /**
22: * @return Returns the parent.
23: */
24: public String getParent() {
25: return parent;
26: }
27:
28: /**
29: * @return Returns the id.
30: */
31: public String getId() {
32: return id;
33: }
34: }
|