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

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

public class Chapter
extends Object
implements Serializable

Class Chapter.

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

Constructor Summary
Chapter()
           
 
Method Summary
 void addSection(Section section)
          Method addSection.
 boolean equals(Object other)
          Method equals.
 String getId()
          Get specifies the id of this chapter.
 List<Section> getSections()
          Method getSections.
 String getTitle()
          Get specifies the title of this chapter.
 int hashCode()
          Method hashCode.
 void removeSection(Section section)
          Method removeSection.
 void setId(String id)
          Set specifies the id of this chapter.
 void setSections(List<Section> sections)
          Set specifies a collection of sections.
 void setTitle(String title)
          Set specifies the title of this chapter.
 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(Object other)
Method equals.

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

getId

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

Returns:
String

getSections

public List<Section> getSections()
Method getSections.

Returns:
List

getTitle

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

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

removeSection

public void removeSection(Section section)
Method removeSection.

Parameters:
section -

setId

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

Parameters:
id -

setSections

public void setSections(List<Section> sections)
Set specifies a collection of sections.

Parameters:
sections -

setTitle

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

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.