1   package org.apache.commons.betwixt.scarab;
2   
3   /*
4    * Copyright 2001-2004 The Apache Software Foundation.
5    * 
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    * 
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   * 
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
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  }