File: Book.java

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (73 lines) | stat: -rw-r--r-- 1,446 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package test.holders;

public class Book implements java.io.Serializable {
    private java.lang.String author;
    private java.lang.String title;
    private int isbn;

    public Book() {
    }

    public Book(
            java.lang.String author,
            int isbn,
            java.lang.String title) {
        this.author = author;
        this.title = title;
        this.isbn = isbn;
    }

    /**
         * Gets the author value for this Book.
         *
         * @return author
         */
    public java.lang.String getAuthor() {
        return author;
    }

    /**
         * Sets the author value for this Book.
         *
         * @param author
         */
    public void setAuthor(java.lang.String author) {
        this.author = author;
    }

    /**
         * Gets the title value for this Book.
         *
         * @return title
         */
    public java.lang.String getTitle() {
        return title;
    }

    /**
         * Sets the title value for this Book.
         *
         * @param title
         */
    public void setTitle(java.lang.String title) {
        this.title = title;
    }

    /**
         * Gets the isbn value for this Book.
         *
         * @return isbn
         */
    public int getIsbn() {
        return isbn;
    }

    /**
     * Sets the isbn value for this Book.
     * 
     * @param isbn
     */
    public void setIsbn(int isbn) {
        this.isbn = isbn;
    }
}