Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 2 23 package com.geinuke.vo; 24 25 import java.io.Serializable ; 26 27 28 public class ModuleDBVO implements Serializable { 29 public static final String LINK_MODULE="LINKModuleXYZ"; 30 protected int id=0; 31 protected int roleLevel=0; 32 protected String path=null; 33 protected String name=null; 34 protected String title=null; 35 protected String des=null; 36 protected int width=0; 37 protected int pos=0; 38 protected int weight=0; 39 protected boolean active=false; 40 protected boolean inMenu=false; 41 protected int homePosition=-1; 42 protected boolean dbStored=false; 43 protected int skin=0; 44 protected String content=""; 45 46 public int getId() { 47 48 return this.id; 49 } 50 51 public String getPath() { 52 53 return this.path; 54 } 55 56 57 public void setPath(String tit) { 58 this.path=tit; 59 60 } 61 62 63 public String getName() { 64 65 return this.name; 66 } 67 68 public int getPos() { 69 70 return this.pos; 71 } 72 73 74 public int getWeight() { 75 76 return this.weight; 77 } 78 79 public String getDescription() { 80 81 return this.des; 82 } 83 84 85 public void setDescription(String des) { 86 this.des = des; 87 } 88 public void setId(int id) { 89 this.id = id; 90 } 91 public void setName(String name) { 92 this.name = name; 93 } 94 public void setPos(int pos) { 95 this.pos = pos; 96 } 97 public void setWeight(int weight) { 98 this.weight = weight; 99 } 100 101 102 public int getRoleLevel() { 103 return roleLevel; 104 } 105 public void setRoleLevel(int idRole) { 106 this.roleLevel = idRole; 107 } 108 public boolean isActive() { 109 return active; 110 } 111 public void setActive(boolean active) { 112 this.active = active; 113 } 114 public String getDes() { 115 return des; 116 } 117 public void setDes(String des) { 118 this.des = des; 119 } 120 public int getWidth() { 121 return width; 122 } 123 public void setWidth(int width) { 124 this.width = width; 125 } 126 public String getTitle() { 127 return title; 128 } 129 public void setTitle(String title) { 130 this.title = title; 131 } 132 public boolean isInMenu() { 133 return inMenu; 134 } 135 public void setInMenu(boolean inMenu) { 136 this.inMenu = inMenu; 137 } 138 public int getHomePosition() { 139 return homePosition; 140 } 141 public void setHomePosition(int inHomePosition) { 142 this.homePosition = inHomePosition; 143 } 144 145 public boolean isLink(){ 146 return this.content.startsWith(ModuleDBVO.LINK_MODULE); 147 } 148 149 public boolean isDbStored() { 150 return dbStored; 151 } 152 public void setDbStored(boolean dbStored) { 153 this.dbStored = dbStored; 154 } 155 public int getSkin() { 156 return skin; 157 } 158 public void setSkin(int skin) { 159 this.skin = skin; 160 } 161 164 public String getContent() { 165 return content; 166 } 167 170 public void setContent(String content) { 171 this.content = content; 172 } 173 } 174 175
| Popular Tags
|