RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.model
Class Comment

java.lang.Object
  extended by org.richfaces.photoalbum.model.Comment
All Implemented Interfaces:
Serializable

@Entity
@RequestScoped
public class Comment
extends Object
implements Serializable

Class for representing Comment Entity. EJB3 Entity Bean

Author:
Andrey Markhel
See Also:
Serialized Form

Constructor Summary
Comment()
           
 
Method Summary
 boolean equals(Object obj)
           
 User getAuthor()
           
 Date getDate()
           
 Long getId()
           
 Image getImage()
           
 String getMessage()
           
 int hashCode()
           
 boolean isPreDefined()
          Getter for property preDefined
 void setAuthor(User author)
           
 void setDate(Date date)
           
 void setImage(Image image)
           
 void setMessage(String message)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Method Detail

isPreDefined

public boolean isPreDefined()
Getter for property preDefined

Returns:
is this shelf is predefined

getId

public Long getId()

getDate

public Date getDate()

setDate

public void setDate(Date date)

getAuthor

public User getAuthor()

setAuthor

public void setAuthor(User author)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

getImage

public Image getImage()

setImage

public void setImage(Image image)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.