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

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

public class AuthorListVo
extends java.lang.Object
implements AuthorList

List of authors.

Author:
Michael Meyling

Constructor Summary
AuthorListVo()
          Constructs an empty list of authors.
 
Method Summary
 void add(AuthorVo author)
          Add author to list.
 boolean equals(java.lang.Object obj)
           
 Author 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

AuthorListVo

public AuthorListVo()
Constructs an empty list of authors.

Method Detail

add

public final void add(AuthorVo author)
Add author to list.

Parameters:
author - Add this author.

size

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

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

get

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

Specified by:
get in interface AuthorList
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.