KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > xmleditor > XmlEditorTreeNodeItemDefinition


1 package com.calipso.xmleditor;
2
3 /**
4  *
5  * User: soliveri
6  * Date: 25-sep-2003
7  * Time: 18:20:35
8  *
9  */

10
11 public class XmlEditorTreeNodeItemDefinition {
12
13   private String JavaDoc name;
14   private Object JavaDoc value;
15   private boolean isOptional;
16   private int type;
17
18   public XmlEditorTreeNodeItemDefinition(String JavaDoc name, boolean optional, int type, Object JavaDoc value) {
19     this.name = name;
20     this.value = value;
21     this.isOptional = optional;
22     this.type = type;
23   }
24
25   public String JavaDoc getName() {
26     return name;
27   }
28
29   public Object JavaDoc getValue() {
30     return value;
31   }
32
33   public boolean isOptional() {
34     return isOptional;
35   }
36
37   public int getType() {
38     return type;
39   }
40 }
41
Popular Tags