01: package com.calipso.xmleditor;
02:
03: /**
04: *
05: * User: soliveri
06: * Date: 25-sep-2003
07: * Time: 18:20:35
08: *
09: */
10:
11: public class XmlEditorTreeNodeItemDefinition {
12:
13: private String name;
14: private Object value;
15: private boolean isOptional;
16: private int type;
17:
18: public XmlEditorTreeNodeItemDefinition(String name,
19: boolean optional, int type, Object value) {
20: this .name = name;
21: this .value = value;
22: this .isOptional = optional;
23: this .type = type;
24: }
25:
26: public String getName() {
27: return name;
28: }
29:
30: public Object getValue() {
31: return value;
32: }
33:
34: public boolean isOptional() {
35: return isOptional;
36: }
37:
38: public int getType() {
39: return type;
40: }
41: }
|