01: package org.apache.ojb.broker;
02:
03: public class BookArticle extends Article implements
04: java.io.Serializable {
05:
06: /** books author*/
07: private String author;
08: /** ISBN No of Book*/
09: private String isbn;
10:
11: public BookArticle() {
12: }
13:
14: /**
15: * Gets the author.
16: * @return Returns a String
17: */
18: public String getAuthor() {
19: return author;
20: }
21:
22: /**
23: * Sets the author.
24: * @param author The author to set
25: */
26: public void setAuthor(String author) {
27: this .author = author;
28: }
29:
30: /**
31: * Gets the isbn.
32: * @return Returns a String
33: */
34: public String getIsbn() {
35: return isbn;
36: }
37:
38: /**
39: * Sets the isbn.
40: * @param isbn The isbn to set
41: */
42: public void setIsbn(String isbn) {
43: this.isbn = isbn;
44: }
45:
46: }
|