Class AbstractXmlParameter

  • All Implemented Interfaces:
    com.sun.xml.bind.Locatable, FileSourceContext, Parameter
    Direct Known Subclasses:
    XmlParameter

    public abstract class AbstractXmlParameter
    extends Object
    implements Parameter, FileSourceContext, com.sun.xml.bind.Locatable
    Abstract Xml implementation of Parameter
    Since:
    19/07/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • AbstractXmlParameter

        public AbstractXmlParameter()

        Constructor for AbstractXmlParameter.

    • Method Detail

      • setJAXBTerm

        public void setJAXBTerm​(String value)
        Sets the value of the term property.
        Parameters:
        value - allowed object is String
      • setJAXBTermAc

        public void setJAXBTermAc​(String value)
        Sets the value of the termAc property.
        Parameters:
        value - allowed object is String
      • setJAXBUnit

        public void setJAXBUnit​(String value)
        Sets the value of the unit property.
        Parameters:
        value - allowed object is String
      • setUnitAc

        public void setUnitAc​(String value)
        Sets the value of the unitAc property.
        Parameters:
        value - allowed object is String
      • setJAXBBase

        public void setJAXBBase​(Short value)
        Sets the value of the base property.
        Parameters:
        value - allowed object is Short
      • setJAXBExponent

        public void setJAXBExponent​(Short value)
        Sets the value of the exponent property.
        Parameters:
        value - allowed object is Short
      • setJAXBFactor

        public void setJAXBFactor​(BigDecimal value)
        Sets the value of the factor property.
        Parameters:
        value - allowed object is BigDecimal
      • sourceLocation

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

        public void setJAXBUncertainty​(BigDecimal value)
        Sets the value of the uncertainty property.
        Parameters:
        value - allowed object is Double
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object