View Javadoc

1   /*
2    * $Id: Book.java 19191 2010-08-25 21:05:23Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.test.integration.transaction.extras;
12  
13  import java.io.Serializable;
14  
15  public class Book implements Serializable
16  {
17      private static final long serialVersionUID = -2519185601486498262L;
18  
19      int serialNo;
20      String title;
21      String author;
22  
23      public Book()
24      {
25          // empty constructor
26      }
27  
28      public Book(int serialNo, String title, String author)
29      {
30          super();
31          this.serialNo = serialNo;
32          this.title = title;
33          this.author = author;
34      }
35  
36      public String getAuthor()
37      {
38          return author;
39      }
40  
41      public void setAuthor(String author)
42      {
43          this.author = author;
44      }
45  
46      public int getSerialNo()
47      {
48          return serialNo;
49      }
50  
51      public void setSerialNo(int serialNo)
52      {
53          this.serialNo = serialNo;
54      }
55  
56      public String getTitle()
57      {
58          return title;
59      }
60  
61      public void setTitle(String title)
62      {
63          this.title = title;
64      }
65  }