KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > designer > arooa > ElementWrapper


1 /*
2  * (c) Rob Gordon 2005.
3  */

4 package org.oddjob.designer.arooa;
5
6
7 /**
8  *
9  */

10 public class ElementWrapper {
11
12     private final String JavaDoc name;
13     private final Object JavaDoc element;
14     
15     public ElementWrapper (String JavaDoc name, Object JavaDoc element) {
16         this.name = name;
17         this.element = element;
18     }
19     
20     public String JavaDoc getName() {
21         return name;
22     }
23     
24     public Object JavaDoc getElement() {
25         return element;
26     }
27 }
28
Popular Tags