All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.docs.javadoc.org.eclipse.dawnsci.nexus.NXnote.html Maven / Gradle / Ivy






NXnote (h5jan API)












org.eclipse.dawnsci.nexus

Interface NXnote

  • All Superinterfaces:
    GroupNode, java.lang.Iterable<NodeLink>, Node, NXobject
    All Known Implementing Classes:
    NXnoteImpl


    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
    • Method Detail

      • getAuthor

        IDataset getAuthor()
        Author or creator of note
        Returns:
        the value.
      • setAuthor

        DataNode setAuthor(IDataset author)
        Author or creator of note
        Parameters:
        author - the author
      • getAuthorScalar

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

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

        IDataset getDate()
        Date note created/added

        Type: NX_DATE_TIME

        Returns:
        the value.
      • setDate

        DataNode setDate(IDataset date)
        Date note created/added

        Type: NX_DATE_TIME

        Parameters:
        date - the date
      • getDateScalar

        java.util.Date getDateScalar()
        Date note created/added

        Type: NX_DATE_TIME

        Returns:
        the value.
      • setDateScalar

        DataNode setDateScalar(java.util.Date date)
        Date note created/added

        Type: NX_DATE_TIME

        Parameters:
        date - the date
      • getType

        IDataset getType()
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Returns:
        the value.
      • setType

        DataNode setType(IDataset type)
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Parameters:
        type - the type
      • getTypeScalar

        java.lang.String getTypeScalar()
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Returns:
        the value.
      • setTypeScalar

        DataNode setTypeScalar(java.lang.String type)
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Parameters:
        type - the type
      • getFile_name

        IDataset getFile_name()
        Name of original file name if note was read from an external source
        Returns:
        the value.
      • setFile_name

        DataNode setFile_name(IDataset file_name)
        Name of original file name if note was read from an external source
        Parameters:
        file_name - the file_name
      • getFile_nameScalar

        java.lang.String getFile_nameScalar()
        Name of original file name if note was read from an external source
        Returns:
        the value.
      • setFile_nameScalar

        DataNode setFile_nameScalar(java.lang.String file_name)
        Name of original file name if note was read from an external source
        Parameters:
        file_name - the file_name
      • getDescription

        IDataset getDescription()
        Title of an image or other details of the note
        Returns:
        the value.
      • setDescription

        DataNode setDescription(IDataset description)
        Title of an image or other details of the note
        Parameters:
        description - the description
      • getDescriptionScalar

        java.lang.String getDescriptionScalar()
        Title of an image or other details of the note
        Returns:
        the value.
      • setDescriptionScalar

        DataNode setDescriptionScalar(java.lang.String description)
        Title of an image or other details of the note
        Parameters:
        description - the description
      • getSequence_index

        IDataset 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(IDataset sequence_index)
        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
      • getSequence_indexScalar

        java.lang.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(java.lang.Long sequence_index)
        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

        IDataset getData()
        Binary note data - if text, line terminator is [CR][LF].

        Type: NX_BINARY

        Returns:
        the value.
      • setData

        DataNode setData(IDataset data)
        Binary note data - if text, line terminator is [CR][LF].

        Type: NX_BINARY

        Parameters:
        data - the data
      • getDataScalar

        java.lang.Object getDataScalar()
        Binary note data - if text, line terminator is [CR][LF].

        Type: NX_BINARY

        Returns:
        the value.
      • setDataScalar

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

        Type: NX_BINARY

        Parameters:
        data - the data




© 2015 - 2024 Weber Informatics LLC | Privacy Policy