Package org.eclipse.dawnsci.nexus
Interface NXnote
Any additional freeform information not covered by the other base classes.
This class can be used to store additional information in a
NeXus file e.g. pictures, movies, audio, additional text logs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.dawnsci.nexus.NXobject
NX_ATTRIBUTE_DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.january.dataset.DatasetName of the algorithm whereby the ``checksum`` was computed.Name of the algorithm whereby the ``checksum`` was computed.org.eclipse.january.dataset.DatasetAuthor or creator of noteAuthor or creator of noteorg.eclipse.january.dataset.DatasetValue of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.Value of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.org.eclipse.january.dataset.DatasetgetData()Binary note data - if text, line terminator is [CR][LF].Binary note data - if text, line terminator is [CR][LF].org.eclipse.january.dataset.DatasetgetDate()Date note created/addedDate note created/addedorg.eclipse.january.dataset.DatasetTitle of an image or other details of the noteTitle of an image or other details of the noteorg.eclipse.january.dataset.DatasetName of original file name if note was read from an external sourceName of original file name if note was read from an external sourceorg.eclipse.january.dataset.DatasetIdentifier of the resource if that resource that has been serialized.Identifier of the resource if that resource that has been serialized.org.eclipse.january.dataset.DatasetSequence index of note, for placing a sequence of multiple **NXnote** groups in an order.Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order.org.eclipse.january.dataset.DatasetgetType()Mime content type of note data field e.g.Mime content type of note data field e.g.setAlgorithm(org.eclipse.january.dataset.IDataset algorithmDataset) Name of the algorithm whereby the ``checksum`` was computed.setAlgorithmScalar(String algorithmValue) Name of the algorithm whereby the ``checksum`` was computed.setAuthor(org.eclipse.january.dataset.IDataset authorDataset) Author or creator of notesetAuthorScalar(String authorValue) Author or creator of notesetChecksum(org.eclipse.january.dataset.IDataset checksumDataset) Value of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.setChecksumScalar(String checksumValue) Value of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.setData(org.eclipse.january.dataset.IDataset dataDataset) Binary note data - if text, line terminator is [CR][LF].setDataScalar(Object dataValue) Binary note data - if text, line terminator is [CR][LF].setDate(org.eclipse.january.dataset.IDataset dateDataset) Date note created/addedsetDateScalar(Date dateValue) Date note created/addedsetDescription(org.eclipse.january.dataset.IDataset descriptionDataset) Title of an image or other details of the notesetDescriptionScalar(String descriptionValue) Title of an image or other details of the notesetFile_name(org.eclipse.january.dataset.IDataset file_nameDataset) Name of original file name if note was read from an external sourcesetFile_nameScalar(String file_nameValue) Name of original file name if note was read from an external sourcesetIdentifiername(org.eclipse.january.dataset.IDataset identifiernameDataset) Identifier of the resource if that resource that has been serialized.setIdentifiernameScalar(String identifiernameValue) Identifier of the resource if that resource that has been serialized.setSequence_index(org.eclipse.january.dataset.IDataset sequence_indexDataset) Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order.setSequence_indexScalar(Long sequence_indexValue) Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order.setType(org.eclipse.january.dataset.IDataset typeDataset) Mime content type of note data field e.g.setTypeScalar(String typeValue) Mime content type of note data field e.g.Methods inherited from interface org.eclipse.dawnsci.analysis.api.tree.GroupNode
addDataNode, addGroupNode, addNode, addNodeLink, addSymbolicNode, containsDataNode, containsGroupNode, containsNode, containsSymbolicNode, findLinkedNodeName, findNode, findNodeLink, getDataNode, getDataNodeMap, getDataNodeNames, getDataNodes, getDatasets, getGlobalPool, getGroupNode, getGroupNodeMap, getGroupNodeNames, getGroupNodes, getNames, getNode, getNodeLink, getNodeNameIterator, getNumberOfDataNodes, getNumberOfGroupNodes, getNumberOfNodelinks, getSymbolicNode, getSymbolicNodeNames, isPopulated, iterator, removeDataNode, removeDataNode, removeGroupNode, removeGroupNode, removeSymbolicNode, removeSymbolicNode, setGlobalPoolMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.eclipse.dawnsci.analysis.api.tree.Node
addAttribute, containsAttribute, getAttribute, getAttributeIterator, getAttributeNameIterator, getAttributeNames, getID, getNumberOfAttributes, isDataNode, isGroupNode, isSymbolicNode, removeAttribute, removeAttributeMethods inherited from interface org.eclipse.dawnsci.nexus.NXobject
addExternalLink, canAddChild, createDataNode, getAllDatasets, getAttr, getAttrBoolean, getAttrDate, getAttrDouble, getAttributeDefault, getAttrLong, getAttrNumber, getAttrString, getBoolean, getChild, getChildren, getChildren, getDataset, getDate, getDouble, getLazyDataset, getLazyWritableDataset, getLong, getNexusBaseClass, getNumber, getNXclass, getPermittedChildGroupClasses, getString, initializeFixedSizeLazyDataset, initializeLazyDataset, initializeLazyDataset, initializeLazyDataset, putChild, setAttribute, setAttributeDefault, setChildren, setDataset, setField
-
Field Details
-
NX_AUTHOR
- See Also:
-
NX_DATE
- See Also:
-
NX_TYPE
- See Also:
-
NX_FILE_NAME
- See Also:
-
NX_IDENTIFIERNAME
- See Also:
-
NX_CHECKSUM
- See Also:
-
NX_ALGORITHM
- See Also:
-
NX_DESCRIPTION
- See Also:
-
NX_SEQUENCE_INDEX
- See Also:
-
NX_DATA
- See Also:
-
-
Method Details
-
getAuthor
org.eclipse.january.dataset.Dataset getAuthor()Author or creator of note- Returns:
- the value.
-
setAuthor
Author or creator of note- Parameters:
authorDataset- the authorDataset
-
getAuthorScalar
String getAuthorScalar()Author or creator of note- Returns:
- the value.
-
setAuthorScalar
Author or creator of note- Parameters:
author- the author
-
getDate
org.eclipse.january.dataset.Dataset getDate()Date note created/addedType: NX_DATE_TIME
- Returns:
- the value.
-
setDate
Date note created/addedType: NX_DATE_TIME
- Parameters:
dateDataset- the dateDataset
-
getDateScalar
Date getDateScalar()Date note created/addedType: NX_DATE_TIME
- Returns:
- the value.
-
setDateScalar
Date note created/addedType: NX_DATE_TIME
- Parameters:
date- the date
-
getType
org.eclipse.january.dataset.Dataset getType()Mime content type of note data field e.g. image/jpeg, text/plain, text/html- Returns:
- the value.
-
setType
Mime content type of note data field e.g. image/jpeg, text/plain, text/html- Parameters:
typeDataset- the typeDataset
-
getTypeScalar
String getTypeScalar()Mime content type of note data field e.g. image/jpeg, text/plain, text/html- Returns:
- the value.
-
setTypeScalar
Mime content type of note data field e.g. image/jpeg, text/plain, text/html- Parameters:
type- the type
-
getFile_name
org.eclipse.january.dataset.Dataset getFile_name()Name of original file name if note was read from an external source- Returns:
- the value.
-
setFile_name
Name of original file name if note was read from an external source- Parameters:
file_nameDataset- the file_nameDataset
-
getFile_nameScalar
String getFile_nameScalar()Name of original file name if note was read from an external source- Returns:
- the value.
-
setFile_nameScalar
Name of original file name if note was read from an external source- Parameters:
file_name- the file_name
-
getIdentifiername
org.eclipse.january.dataset.Dataset getIdentifiername()Identifier of the resource if that resource that has been serialized. For example, the identifier to a resource in another database.Type: NX_CHAR
- Returns:
- the value.
-
setIdentifiername
Identifier of the resource if that resource that has been serialized. For example, the identifier to a resource in another database.Type: NX_CHAR
- Parameters:
identifiernameDataset- the identifiernameDataset
-
getIdentifiernameScalar
String getIdentifiernameScalar()Identifier of the resource if that resource that has been serialized. For example, the identifier to a resource in another database.Type: NX_CHAR
- Returns:
- the value.
-
setIdentifiernameScalar
Identifier of the resource if that resource that has been serialized. For example, the identifier to a resource in another database.Type: NX_CHAR
- Parameters:
identifiername- the identifiername
-
getChecksum
org.eclipse.january.dataset.Dataset getChecksum()Value of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.Type: NX_CHAR
- Returns:
- the value.
-
setChecksum
Value of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.Type: NX_CHAR
- Parameters:
checksumDataset- the checksumDataset
-
getChecksumScalar
String getChecksumScalar()Value of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.Type: NX_CHAR
- Returns:
- the value.
-
setChecksumScalar
Value of the hash that is obtained when running algorithm on the content of the resource referred to by ``identifierNAME``.Type: NX_CHAR
- Parameters:
checksum- the checksum
-
getAlgorithm
org.eclipse.january.dataset.Dataset getAlgorithm()Name of the algorithm whereby the ``checksum`` was computed. Examples: md5, sha256Type: NX_CHAR
- Returns:
- the value.
-
setAlgorithm
Name of the algorithm whereby the ``checksum`` was computed. Examples: md5, sha256Type: NX_CHAR
- Parameters:
algorithmDataset- the algorithmDataset
-
getAlgorithmScalar
String getAlgorithmScalar()Name of the algorithm whereby the ``checksum`` was computed. Examples: md5, sha256Type: NX_CHAR
- Returns:
- the value.
-
setAlgorithmScalar
Name of the algorithm whereby the ``checksum`` was computed. Examples: md5, sha256Type: NX_CHAR
- Parameters:
algorithm- the algorithm
-
getDescription
org.eclipse.january.dataset.Dataset getDescription()Title of an image or other details of the note- Returns:
- the value.
-
setDescription
Title of an image or other details of the note- Parameters:
descriptionDataset- the descriptionDataset
-
getDescriptionScalar
String getDescriptionScalar()Title of an image or other details of the note- Returns:
- the value.
-
setDescriptionScalar
Title of an image or other details of the note- Parameters:
description- the description
-
getSequence_index
org.eclipse.january.dataset.Dataset getSequence_index()Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.Type: NX_POSINT
- Returns:
- the value.
-
setSequence_index
Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.Type: NX_POSINT
- Parameters:
sequence_indexDataset- the sequence_indexDataset
-
getSequence_indexScalar
Long getSequence_indexScalar()Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.Type: NX_POSINT
- Returns:
- the value.
-
setSequence_indexScalar
Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.Type: NX_POSINT
- Parameters:
sequence_index- the sequence_index
-
getData
org.eclipse.january.dataset.Dataset getData()Binary note data - if text, line terminator is [CR][LF].Type: NX_BINARY
- Returns:
- the value.
-
setData
Binary note data - if text, line terminator is [CR][LF].Type: NX_BINARY
- Parameters:
dataDataset- the dataDataset
-
getDataScalar
Object getDataScalar()Binary note data - if text, line terminator is [CR][LF].Type: NX_BINARY
- Returns:
- the value.
-
setDataScalar
Binary note data - if text, line terminator is [CR][LF].Type: NX_BINARY
- Parameters:
data- the data
-