public class Chapter
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Chapter() |
| Modifier and Type | Method and Description |
|---|---|
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<Section> |
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<Section> 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.
|
public void addSection(Section section)
section - public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - public java.lang.String getId()
public java.util.List<Section> getSections()
public java.lang.String getTitle()
public int hashCode()
hashCode in class java.lang.Objectpublic void removeSection(Section section)
section - public void setId(java.lang.String id)
id - public void setSections(java.util.List<Section> sections)
sections - public void setTitle(java.lang.String title)
title - public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.