public class BookModel
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
BookModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChapter(Chapter chapter)
Method addChapter.
|
boolean |
equals(java.lang.Object other)
Method equals.
|
java.lang.String |
getAuthor()
Get specifies the author of this book.
|
java.util.List<Chapter> |
getChapters()
Method getChapters.
|
java.lang.String |
getDate()
Get specifies the date of this book.
|
java.lang.String |
getId()
Get specifies the id of this book.
|
java.lang.String |
getModelEncoding()
Get the modelEncoding field.
|
java.lang.String |
getTitle()
Get specifies the title of this book.
|
int |
hashCode()
Method hashCode.
|
void |
removeChapter(Chapter chapter)
Method removeChapter.
|
void |
setAuthor(java.lang.String author)
Set specifies the author of this book.
|
void |
setChapters(java.util.List<Chapter> chapters)
Set specifies a collection of chapters.
|
void |
setDate(java.lang.String date)
Set specifies the date of this book.
|
void |
setId(java.lang.String id)
Set specifies the id of this book.
|
void |
setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.
|
void |
setTitle(java.lang.String title)
Set specifies the title of this book.
|
java.lang.String |
toString()
Method toString.
|
public void addChapter(Chapter chapter)
chapter - public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - public java.lang.String getAuthor()
public java.util.List<Chapter> getChapters()
public java.lang.String getDate()
public java.lang.String getId()
public java.lang.String getModelEncoding()
public java.lang.String getTitle()
public int hashCode()
hashCode in class java.lang.Objectpublic void removeChapter(Chapter chapter)
chapter - public void setAuthor(java.lang.String author)
author - public void setChapters(java.util.List<Chapter> chapters)
chapters - public void setDate(java.lang.String date)
date - public void setId(java.lang.String id)
id - public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding - public void setTitle(java.lang.String title)
title - public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.