public class Content extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Content.Factory
Constructs new instances of
Content . |
Constructor and Description |
---|
Content() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an Content instance and all identifiers for this
entity equal the identifiers of the argument entity. |
String |
getContent()
The textual content of a note with HTML markup.
|
Long |
getId() |
String |
getShortContent()
A shortened version of the content which is generated during note creation if shortening is
necessary.
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setContent(String content) |
void |
setId(Long id) |
void |
setShortContent(String shortContent) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an Content instance and all identifiers for this
entity equal the identifiers of the argument entity. Returns false
otherwise.public String getContent()
The textual content of a note with HTML markup.
public Long getId()
public String getShortContent()
A shortened version of the content which is generated during note creation if shortening is necessary. If not necessary, for instance if the note content is short enough or an autosave, this value is null.
public int hashCode()
public void setContent(String content)
public void setId(Long id)
public void setShortContent(String shortContent)
Copyright © 2019 Communote team. All rights reserved.