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