KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > broker > BookArticle


1 package org.apache.ojb.broker;
2
3 public class BookArticle extends Article implements java.io.Serializable JavaDoc
4 {
5
6     /** books author*/
7     private String JavaDoc author;
8     /** ISBN No of Book*/
9     private String JavaDoc isbn;
10
11     public BookArticle()
12     {
13     }
14
15     /**
16      * Gets the author.
17      * @return Returns a String
18      */

19     public String JavaDoc getAuthor()
20     {
21         return author;
22     }
23
24     /**
25      * Sets the author.
26      * @param author The author to set
27      */

28     public void setAuthor(String JavaDoc author)
29     {
30         this.author = author;
31     }
32
33     /**
34      * Gets the isbn.
35      * @return Returns a String
36      */

37     public String JavaDoc getIsbn()
38     {
39         return isbn;
40     }
41
42     /**
43      * Sets the isbn.
44      * @param isbn The isbn to set
45      */

46     public void setIsbn(String JavaDoc isbn)
47     {
48         this.isbn = isbn;
49     }
50
51
52 }
53
Popular Tags