org.jboss.weld.examples.permalink
Class Comment

java.lang.Object
  extended by org.jboss.weld.examples.permalink.Comment

@Named
@RequestScoped
public class Comment
extends Object

Author:
Dan Allen

Constructor Summary
Comment()
           
Comment(Comment other)
           
Comment(Long id, BlogEntry entry, String author, Date postDate, String body)
           
 
Method Summary
 String getAuthor()
           
 String getBody()
           
 BlogEntry getEntry()
           
 Long getId()
           
 Date getPostDate()
           
 void setAuthor(String author)
           
 void setBody(String body)
           
 void setEntry(BlogEntry entry)
           
 void setId(Long id)
           
 void setPostDate(Date postDate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment()

Comment

public Comment(Long id,
               BlogEntry entry,
               String author,
               Date postDate,
               String body)

Comment

public Comment(Comment other)
Method Detail

getEntry

public BlogEntry getEntry()

setEntry

public void setEntry(BlogEntry entry)

getPostDate

public Date getPostDate()

setPostDate

public void setPostDate(Date postDate)

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

getBody

public String getBody()

setBody

public void setBody(String body)

getId

public Long getId()

setId

public void setId(Long id)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Seam Framework. All Rights Reserved.