org.qedeq.kernel.se.dto.module
Class ChapterVo

java.lang.Object
  extended by org.qedeq.kernel.se.dto.module.ChapterVo
All Implemented Interfaces:
Chapter

public class ChapterVo
extends java.lang.Object
implements Chapter

Chapter.

Author:
Michael Meyling

Constructor Summary
ChapterVo()
          Constructs a new chapter.
 
Method Summary
 void addSection(SectionVo section)
          Add section to list.
 boolean equals(java.lang.Object obj)
           
 LatexList getIntroduction()
          Get chapter introduction.
 java.lang.Boolean getNoNumber()
          Get chapter numbering.
 SectionList getSectionList()
          Get sections of this chapter.
 LatexList getTitle()
          Get chapter title.
 int hashCode()
           
 void setIntroduction(LatexListVo introduction)
          Set chapter introduction text.
 void setNoNumber(java.lang.Boolean noNumber)
          Set automatic chapter number off or on.
 void setSectionList(SectionListVo sections)
          Set list of sections.
 void setTitle(LatexListVo title)
          Set chapter title.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChapterVo

public ChapterVo()
Constructs a new chapter.

Method Detail

setNoNumber

public final void setNoNumber(java.lang.Boolean noNumber)
Set automatic chapter number off or on.

Parameters:
noNumber - No chapter numbering?

getNoNumber

public final java.lang.Boolean getNoNumber()
Description copied from interface: Chapter
Get chapter numbering.

Specified by:
getNoNumber in interface Chapter
Returns:
No chapter numbering?

setTitle

public final void setTitle(LatexListVo title)
Set chapter title.

Parameters:
title - LaTeX list of chapter titles.

getTitle

public final LatexList getTitle()
Description copied from interface: Chapter
Get chapter title.

Specified by:
getTitle in interface Chapter
Returns:
Chapter title.

setIntroduction

public final void setIntroduction(LatexListVo introduction)
Set chapter introduction text.

Parameters:
introduction - Introduction text.

getIntroduction

public final LatexList getIntroduction()
Description copied from interface: Chapter
Get chapter introduction.

Specified by:
getIntroduction in interface Chapter
Returns:
Chapter introduction.

setSectionList

public final void setSectionList(SectionListVo sections)
Set list of sections.

Parameters:
sections - Section list.

getSectionList

public final SectionList getSectionList()
Description copied from interface: Chapter
Get sections of this chapter.

Specified by:
getSectionList in interface Chapter
Returns:
List of sections.

addSection

public final void addSection(SectionVo section)
Add section to list.

Parameters:
section - Section to add.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2014. All Rights Reserved.