public class Note extends Reference
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
belonging_to
The 'belonging_to' property indicates the IGC asset that this note is attached to.
|
protected String |
note
The 'note' property of a Note contains the text of the note that was left on an object.
|
protected String |
status
The 'status' property defines the status of the note (eg.
|
protected String |
subject
The 'subject' property defines the subject of the note that was left on an object.
|
protected String |
type
The 'type' property defines the type of note this is (eg.
|
| Constructor and Description |
|---|
Note() |
| Modifier and Type | Method and Description |
|---|---|
Reference |
getBelongingTo()
Retrieve the asset to which this IGC note belongs.
|
String |
getName()
Sets the name of the note to its RID, as Note objects do not have any name.
|
String |
getNote()
Retrieve the text of the IGC note.
|
String |
getStatus()
Retrieve the status of the note.
|
String |
getSubject()
Retrieve the subject of the note.
|
String |
getTheType()
Retrieve the type of the IGC note.
|
String |
getType()
Hard-codes the type of a Note to note, as there is no '_type' property on a an IGC note object.
|
void |
setBelongingTo(Reference belonging_to)
Set the asset to which this IGC note belongs.
|
void |
setNote(String note)
Set the text of the IGC note.
|
void |
setStatus(String status)
Set the status of the note.
|
void |
setSubject(String subject)
Set the subject of the note.
|
void |
setTheType(String type)
Set the type of the IGC note.
|
areModificationDetailsPopulated, getContext, getCreatedBy, getCreatedOn, getId, getIdentity, getModifiedBy, getModifiedOn, getNotes, getUrl, isEmbeddedAsset, isFullyRetrieved, isIdentityPopulated, isSimpleType, isVirtualAsset, setContext, setCreatedBy, setCreatedOn, setFullyRetrieved, setId, setModifiedBy, setModifiedOn, setName, setNotes, setType, setUrltoStringprotected String note
protected Reference belonging_to
protected String subject
protected String type
protected String status
public void setNote(String note)
note - text of the IGC notenotepublic Reference getBelongingTo()
belonging_topublic void setBelongingTo(Reference belonging_to)
belonging_to - the asset to which this note belongsbelonging_topublic String getSubject()
subjectpublic void setSubject(String subject)
subject - of the notesubjectpublic String getTheType()
typepublic void setTheType(String type)
type - of the IGC notetypepublic String getStatus()
statuspublic void setStatus(String status)
status - of the notestatuspublic String getType()
getType in class ReferenceReference._typepublic String getName()
getName in class ReferenceReference._nameCopyright © 2018–2021 ODPi. All rights reserved.