org.richfaces.photoalbum.model
Class Comment
java.lang.Object
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
Comment
public Comment()
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
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.