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

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

public class AuthorVo
extends java.lang.Object
implements Author

Describes a QEDEQ module author.

Author:
Michael Meyling

Constructor Summary
AuthorVo()
          Constructs an empty author.
AuthorVo(LatexVo name, java.lang.String email)
          Constructs an author.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getEmail()
          Get email address of author.
 Latex getName()
          Get name of author.
 int hashCode()
           
 void setEmail(java.lang.String email)
          Set author's email address.
 void setName(LatexVo name)
          Set name of author.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorVo

public AuthorVo(LatexVo name,
                java.lang.String email)
Constructs an author.

Parameters:
name - Author name.
email - Author's email address.

AuthorVo

public AuthorVo()
Constructs an empty author.

Method Detail

setName

public final void setName(LatexVo name)
Set name of author.

Parameters:
name - Author name.

getName

public final Latex getName()
Description copied from interface: Author
Get name of author.

Specified by:
getName in interface Author
Returns:
Author name.

setEmail

public final void setEmail(java.lang.String email)
Set author's email address.

Parameters:
email - Email address.

getEmail

public final java.lang.String getEmail()
Description copied from interface: Author
Get email address of author.

Specified by:
getEmail in interface Author
Returns:
Author's email address.

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.