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