public class Note extends java.lang.Object
| Constructor and Description |
|---|
Note()
|
Note(java.lang.String content)
|
Note(java.lang.String content,
java.lang.String subjectCode)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
|
java.lang.String |
getSubjectCode()
|
Note |
setContent(java.lang.String content)
|
Note |
setSubjectCode(java.lang.String subjectCode)
|
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 java.lang.String getContent()
Gets the content.
public java.lang.String getSubjectCode()
Gets the subject code.
public Note setContent(java.lang.String content)
Sets the content.
content - the new contentpublic Note setSubjectCode(java.lang.String subjectCode)
Sets the subject code.
subjectCode - the new subject codeCopyright © 2014 konik.io. All Rights Reserved.