KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > api > plugin > ExtensionHandlerMetadata


1 package org.columba.api.plugin;
2
3 public class ExtensionHandlerMetadata {
4
5     public String JavaDoc id;
6
7     public String JavaDoc parent;
8
9     /**
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 JavaDoc id, String JavaDoc parent) {
14         if (id == null)
15             throw new IllegalArgumentException JavaDoc("id == null");
16
17         this.id = id;
18         this.parent = parent;
19     }
20
21     /**
22      * @return Returns the parent.
23      */

24     public String JavaDoc getParent() {
25         return parent;
26     }
27
28     /**
29      * @return Returns the id.
30      */

31     public String JavaDoc getId() {
32         return id;
33     }
34 }
35
Popular Tags