View Javadoc

1   /*
2    *  Copyright 2001-2007 Stephen Colebourne
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   */
16  package org.joda.time.contrib.hibernate;
17  
18  import java.io.Serializable;
19  
20  import org.joda.time.DateTime;
21  
22  /**
23   * PO to be stored using hibernate
24   */
25  public class EventTZ implements Serializable
26  {
27      private int id;
28      private DateTime dateTime;
29  
30      public EventTZ()
31      {
32      }
33  
34      public int getId()
35      {
36          return id;
37      }
38  
39      public void setId(int id)
40      {
41          this.id = id;
42      }
43  
44      public DateTime getDateTime()
45      {
46          return dateTime;
47      }
48  
49      public void setDateTime(DateTime dateTime)
50      {
51          this.dateTime = dateTime;
52      }
53  }