Class XmlParameterWrapper
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.XmlParameterWrapper
-
- All Implemented Interfaces:
ModelledParameter
,Parameter
public class XmlParameterWrapper extends Object implements ModelledParameter
Xml parameter wrapper- Since:
11/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlParameterWrapper(Parameter param)
Constructor for XmlParameterWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Publication
getPublication()
The publication where this parameter has been reported if relevant, null otherwise.CvTerm
getType()
The parameter type is a controlled vocabulary term and it cannot be null.BigDecimal
getUncertainty()
The uncertainty of the parameter.CvTerm
getUnit()
Unit of the parameter is a controlled vocabulary term.ParameterValue
getValue()
The parameter value cannot be nullvoid
setPublication(Publication publication)
Sets the publication of this parameterString
toString()
-
-
-
Method Detail
-
getType
public CvTerm getType()
The parameter type is a controlled vocabulary term and it cannot be null. Ex: dissociation constant
-
getUncertainty
public BigDecimal getUncertainty()
The uncertainty of the parameter. By default is null- Specified by:
getUncertainty
in interfaceParameter
- Returns:
- the uncertainty of the parameter.
-
getUnit
public CvTerm getUnit()
Unit of the parameter is a controlled vocabulary term. It can be null Ex: KiloDalton
-
getValue
public ParameterValue getValue()
The parameter value cannot be null
-
getPublication
public Publication getPublication()
The publication where this parameter has been reported if relevant, null otherwise.- Specified by:
getPublication
in interfaceModelledParameter
- Returns:
- the Publication where this modelledParameter has been reported, null if no publications reported this parameter
-
setPublication
public void setPublication(Publication publication)
Sets the publication of this parameter- Specified by:
setPublication
in interfaceModelledParameter
- Parameters:
publication
- : the publication
-
-