@Entity public class Annotation extends Object implements Entity, Identifiable, Stampable
| Constructor and Description |
|---|
Annotation() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
Date |
getCreationDate() |
Principal |
getCreator() |
Date |
getDate() |
UUID |
getId() |
Annotation |
getInResponseTo() |
boolean |
getIsShared() |
Date |
getLastUpdate() |
UUID |
getTarget() |
Tenant |
getTenant() |
String |
getTitle() |
void |
setBody(String body) |
void |
setCreationDate(Date creationDate) |
void |
setCreator(Principal creator) |
void |
setDate(Date date) |
void |
setId(UUID id) |
void |
setInResponseTo(Annotation inResponseTo) |
void |
setIsShared(boolean isShared) |
void |
setIsShared(short isShared) |
void |
setLastUpdate(Date lastUpdate) |
void |
setTarget(UUID target) |
void |
setTenant(Tenant tenant) |
void |
setTitle(String title) |
String |
toString() |
public UUID getId()
getId in interface Identifiablepublic void setId(UUID id)
setId in interface Identifiablepublic String getTitle()
public void setTitle(String title)
public boolean getIsShared()
public void setIsShared(boolean isShared)
public Date getDate()
public void setDate(Date date)
public Date getCreationDate()
getCreationDate in interface Stampablepublic void setCreationDate(Date creationDate)
setCreationDate in interface Stampablepublic Date getLastUpdate()
getLastUpdate in interface Stampablepublic void setLastUpdate(Date lastUpdate)
setLastUpdate in interface Stampablepublic String getBody()
public void setBody(String body)
public UUID getTarget()
public void setTarget(UUID target)
public Annotation getInResponseTo()
public void setInResponseTo(Annotation inResponseTo)
public Tenant getTenant()
public void setTenant(Tenant tenant)
public void setIsShared(short isShared)
public Principal getCreator()
public void setCreator(Principal creator)
Copyright © 2017. All Rights Reserved.