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