1 23 24 package org.infoglue.cms.net; 25 26 import java.io.Serializable ; 27 28 public class Node implements Serializable 29 { 30 private Integer id = null; 31 private String name = null; 32 private Boolean isBranch = null; 33 34 35 public Node() 36 { 37 } 38 39 public Integer getId() 40 { 41 return this.id; 42 } 43 44 public void setId(Integer id) 45 { 46 this.id = id; 47 } 48 49 public void setName(String name) 50 { 51 this.name = name; 52 } 53 54 public String getName() 55 { 56 return this.name; 57 } 58 59 public void setIsBranch(Boolean isBranch) 60 { 61 this.isBranch = isBranch; 62 } 63 64 public Boolean getIsBranch() 65 { 66 return this.isBranch; 67 } 68 69 public String toString() 70 { 71 return "[" + this.id + "]" + this.name; 72 } 73 74 } | Popular Tags |