org.apache.maven.doxia.book.model
Class BookModel

java.lang.Object
  extended by org.apache.maven.doxia.book.model.BookModel
All Implemented Interfaces:
Serializable

public class BookModel
extends Object
implements Serializable

Describes the book layout and packaging.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
BookModel()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BookModel

public BookModel()
Method Detail

addChapter

public void addChapter(Chapter chapter)
Method addChapter.

Parameters:
chapter -

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getAuthor

public String getAuthor()
Get specifies the author of this book.

Returns:
String

getChapters

public List<Chapter> getChapters()
Method getChapters.

Returns:
List

getDate

public String getDate()
Get specifies the date of this book.

Returns:
String

getId

public String getId()
Get specifies the id of this book. This is a symbolic name for a particular book from this project.

Returns:
String

getModelEncoding

public String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getTitle

public String getTitle()
Get specifies the title of this book.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

removeChapter

public void removeChapter(Chapter chapter)
Method removeChapter.

Parameters:
chapter -

setAuthor

public void setAuthor(String author)
Set specifies the author of this book.

Parameters:
author -

setChapters

public void setChapters(List<Chapter> chapters)
Set specifies a collection of chapters.

Parameters:
chapters -

setDate

public void setDate(String date)
Set specifies the date of this book.

Parameters:
date -

setId

public void setId(String id)
Set specifies the id of this book. This is a symbolic name for a particular book from this project.

Parameters:
id -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.

Parameters:
modelEncoding -

setTitle

public void setTitle(String title)
Set specifies the title of this book.

Parameters:
title -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.