Class XmlStoichiometryRange

  • All Implemented Interfaces:
    com.sun.xml.bind.Locatable, FileSourceContext, Stoichiometry

    public class XmlStoichiometryRange
    extends Object
    implements FileSourceContext, Stoichiometry, com.sun.xml.bind.Locatable
    Xml 2.5 implementation of stoichiometry range values
    Since:
    02/08/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • XmlStoichiometryRange

        public XmlStoichiometryRange()

        Constructor for XmlStoichiometryRange.

      • XmlStoichiometryRange

        public XmlStoichiometryRange​(int value)

        Constructor for XmlStoichiometryRange.

        Parameters:
        value - a int.
      • XmlStoichiometryRange

        public XmlStoichiometryRange​(int minValue,
                                     int maxValue)

        Constructor for XmlStoichiometryRange.

        Parameters:
        minValue - a int.
        maxValue - a int.
    • Method Detail

      • getMinValue

        public int getMinValue()

        Getter for the field minValue.

        Specified by:
        getMinValue in interface Stoichiometry
        Returns:
        a int.
      • getMaxValue

        public int getMaxValue()

        Getter for the field maxValue.

        Specified by:
        getMaxValue in interface Stoichiometry
        Returns:
        a int.
      • setJAXBMinValue

        public void setJAXBMinValue​(int value)

        setJAXBMinValue.

        Parameters:
        value - a int.
      • setJAXBMaxValue

        public void setJAXBMaxValue​(int value)

        setJAXBMaxValue.

        Parameters:
        value - a int.
      • hashCode

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

        public String toString()

        toString

        Specified by:
        toString in interface FileSourceContext
        Overrides:
        toString in class Object
        Returns:
        the file source context as a String. If the source locator is not null, it should give the source locator properties
      • sourceLocation

        public Locator sourceLocation()
        Specified by:
        sourceLocation in interface com.sun.xml.bind.Locatable
      • setSourceLocation

        public void setSourceLocation​(PsiXmlLocator sourceLocator)

        setSourceLocation.

        Parameters:
        sourceLocator - a PsiXmlLocator object.