org.apache.aries.samples.blog.persistence.jpa.entity
Class AuthorImpl

java.lang.Object
  extended by org.apache.aries.samples.blog.persistence.jpa.entity.AuthorImpl
All Implemented Interfaces:
Author

@Entity(name="AUTHOR")
public class AuthorImpl
extends Object
implements Author

This class represents a blog post Author


Constructor Summary
AuthorImpl()
           
 
Method Summary
 String getBio()
          Get the author's biographical information
 String getDisplayName()
          Get the author's displayed name
 Date getDob()
          Get the author's date of birth
 String getEmail()
          Get the author's email address
 List<EntryImpl> getEntries()
          Get the author's blog posts
 String getName()
          Get the author's full name
 void setBio(String bio)
          Set the author's biographical information
 void setDisplayName(String displayName)
          Set the author's displayed name
 void setDob(Date dob)
          Set the author's date of birth
 void setEmail(String email)
          Set the author's email address
 void setEntries(List<EntryImpl> lb)
          set the author's blog posts
 void setName(String name)
          Set the author's full name
 void updateEntries(EntryImpl b)
          Update the author's blog posts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorImpl

public AuthorImpl()
Method Detail

getEmail

public String getEmail()
Get the author's email address

Specified by:
getEmail in interface Author

getName

public String getName()
Get the author's full name

Specified by:
getName in interface Author

getDisplayName

public String getDisplayName()
Get the author's displayed name

Specified by:
getDisplayName in interface Author

getBio

public String getBio()
Get the author's biographical information

Specified by:
getBio in interface Author

getDob

public Date getDob()
Get the author's date of birth

Specified by:
getDob in interface Author

getEntries

public List<EntryImpl> getEntries()
Get the author's blog posts

Specified by:
getEntries in interface Author

setEmail

public void setEmail(String email)
Set the author's email address


setName

public void setName(String name)
Set the author's full name


setDisplayName

public void setDisplayName(String displayName)
Set the author's displayed name


setBio

public void setBio(String bio)
Set the author's biographical information


setDob

public void setDob(Date dob)
Set the author's date of birth


updateEntries

public void updateEntries(EntryImpl b)
Update the author's blog posts


setEntries

public void setEntries(List<EntryImpl> lb)
set the author's blog posts



Copyright © 2009-2010 The Apache Software Foundation. All Rights Reserved.