Package psidev.psi.mi.jami.tab.extension
Class MitabParameter
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultParameter
-
- psidev.psi.mi.jami.model.impl.DefaultModelledParameter
-
- psidev.psi.mi.jami.tab.extension.MitabParameter
-
- All Implemented Interfaces:
FileSourceContext
,ModelledParameter
,Parameter
public class MitabParameter extends DefaultModelledParameter implements FileSourceContext
Mitab extension of Parameter- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabParameter(String type, String value, String unit)
Constructor for MitabParameter.MitabParameter(CvTerm type, String value)
Constructor for MitabParameter.MitabParameter(CvTerm type, String value, CvTerm unit)
Constructor for MitabParameter.MitabParameter(CvTerm type, ParameterValue value)
Constructor for MitabParameter.MitabParameter(CvTerm type, ParameterValue value, BigDecimal uncertainty)
Constructor for MitabParameter.MitabParameter(CvTerm type, ParameterValue value, CvTerm unit)
Constructor for MitabParameter.MitabParameter(CvTerm type, ParameterValue value, CvTerm unit, BigDecimal uncertainty)
Constructor for MitabParameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorString
toString()
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultModelledParameter
getPublication, setPublication
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultParameter
equals, getType, getUncertainty, getUnit, getValue, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.Parameter
getType, getUncertainty, getUnit, getValue
-
-
-
-
Constructor Detail
-
MitabParameter
public MitabParameter(CvTerm type, ParameterValue value)
Constructor for MitabParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.
-
MitabParameter
public MitabParameter(CvTerm type, ParameterValue value, CvTerm unit)
Constructor for MitabParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.unit
- aCvTerm
object.
-
MitabParameter
public MitabParameter(CvTerm type, ParameterValue value, CvTerm unit, BigDecimal uncertainty)
Constructor for MitabParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.unit
- aCvTerm
object.uncertainty
- aBigDecimal
object.
-
MitabParameter
public MitabParameter(CvTerm type, ParameterValue value, BigDecimal uncertainty)
Constructor for MitabParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.uncertainty
- aBigDecimal
object.
-
MitabParameter
public MitabParameter(CvTerm type, String value) throws IllegalParameterException
Constructor for MitabParameter.
- Parameters:
type
- aCvTerm
object.value
- aString
object.- Throws:
IllegalParameterException
- if any.
-
MitabParameter
public MitabParameter(CvTerm type, String value, CvTerm unit) throws IllegalParameterException
Constructor for MitabParameter.
- Parameters:
type
- aCvTerm
object.value
- aString
object.unit
- aCvTerm
object.- Throws:
IllegalParameterException
- if any.
-
MitabParameter
public MitabParameter(String type, String value, String unit) throws IllegalParameterException
Constructor for MitabParameter.
- Parameters:
type
- aString
object.value
- aString
object.unit
- aString
object.- Throws:
IllegalParameterException
- if any.
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
toString
public String toString()
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classDefaultParameter
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-