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

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

public class ChapterListVo
extends java.lang.Object
implements ChapterList

List of chapters.

Author:
Michael Meyling

Constructor Summary
ChapterListVo()
          Constructs an empty list of chapters.
 
Method Summary
 void add(ChapterVo chapter)
          Add chapter to list.
 boolean equals(java.lang.Object obj)
           
 Chapter get(int index)
          Get index-th element of list.
 int hashCode()
           
 int size()
          Get size of list.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChapterListVo

public ChapterListVo()
Constructs an empty list of chapters.

Method Detail

add

public final void add(ChapterVo chapter)
Add chapter to list.

Parameters:
chapter - Chapter to add.

size

public final int size()
Description copied from interface: ChapterList
Get size of list.

Specified by:
size in interface ChapterList
Returns:
List size.

get

public final Chapter get(int index)
Description copied from interface: ChapterList
Get index-th element of list.

Specified by:
get in interface ChapterList
Parameters:
index - Index.
Returns:
Index-th element.

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.