1 21 22 package com.rift.coad.daemon.timer.db; 23 24 27 public class Schedule implements java.io.Serializable { 28 29 31 36 private Integer id; 37 private String jndi; 38 private Integer month; 39 private Integer day; 40 private Integer hour; 41 private Integer minute; 42 private byte[] event; 43 private byte recure; 44 45 47 48 public Schedule() { 49 } 50 51 61 public Schedule(String jndi, Integer month, Integer day, Integer hour, 62 Integer minute, byte[] event, byte recure) { 63 this.jndi = jndi; 64 this.month = month; 65 this.day = day; 66 this.hour = hour; 67 this.minute = minute; 68 this.event = event; 69 this.recure = recure; 70 } 71 72 74 public Integer getId() { 75 return this.id; 76 } 77 78 81 public void setId(Integer id) { 82 this.id = id; 83 } 84 85 88 public String getJndi() { 89 return this.jndi; 90 } 91 92 95 public void setJndi(String jndi) { 96 this.jndi = jndi; 97 } 98 99 102 public Integer getMonth() { 103 return this.month; 104 } 105 106 109 public void setMonth(Integer month) { 110 this.month = month; 111 } 112 113 116 public Integer getDay() { 117 return this.day; 118 } 119 120 123 public void setDay(Integer day) { 124 this.day = day; 125 } 126 127 130 public Integer getHour() { 131 return this.hour; 132 } 133 134 137 public void setHour(Integer hour) { 138 this.hour = hour; 139 } 140 141 144 public Integer getMinute() { 145 return this.minute; 146 } 147 148 151 public void setMinute(Integer minute) { 152 this.minute = minute; 153 } 154 155 158 public byte[] getEvent() { 159 return this.event; 160 } 161 162 165 public void setEvent(byte[] event) { 166 this.event = event; 167 } 168 169 172 public byte getRecure() { 173 return this.recure; 174 } 175 176 179 public void setRecure(byte recure) { 180 this.recure = recure; 181 } 182 183 } 184 185 186 | Popular Tags |