1 package com.calipso.xmleditor; 2 3 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, boolean optional, int type, Object value) { 19 this.name = name; 20 this.value = value; 21 this.isOptional = optional; 22 this.type = type; 23 } 24 25 public String getName() { 26 return name; 27 } 28 29 public Object 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 |