Interface NXnote

All Superinterfaces:
GroupNode, Iterable<NodeLink>, Node, NXobject

public interface NXnote extends NXobject
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 Details

  • Method Details

    • getAuthor

      org.eclipse.january.dataset.Dataset getAuthor()
      Author or creator of note
      Returns:
      the value.
    • setAuthor

      DataNode setAuthor(org.eclipse.january.dataset.IDataset authorDataset)
      Author or creator of note
      Parameters:
      authorDataset - the authorDataset
    • getAuthorScalar

      String getAuthorScalar()
      Author or creator of note
      Returns:
      the value.
    • setAuthorScalar

      DataNode setAuthorScalar(String authorValue)
      Author or creator of note
      Parameters:
      author - the author
    • getDate

      org.eclipse.january.dataset.Dataset getDate()
      Date note created/added

      Type: NX_DATE_TIME

      Returns:
      the value.
    • setDate

      DataNode setDate(org.eclipse.january.dataset.IDataset dateDataset)
      Date note created/added

      Type: NX_DATE_TIME

      Parameters:
      dateDataset - the dateDataset
    • getDateScalar

      Date getDateScalar()
      Date note created/added

      Type: NX_DATE_TIME

      Returns:
      the value.
    • setDateScalar

      DataNode setDateScalar(Date dateValue)
      Date note created/added

      Type: 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

      DataNode setType(org.eclipse.january.dataset.IDataset typeDataset)
      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

      DataNode setTypeScalar(String typeValue)
      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

      DataNode setFile_name(org.eclipse.january.dataset.IDataset file_nameDataset)
      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

      DataNode setFile_nameScalar(String file_nameValue)
      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

      DataNode setIdentifiername(org.eclipse.january.dataset.IDataset identifiernameDataset)
      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

      DataNode setIdentifiernameScalar(String identifiernameValue)
      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

      DataNode setChecksum(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``.

      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

      DataNode setChecksumScalar(String checksumValue)
      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, sha256

      Type: NX_CHAR

      Returns:
      the value.
    • setAlgorithm

      DataNode setAlgorithm(org.eclipse.january.dataset.IDataset algorithmDataset)
      Name of the algorithm whereby the ``checksum`` was computed. Examples: md5, sha256

      Type: NX_CHAR

      Parameters:
      algorithmDataset - the algorithmDataset
    • getAlgorithmScalar

      String getAlgorithmScalar()
      Name of the algorithm whereby the ``checksum`` was computed. Examples: md5, sha256

      Type: NX_CHAR

      Returns:
      the value.
    • setAlgorithmScalar

      DataNode setAlgorithmScalar(String algorithmValue)
      Name of the algorithm whereby the ``checksum`` was computed. Examples: md5, sha256

      Type: 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

      DataNode setDescription(org.eclipse.january.dataset.IDataset descriptionDataset)
      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

      DataNode setDescriptionScalar(String descriptionValue)
      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

      DataNode setSequence_index(org.eclipse.january.dataset.IDataset sequence_indexDataset)
      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

      DataNode setSequence_indexScalar(Long sequence_indexValue)
      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

      DataNode setData(org.eclipse.january.dataset.IDataset dataDataset)
      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

      DataNode setDataScalar(Object dataValue)
      Binary note data - if text, line terminator is [CR][LF].

      Type: NX_BINARY

      Parameters:
      data - the data