1 package org.apache.commons.betwixt.scarab;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import java.io.Serializable;
20
21 import org.apache.commons.logging.Log;
22 import org.apache.commons.logging.LogFactory;
23
24 /***
25 * <p><code>CreatedDate</code> is a sample bean for use by the test cases.</p>
26 *
27 * @author <a href="mailto:jon@latchkey.com">Jon Scott Stevens</a>
28 * @version $Id: CreatedDate.java 155402 2005-02-26 12:52:00Z dirkv $
29 */
30 public class CreatedDate implements Serializable
31 {
32 /***
33 * Logger
34 */
35 private final static Log log = LogFactory.getLog(CreatedDate.class);
36
37 private String format;
38 private String timestamp;
39
40 public void setFormat(String format)
41 {
42 this.format = format;
43 }
44
45 public String getFormat()
46 {
47 return this.format;
48 }
49
50 public void setTimestamp(String timestamp)
51 {
52 this.timestamp = timestamp;
53 }
54
55 public String getTimestamp()
56 {
57 return this.timestamp;
58 }
59
60 public String toString()
61 {
62 return "format=" + format + ";timestamp=" + timestamp;
63 }
64 }