java.lang.Object
uk.ac.diamond.scisoft.analysis.rcp.navigator.srs.SRSTreeData

public class SRSTreeData extends Object
Provides an SRS model of a name,min,max and class set from a *.dat file.
  • Field Details

  • Constructor Details

    • SRSTreeData

      public SRSTreeData(String name, String minValue, String maxValue, String classValue, org.eclipse.core.resources.IFile file)
      Create a property with the given name and value contained by the given file.
      Parameters:
      name - The name of the property.
      minValue - The minimum value of the property.
      maxValue - The maximum value of the property.
      classValue - The class value of the property.
      file - The file that defines this property.
  • Method Details

    • getName

      public String getName()
      The name of this property.
      Returns:
      The name of this property.
    • getMinValue

      public String getMinValue()
      Return the minimum value of the property in the file.
      Returns:
      The minimum value of the property in the file.
    • getMaxValue

      public String getMaxValue()
      Return the maximum value of the property in the file.
      Returns:
      The maximum value of the property in the file.
    • getClassValue

      public String getClassValue()
      Return the class value of the property in the file.
      Returns:
      The class value of the property in the file.
    • getFile

      public org.eclipse.core.resources.IFile getFile()
      The IFile that defines this property.
      Returns:
      The IFile that defines this property.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object