public class Note extends Object implements Serializable
| Constructor and Description |
|---|
Note()
Instantiates a new note.
|
Note(String content)
Instantiates a new note without a content only.
|
Note(String content,
String subjectCode)
Instantiates a new note.
|
| Modifier and Type | Method and Description |
|---|---|
Note |
addContent(String content)
Adds the free text content.
|
String |
getContentCode()
Gets the code related to the contend text
|
List<String> |
getContents()
Gets the human readable note content.
|
String |
getSubjectCode()
Gets the subject code.
|
Note |
setContentCode(String contentCode)
Sets the code related to the contend text
|
Note |
setSubjectCode(String subjectCode)
Sets the subject code.
|
public Note()
Instantiates a new note.
public Note(String content)
Instantiates a new note without a content only.
content - the contentpublic Note addContent(String content)
Adds the free text content.
content - the additional content@Extended @NullableNotBlank public String getContentCode()
Gets the code related to the contend text
@Basic(ifParent=Header.class) @Comfort(ifParent=PositionDocument.class) @NotEmpty public List<String> getContents()
Gets the human readable note content.
@Comfort(ifParent=Header.class) @Extended(ifParent=PositionDocument.class) @NullableNotBlank public String getSubjectCode()
Gets the subject code.
public Note setContentCode(String contentCode)
Sets the code related to the contend text
contentCode - the content code related to content free textpublic Note setSubjectCode(String subjectCode)
Sets the subject code.
subjectCode - the new subject codeCopyright © 2014-2016 Konik.io. All Rights Reserved.