Back to project page Smartlab.
The source code is released under:
Apache License
If you think the Android project Smartlab listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.listviewexample.data; /*from www. j a va2s .c o m*/ public class Book { private Long id; private String name; private String author; public Book(Long id, String name, String author) { this.id = id; this.name = name; this.author = author; } public Book() { } public Book(String name, String author) { this.name = name; this.author = author; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } }