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

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

public class BookModel
extends java.lang.Object
implements java.io.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(java.lang.Object other)
          Method equals
 java.lang.String getAuthor()
          Get Specifies the author of this book.
 java.util.List 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()
           
 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 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)
           
 void setTitle(java.lang.String title)
          Set Specifies the title of this book.
 java.lang.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(java.lang.Object other)
Method equals

Overrides:
equals in class java.lang.Object
Parameters:
other -

getAuthor

public java.lang.String getAuthor()
Get Specifies the author of this book.


getChapters

public java.util.List getChapters()
Method getChapters


getDate

public java.lang.String getDate()
Get Specifies the date of this book.


getId

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


getTitle

public java.lang.String getTitle()
Get Specifies the title of this book.


hashCode

public int hashCode()
Method hashCode

Overrides:
hashCode in class java.lang.Object

removeChapter

public void removeChapter(Chapter chapter)
Method removeChapter

Parameters:
chapter -

setAuthor

public void setAuthor(java.lang.String author)
Set Specifies the author of this book.

Parameters:
author -

setChapters

public void setChapters(java.util.List chapters)
Set Specifies a collection of chapters.

Parameters:
chapters -

setDate

public void setDate(java.lang.String date)
Set Specifies the date of this book.

Parameters:
date -

setId

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

Parameters:
id -

setTitle

public void setTitle(java.lang.String title)
Set Specifies the title of this book.

Parameters:
title -

toString

public java.lang.String toString()
Method toString

Overrides:
toString in class java.lang.Object

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.