Back to project page AZBible.
The source code is released under:
GNU General Public License
If you think the Android project AZBible 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.witgeeks.azbible.beans; /*from w w w.ja v a 2 s . c o m*/ import java.util.ArrayList; import java.util.List; public class Book { private int id; private String name; public Book(int id, String name) { super(); this.id = id; this.name = name; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } /*private String name; private List<Chapter> chapters; public Book(String name) { super(); this.name = name; this.chapters = new ArrayList<Chapter>(); } public String getName() { return name; } public void setName(String name) { this.name = name; } public List<Chapter> getChapters() { return chapters; } public void setChapters(List<Chapter> chapters) { this.chapters = chapters; } public Boolean addChapter(Chapter chapter){ return this.chapters.add(chapter); } */ }