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

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

public class Chapter
extends java.lang.Object
implements java.io.Serializable

null

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

Constructor Summary
Chapter()
           
 
Method Summary
 void addSection(Section section)
          Method addSection
 boolean equals(java.lang.Object other)
          Method equals
 java.lang.String getId()
          Get Specifies the id of this chapter.
 java.lang.String getModelEncoding()
           
 java.util.List getSections()
          Method getSections
 java.lang.String getTitle()
          Get Specifies the title of this chapter.
 int hashCode()
          Method hashCode
 void removeSection(Section section)
          Method removeSection
 void setId(java.lang.String id)
          Set Specifies the id of this chapter.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setSections(java.util.List sections)
          Set Specifies a collection of sections.
 void setTitle(java.lang.String title)
          Set Specifies the title of this chapter.
 java.lang.String toString()
          Method toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Chapter

public Chapter()
Method Detail

addSection

public void addSection(Section section)
Method addSection

Parameters:
section -

equals

public boolean equals(java.lang.Object other)
Method equals

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

getId

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


getSections

public java.util.List getSections()
Method getSections


getTitle

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


hashCode

public int hashCode()
Method hashCode

Overrides:
hashCode in class java.lang.Object

removeSection

public void removeSection(Section section)
Method removeSection

Parameters:
section -

setId

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

Parameters:
id -

setSections

public void setSections(java.util.List sections)
Set Specifies a collection of sections.

Parameters:
sections -

setTitle

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

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.