| Constructor and Description |
|---|
Note()
|
Note(String content)
|
Note(String content,
String subjectCode)
|
| Modifier and Type | Method and Description |
|---|---|
Note |
addContent(String content)
|
String |
getContentCode()
|
List<String> |
getContents()
|
String |
getSubjectCode()
|
Note |
setContentCode(String contentCode)
|
Note |
setSubjectCode(String subjectCode)
|
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 content
content - the additional contentpublic String getContentCode()
Gets the content code.
public List<String> getContents()
Gets the content.
public String getSubjectCode()
Gets the subject code.
public Note setContentCode(String contentCode)
Sets the content code.
contentCode - the content codepublic Note setSubjectCode(String subjectCode)
Sets the subject code.
subjectCode - the new subject codeCopyright © 2014 Konik.io. All Rights Reserved.