@Entity public class Entry extends Object implements Serializable, Comparable<Entry>
Constructor and Description |
---|
Entry()
Creates a new instance of Entry
|
Modifier and Type | Method and Description |
---|---|
void |
addLog(Log log)
Adds a log to the collection.
|
int |
compareTo(Entry num) |
boolean |
equals(Object o) |
Date |
getCreatedDate()
Getter for entry created date.
|
Long |
getId()
Getter for entry id.
|
List<Log> |
getLogs() |
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
Setter for entry created date.
|
void |
setId(Long logId)
Setter for entry id.
|
void |
setLogs(List<Log> logs) |
void |
setUpdated() |
public void setUpdated()
public Long getId()
public void setId(Long logId)
logId
- public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate
- public void addLog(Log log)
log
- public int compareTo(Entry num)
compareTo
in interface Comparable<Entry>
Copyright © 2010-2014 Michigan State University. All Rights Reserved.