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

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






NXnoteImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXnoteImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<NodeLink>, GroupNode, Node, NXnote, NXobject


    public class NXnoteImpl
    extends NXobjectImpl
    implements 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
    See Also:
    Serialized Form
    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

        public static final java.util.Set<NexusBaseClass> PERMITTED_CHILD_GROUP_CLASSES
    • Constructor Detail

      • NXnoteImpl

        public NXnoteImpl()
      • NXnoteImpl

        public NXnoteImpl(long oid)
    • Method Detail

      • getNXclass

        public java.lang.Class<? extends NXobject> getNXclass()
        Description copied from interface: NXobject
        Java Class object of the interface for this base class, e.g. NXsample.class.
        Specified by:
        getNXclass in interface NXobject
        Returns:
        name of Nexus class
      • getAuthor

        public IDataset getAuthor()
        Description copied from interface: NXnote
        Author or creator of note
        Specified by:
        getAuthor in interface NXnote
        Returns:
        the value.
      • getAuthorScalar

        public java.lang.String getAuthorScalar()
        Description copied from interface: NXnote
        Author or creator of note
        Specified by:
        getAuthorScalar in interface NXnote
        Returns:
        the value.
      • setAuthor

        public DataNode setAuthor(IDataset author)
        Description copied from interface: NXnote
        Author or creator of note
        Specified by:
        setAuthor in interface NXnote
        Parameters:
        author - the author
      • setAuthorScalar

        public DataNode setAuthorScalar(java.lang.String author)
        Description copied from interface: NXnote
        Author or creator of note
        Specified by:
        setAuthorScalar in interface NXnote
        Parameters:
        author - the author
      • getDate

        public IDataset getDate()
        Description copied from interface: NXnote
        Date note created/added

        Type: NX_DATE_TIME

        Specified by:
        getDate in interface NXnote
        Returns:
        the value.
      • getDateScalar

        public java.util.Date getDateScalar()
        Description copied from interface: NXnote
        Date note created/added

        Type: NX_DATE_TIME

        Specified by:
        getDateScalar in interface NXnote
        Returns:
        the value.
      • setDate

        public DataNode setDate(IDataset date)
        Description copied from interface: NXnote
        Date note created/added

        Type: NX_DATE_TIME

        Specified by:
        setDate in interface NXnote
        Parameters:
        date - the date
      • setDateScalar

        public DataNode setDateScalar(java.util.Date date)
        Description copied from interface: NXnote
        Date note created/added

        Type: NX_DATE_TIME

        Specified by:
        setDateScalar in interface NXnote
        Parameters:
        date - the date
      • getType

        public IDataset getType()
        Description copied from interface: NXnote
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Specified by:
        getType in interface NXnote
        Returns:
        the value.
      • getTypeScalar

        public java.lang.String getTypeScalar()
        Description copied from interface: NXnote
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Specified by:
        getTypeScalar in interface NXnote
        Returns:
        the value.
      • setType

        public DataNode setType(IDataset type)
        Description copied from interface: NXnote
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Specified by:
        setType in interface NXnote
        Parameters:
        type - the type
      • setTypeScalar

        public DataNode setTypeScalar(java.lang.String type)
        Description copied from interface: NXnote
        Mime content type of note data field e.g. image/jpeg, text/plain, text/html
        Specified by:
        setTypeScalar in interface NXnote
        Parameters:
        type - the type
      • getFile_name

        public IDataset getFile_name()
        Description copied from interface: NXnote
        Name of original file name if note was read from an external source
        Specified by:
        getFile_name in interface NXnote
        Returns:
        the value.
      • getFile_nameScalar

        public java.lang.String getFile_nameScalar()
        Description copied from interface: NXnote
        Name of original file name if note was read from an external source
        Specified by:
        getFile_nameScalar in interface NXnote
        Returns:
        the value.
      • setFile_name

        public DataNode setFile_name(IDataset file_name)
        Description copied from interface: NXnote
        Name of original file name if note was read from an external source
        Specified by:
        setFile_name in interface NXnote
        Parameters:
        file_name - the file_name
      • setFile_nameScalar

        public DataNode setFile_nameScalar(java.lang.String file_name)
        Description copied from interface: NXnote
        Name of original file name if note was read from an external source
        Specified by:
        setFile_nameScalar in interface NXnote
        Parameters:
        file_name - the file_name
      • getDescription

        public IDataset getDescription()
        Description copied from interface: NXnote
        Title of an image or other details of the note
        Specified by:
        getDescription in interface NXnote
        Returns:
        the value.
      • getDescriptionScalar

        public java.lang.String getDescriptionScalar()
        Description copied from interface: NXnote
        Title of an image or other details of the note
        Specified by:
        getDescriptionScalar in interface NXnote
        Returns:
        the value.
      • setDescription

        public DataNode setDescription(IDataset description)
        Description copied from interface: NXnote
        Title of an image or other details of the note
        Specified by:
        setDescription in interface NXnote
        Parameters:
        description - the description
      • setDescriptionScalar

        public DataNode setDescriptionScalar(java.lang.String description)
        Description copied from interface: NXnote
        Title of an image or other details of the note
        Specified by:
        setDescriptionScalar in interface NXnote
        Parameters:
        description - the description
      • getSequence_index

        public IDataset getSequence_index()
        Description copied from interface: NXnote
        Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.

        Type: NX_POSINT

        Specified by:
        getSequence_index in interface NXnote
        Returns:
        the value.
      • getSequence_indexScalar

        public java.lang.Long getSequence_indexScalar()
        Description copied from interface: NXnote
        Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.

        Type: NX_POSINT

        Specified by:
        getSequence_indexScalar in interface NXnote
        Returns:
        the value.
      • setSequence_index

        public DataNode setSequence_index(IDataset sequence_index)
        Description copied from interface: NXnote
        Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.

        Type: NX_POSINT

        Specified by:
        setSequence_index in interface NXnote
        Parameters:
        sequence_index - the sequence_index
      • setSequence_indexScalar

        public DataNode setSequence_indexScalar(java.lang.Long sequence_index)
        Description copied from interface: NXnote
        Sequence index of note, for placing a sequence of multiple **NXnote** groups in an order. Starts with 1.

        Type: NX_POSINT

        Specified by:
        setSequence_indexScalar in interface NXnote
        Parameters:
        sequence_index - the sequence_index
      • getData

        public IDataset getData()
        Description copied from interface: NXnote
        Binary note data - if text, line terminator is [CR][LF].

        Type: NX_BINARY

        Specified by:
        getData in interface NXnote
        Returns:
        the value.
      • getDataScalar

        public java.lang.Object getDataScalar()
        Description copied from interface: NXnote
        Binary note data - if text, line terminator is [CR][LF].

        Type: NX_BINARY

        Specified by:
        getDataScalar in interface NXnote
        Returns:
        the value.
      • setData

        public DataNode setData(IDataset data)
        Description copied from interface: NXnote
        Binary note data - if text, line terminator is [CR][LF].

        Type: NX_BINARY

        Specified by:
        setData in interface NXnote
        Parameters:
        data - the data
      • setDataScalar

        public DataNode setDataScalar(java.lang.Object data)
        Description copied from interface: NXnote
        Binary note data - if text, line terminator is [CR][LF].

        Type: NX_BINARY

        Specified by:
        setDataScalar in interface NXnote
        Parameters:
        data - the data




© 2015 - 2024 Weber Informatics LLC | Privacy Policy