public class Chapter extends Object implements Serializable
Constructor and Description |
---|
Chapter() |
Modifier and Type | Method and Description |
---|---|
void |
addSection(Section section)
Method addSection.
|
boolean |
equals(Object other)
Method equals.
|
String |
getId()
Get specifies the id of this chapter.
|
List |
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 sections)
Set specifies a collection of sections.
|
void |
setTitle(String title)
Set specifies the title of this chapter.
|
String |
toString()
Method toString.
|
public void addSection(Section section)
section
- public boolean equals(Object other)
public String getId()
public List getSections()
public String getTitle()
public void removeSection(Section section)
section
- public void setId(String id)
id
- public void setSections(List sections)
sections
- public void setTitle(String title)
title
- Copyright © 2005–2016. All rights reserved.