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

Class Chapter.

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.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 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 -
Returns:
boolean

getId

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

Returns:
String

getSections

public java.util.List getSections()
Method getSections.

Returns:
List

getTitle

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

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class java.lang.Object
Returns:
int

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
Returns:
String


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