public class Note extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected Date |
lastUpdate |
protected String |
text |
protected String |
user |
additionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
Note()
Default constructor
|
Note(Note templateNote)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
Date |
getLastUpdate()
Return the last time a change was made to this note.
|
String |
getText()
Return the text of the note.
|
String |
getUser()
Return the user id of the person who created the note.
|
void |
setLastUpdate(Date lastUpdate)
Set up the last time a change was made to this note.
|
void |
setText(String text)
Set up the text of the note.
|
void |
setUser(String user)
Set up the user id of the person who created the note.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getMeanings, getQualifiedName, hashCode, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String text
protected Date lastUpdate
protected String user
public Note()
public Note(Note templateNote)
templateNote - note to copypublic String getText()
public void setText(String text)
text - String textpublic Date getLastUpdate()
public void setLastUpdate(Date lastUpdate)
lastUpdate - Date last updatedpublic String getUser()
public void setUser(String user)
user - String user making notespublic String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.