org.jtheque.books.persistence.od
Class AuthorImpl

java.lang.Object
  extended by org.jtheque.core.managers.persistence.Entity
      extended by org.jtheque.primary.od.abstraction.Data
          extended by org.jtheque.primary.od.abstraction.Person
              extended by org.jtheque.primary.od.abstraction.NotablePerson
                  extended by org.jtheque.books.persistence.od.abstraction.Author
                      extended by org.jtheque.books.persistence.od.AuthorImpl
All Implemented Interfaces:
Comparable<org.jtheque.core.managers.persistence.Entity>, org.jtheque.primary.od.abstraction.Notable, org.jtheque.primary.view.impl.models.tree.Element

public final class AuthorImpl
extends Author

An author.

Author:
Baptiste Wicht

Field Summary
 
Fields inherited from class org.jtheque.core.managers.persistence.Entity
HASHCODEPRIME
 
Constructor Summary
AuthorImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAffichableText()
           
 Icon getIcon()
           
 int hashCode()
           
 void restoreMemento()
           
 void saveToMemento()
           
 String toString()
           
 
Methods inherited from class org.jtheque.primary.od.abstraction.NotablePerson
getNote, setNote
 
Methods inherited from class org.jtheque.primary.od.abstraction.Person
getFirstName, getName, getTheCountry, setFirstName, setName, setTheCountry
 
Methods inherited from class org.jtheque.primary.od.abstraction.Data
getElementName
 
Methods inherited from class org.jtheque.core.managers.persistence.Entity
compareTo, getId, getTemporaryContext, isSaved, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorImpl

public AuthorImpl()
Method Detail

getAffichableText

public String getAffichableText()
Specified by:
getAffichableText in class org.jtheque.core.managers.persistence.Entity

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Specified by:
hashCode in class org.jtheque.core.managers.persistence.Entity

equals

public boolean equals(Object obj)
Specified by:
equals in class org.jtheque.core.managers.persistence.Entity

saveToMemento

public void saveToMemento()
Overrides:
saveToMemento in class org.jtheque.core.managers.persistence.Entity

restoreMemento

public void restoreMemento()
Overrides:
restoreMemento in class org.jtheque.core.managers.persistence.Entity

getIcon

public Icon getIcon()
Specified by:
getIcon in interface org.jtheque.primary.view.impl.models.tree.Element
Overrides:
getIcon in class org.jtheque.primary.od.abstraction.Data


Copyright © 2009 JTheque. All Rights Reserved.