public class NoteContentHolder extends Object implements Serializable
Constructor and Description |
---|
NoteContentHolder(String shortContent,
String fullContent,
long lastModificationTimestamp)
Create a new content wrapper.
|
Modifier and Type | Method and Description |
---|---|
String |
getFullContent() |
long |
getLastModificationTimestamp() |
String |
getShortContent() |
public NoteContentHolder(String shortContent, String fullContent, long lastModificationTimestamp)
shortContent
- the shortened content of the null. Can be null if the content was short enough and
thus needn't to be shortened.fullContent
- fullContent the contentlastModificationTimestamp
- the timestamp of the last modification of the note the content belongs topublic String getFullContent()
public long getLastModificationTimestamp()
public String getShortContent()
Copyright © 2019 Communote team. All rights reserved.