Package psidev.psi.mi.jami.model.impl
Class DefaultStoichiometry
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultStoichiometry
-
- All Implemented Interfaces:
Stoichiometry
- Direct Known Subclasses:
MitabStoichiometry,XmlStoichiometry
public class DefaultStoichiometry extends Object implements Stoichiometry
Default implementation for stoichiometry Notes: The equals and hashcode methods have been overridden to be consistent with StoichiometryComparator- Since:
21/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultStoichiometry()DefaultStoichiometry(int value)Constructor for DefaultStoichiometry.DefaultStoichiometry(int minValue, int maxValue)Constructor for DefaultStoichiometry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetMaxValue()Getter for the fieldmaxValue.intgetMinValue()Getter for the fieldminValue.inthashCode()voidsetMaxValue(int maxValue)voidsetMinValue(int minValue)StringtoString()
-
-
-
Constructor Detail
-
DefaultStoichiometry
public DefaultStoichiometry()
-
DefaultStoichiometry
public DefaultStoichiometry(int value)
Constructor for DefaultStoichiometry.
- Parameters:
value- a int.
-
DefaultStoichiometry
public DefaultStoichiometry(int minValue, int maxValue)Constructor for DefaultStoichiometry.
- Parameters:
minValue- a int.maxValue- a int.
-
-
Method Detail
-
getMinValue
public int getMinValue()
Getter for the field
minValue.- Specified by:
getMinValuein interfaceStoichiometry- Returns:
- a int.
-
getMaxValue
public int getMaxValue()
Getter for the field
maxValue.- Specified by:
getMaxValuein interfaceStoichiometry- Returns:
- a int.
-
setMinValue
public void setMinValue(int minValue)
-
setMaxValue
public void setMaxValue(int maxValue)
-
-