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 PublicationgetPublication()The publication where this parameter has been reported if relevant, null otherwise.CvTermgetType()The parameter type is a controlled vocabulary term and it cannot be null.BigDecimalgetUncertainty()The uncertainty of the parameter.CvTermgetUnit()Unit of the parameter is a controlled vocabulary term.ParameterValuegetValue()The parameter value cannot be nullvoidsetPublication(Publication publication)Sets the publication of this parameterStringtoString()
-
-
-
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:
getUncertaintyin 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:
getPublicationin 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:
setPublicationin interfaceModelledParameter- Parameters:
publication- : the publication
-
-