1 22 package org.jboss.test.hibernate.timers; 23 24 import java.io.Serializable ; 25 import java.util.Date ; 26 27 33 public class Timers implements Serializable 34 { 35 private static final long serialVersionUID = 1L; 36 37 private TimersID id; 38 private Date initialDate; 39 private Long timerInterval; 40 private byte[] instancePK; 41 private byte[] info; 42 43 public Timers() 44 { 45 } 46 public Timers(TimersID id) 47 { 48 this.id = id; 49 } 50 51 public TimersID getId() 52 { 53 return this.id; 54 } 55 public void setId(TimersID id) 56 { 57 this.id = id; 58 } 59 60 public Date getInitialDate() 61 { 62 return initialDate; 63 } 64 public void setInitialDate(Date initialDate) 65 { 66 this.initialDate = initialDate; 67 } 68 69 public Long getTimerInterval() 70 { 71 return timerInterval; 72 } 73 public void setTimerInterval(Long timerInterval) 74 { 75 this.timerInterval = timerInterval; 76 } 77 78 public byte[] getInstancePK() 79 { 80 return instancePK; 81 } 82 public void setInstancePK(byte[] instancePK) 83 { 84 this.instancePK = instancePK; 85 } 86 87 public byte[] getInfo() 88 { 89 return this.info; 90 } 91 public void setInfo(byte[] info) 92 { 93 this.info = info; 94 } 95 96 } 97 | Popular Tags |