1 package org.apache.ojb.broker; 2 3 import java.io.Serializable ; 4 import java.sql.Timestamp ; 5 6 9 public class LockedByTimestamp implements Serializable 10 { 11 private int id; 12 private String value; 13 14 private Timestamp timestamp; 15 16 public LockedByTimestamp() 17 { 18 19 } 20 21 public LockedByTimestamp(int theId, String theValue, Timestamp theTimestamp) 22 { 23 id = theId; 24 value = theValue; 25 timestamp = theTimestamp; 26 } 27 28 32 public int getId() 33 { 34 return id; 35 } 36 37 41 public void setId(int id) 42 { 43 this.id = id; 44 } 45 46 50 public String getValue() 51 { 52 return value; 53 } 54 55 59 public void setValue(String value) 60 { 61 this.value = value; 62 } 63 64 65 69 public Timestamp getTimestamp() 70 { 71 return timestamp; 72 } 73 74 78 public void setTimestamp(Timestamp timestamp) 79 { 80 this.timestamp = timestamp; 81 } 82 83 } 84 | Popular Tags |