hellojpa
Class Message
java.lang.Object
hellojpa.Message
public class Message
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Message
public Message()
Message
public Message(String msg)
setId
public void setId(long val)
getId
public long getId()
setMessage
public void setMessage(String msg)
getMessage
public String getMessage()
setCreated
public void setCreated(Date date)
getCreated
public Date getCreated()
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.