@Entity public class Comment extends Object implements DataModel
Entry
object, with the associated .lib.account.model.Account
.Constructor and Description |
---|
Comment() |
Comment(Entry entry,
Account account,
String body) |
Modifier and Type | Method and Description |
---|---|
Account |
getAccount() |
String |
getBody() |
Date |
getCreationTime() |
Entry |
getEntry() |
long |
getId() |
Date |
getModificationTime() |
Set<Sample> |
getSamples() |
void |
setAccount(Account account) |
void |
setBody(String body) |
void |
setCreationTime(Date creationTime) |
void |
setEntry(Entry entry) |
void |
setModificationTime(Date modificationTime) |
UserComment |
toDataTransferObject() |
public Account getAccount()
public void setAccount(Account account)
public Entry getEntry()
public void setEntry(Entry entry)
public String getBody()
public void setBody(String body)
public Date getCreationTime()
public void setCreationTime(Date creationTime)
public Date getModificationTime()
public void setModificationTime(Date modificationTime)
public UserComment toDataTransferObject()
toDataTransferObject
in interface DataModel
Copyright © 2017. All rights reserved.