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

generated.docs.javadoc.org.eclipse.dawnsci.nexus.builder.data.DataDevice.html Maven / Gradle / Ivy






DataDevice (h5jan API)












org.eclipse.dawnsci.nexus.builder.data

Interface DataDevice<N extends NXobject>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.List<java.lang.String> getAxisFieldNames()
      Returns the list of the axis field names.
      java.lang.Integer getDefaultAxisDimension(java.lang.String sourceFieldName)
      Returns the index of the dimension of the @signal field of the NXdata group the field of the NXobject with the given name is a default axis for, or null if this field is not a default axis of the @signal field.
      java.lang.String getDestinationFieldName(java.lang.String sourceFieldName)
      Returns the name that the field with the given name in the NXobject should be given in the NXdata group when added (i.e.
      int[] getDimensionMappings(java.lang.String sourceFieldName)
      Returns the dimension mappings for the field with the given name.
      Node getFieldNode(java.lang.String sourceFieldName)
      Returns the Node for the field with the given name in the NXobject that this object was created from.
      int getFieldRank(java.lang.String sourceFieldName)
      Returns the rank of the source field with the given name
      N getNexusObject()
      Returns the nexus object for this data device.
      boolean isPrimary()
      Returns whether this is the primary device for the NXdata group being built.
    • Method Detail

      • isPrimary

        boolean isPrimary()
        Returns whether this is the primary device for the NXdata group being built. This primary device is the device which contains the @signal field for the NXdata group.
        Returns:
        true if this is the primary device, false otherwise
      • getNexusObject

        N getNexusObject()
        Returns the nexus object for this data device.
        Returns:
        nexus object
      • getAxisFieldNames

        java.util.List<java.lang.String> getAxisFieldNames()
        Returns the list of the axis field names.
        Returns:
        axis field names
      • getFieldNode

        Node getFieldNode(java.lang.String sourceFieldName)
        Returns the Node for the field with the given name in the NXobject that this object was created from. In most cases this will be a DataNode, but may be a SymbolicNode in the case of an external link
        Parameters:
        sourceFieldName - field name in the existing NXobject
        Returns:
        the node with the given name
      • getFieldRank

        int getFieldRank(java.lang.String sourceFieldName)
        Returns the rank of the source field with the given name
        Parameters:
        sourceFieldName - field name in the existing NXobject
        Returns:
        rank of the field with the given name
      • getDestinationFieldName

        java.lang.String getDestinationFieldName(java.lang.String sourceFieldName)
        Returns the name that the field with the given name in the NXobject should be given in the NXdata group when added (i.e. linked to).
        Parameters:
        sourceFieldName - field name in the existing NXobject
        Returns:
        destination name
      • getDimensionMappings

        int[] getDimensionMappings(java.lang.String sourceFieldName)
        Returns the dimension mappings for the field with the given name. This is an array of integers each of which specifies the index of the @signal field that the dimension of the dataset for this field name with the corresponding index maps to.
        Parameters:
        sourceFieldName - field name in the existing NXobject
        Returns:
        dimension mappings between the field with the given name and the @signal field of the NXdata group
      • getDefaultAxisDimension

        java.lang.Integer getDefaultAxisDimension(java.lang.String sourceFieldName)
        Returns the index of the dimension of the @signal field of the NXdata group the field of the NXobject with the given name is a default axis for, or null if this field is not a default axis of the @signal field.
        Parameters:
        sourceFieldName - field name in the existing NXobject
        Returns:
        dimension of the signal field that this field is a default axis for, or null




© 2015 - 2024 Weber Informatics LLC | Privacy Policy