Package hellojpa
Class Message
- java.lang.Object
-
- hellojpa.Message
-
@Entity public class Message extends java.lang.Object
A very simple persistent entity that holds a "message", has a "created" field that is initialized to the time at which the object was created, and an id field that is initialized to the current time.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCreated()
long
getId()
java.lang.String
getMessage()
void
setCreated(java.util.Date date)
void
setId(long val)
void
setMessage(java.lang.String msg)
-