public class Journal
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Property<java.util.Date> |
CREATED_ON |
static Property<java.lang.Integer> |
DATABASE_ID
database numeric ID.
|
static Property<java.util.List<JournalDetail>> |
DETAILS |
static Property<java.lang.String> |
NOTES |
static Property<User> |
USER |
Constructor and Description |
---|
Journal() |
Modifier and Type | Method and Description |
---|---|
void |
addDetails(java.util.Collection<JournalDetail> details) |
boolean |
equals(java.lang.Object o) |
java.util.Date |
getCreatedOn() |
java.util.List<JournalDetail> |
getDetails() |
java.lang.Integer |
getId() |
java.lang.String |
getNotes() |
User |
getUser() |
int |
hashCode() |
void |
setCreatedOn(java.util.Date createdOn) |
Journal |
setId(java.lang.Integer id) |
void |
setNotes(java.lang.String notes) |
void |
setUser(User user) |
java.lang.String |
toString() |
public static final Property<java.lang.Integer> DATABASE_ID
public static final Property<java.lang.String> NOTES
public static final Property<java.util.Date> CREATED_ON
public static final Property<java.util.List<JournalDetail>> DETAILS
public Journal setId(java.lang.Integer id)
id
- database ID.public java.util.Date getCreatedOn()
public void setCreatedOn(java.util.Date createdOn)
public java.lang.Integer getId()
public java.lang.String getNotes()
public void setNotes(java.lang.String notes)
public User getUser()
public void setUser(User user)
public java.util.List<JournalDetail> getDetails()
public void addDetails(java.util.Collection<JournalDetail> details)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object