Package psidev.psi.mi.jami.model.impl
Class DefaultModelledParameter
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultParameter
-
- psidev.psi.mi.jami.model.impl.DefaultModelledParameter
-
- All Implemented Interfaces:
ModelledParameter
,Parameter
- Direct Known Subclasses:
MitabParameter
public class DefaultModelledParameter extends DefaultParameter implements ModelledParameter
Default implementation for ModelledParameter Notes: The equals and hashcode methods have been overridden to be consistent with UnambiguousParameterComparator- Since:
28/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultModelledParameter(CvTerm type, String value)
Constructor for DefaultModelledParameter.DefaultModelledParameter(CvTerm type, String value, CvTerm unit)
Constructor for DefaultModelledParameter.DefaultModelledParameter(CvTerm type, ParameterValue value)
Constructor for DefaultModelledParameter.DefaultModelledParameter(CvTerm type, ParameterValue value, BigDecimal uncertainty)
Constructor for DefaultModelledParameter.DefaultModelledParameter(CvTerm type, ParameterValue value, CvTerm unit)
Constructor for DefaultModelledParameter.DefaultModelledParameter(CvTerm type, ParameterValue value, CvTerm unit, BigDecimal uncertainty)
Constructor for DefaultModelledParameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Publication
getPublication()
Getter for the fieldpublication
.void
setPublication(Publication publication)
Sets the publication of this parameter-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultParameter
equals, getType, getUncertainty, getUnit, getValue, hashCode, toString
-
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
-
DefaultModelledParameter
public DefaultModelledParameter(CvTerm type, ParameterValue value)
Constructor for DefaultModelledParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.
-
DefaultModelledParameter
public DefaultModelledParameter(CvTerm type, ParameterValue value, CvTerm unit)
Constructor for DefaultModelledParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.unit
- aCvTerm
object.
-
DefaultModelledParameter
public DefaultModelledParameter(CvTerm type, ParameterValue value, CvTerm unit, BigDecimal uncertainty)
Constructor for DefaultModelledParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.unit
- aCvTerm
object.uncertainty
- aBigDecimal
object.
-
DefaultModelledParameter
public DefaultModelledParameter(CvTerm type, ParameterValue value, BigDecimal uncertainty)
Constructor for DefaultModelledParameter.
- Parameters:
type
- aCvTerm
object.value
- aParameterValue
object.uncertainty
- aBigDecimal
object.
-
DefaultModelledParameter
public DefaultModelledParameter(CvTerm type, String value) throws IllegalParameterException
Constructor for DefaultModelledParameter.
- Parameters:
type
- aCvTerm
object.value
- aString
object.- Throws:
IllegalParameterException
- if any.
-
DefaultModelledParameter
public DefaultModelledParameter(CvTerm type, String value, CvTerm unit) throws IllegalParameterException
Constructor for DefaultModelledParameter.
- Parameters:
type
- aCvTerm
object.value
- aString
object.unit
- aCvTerm
object.- Throws:
IllegalParameterException
- if any.
-
-
Method Detail
-
getPublication
public Publication getPublication()
Getter for the field
publication
.- Specified by:
getPublication
in interfaceModelledParameter
- Returns:
- a
Publication
object.
-
setPublication
public void setPublication(Publication publication)
Sets the publication of this parameter- Specified by:
setPublication
in interfaceModelledParameter
- Parameters:
publication
- : the publication
-
-