org.apache.aries.samples.blog.comment.ejb
Class CommentImpl
java.lang.Object
org.apache.aries.samples.blog.comment.ejb.CommentImpl
- All Implemented Interfaces:
- Comment
@Entity(name="Comment")
public class CommentImpl
- extends Object
- implements Comment
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentImpl
public CommentImpl(String comment,
String authorId,
long entryId)
getComment
public String getComment()
- Specified by:
getComment in interface Comment
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate in interface Comment
getId
public int getId()
- Specified by:
getId in interface Comment
getAuthor
public Author getAuthor()
- Specified by:
getAuthor in interface Comment
getEntry
public Entry getEntry()
- Specified by:
getEntry in interface Comment
getAuthorId
public String getAuthorId()
setAuthorId
public void setAuthorId(String authorId)
getEntryId
public long getEntryId()
setEntryId
public void setEntryId(long entryId)
setId
public void setId(int id)
setComment
public void setComment(String comment)
setCreationDate
public void setCreationDate(Date creationDate)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.