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 boolean
equals(Object o)
int
getMaxValue()
Getter for the fieldmaxValue
.int
getMinValue()
Getter for the fieldminValue
.int
hashCode()
void
setMaxValue(int maxValue)
void
setMinValue(int minValue)
String
toString()
-
-
-
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:
getMinValue
in interfaceStoichiometry
- Returns:
- a int.
-
getMaxValue
public int getMaxValue()
Getter for the field
maxValue
.- Specified by:
getMaxValue
in interfaceStoichiometry
- Returns:
- a int.
-
setMinValue
public void setMinValue(int minValue)
-
setMaxValue
public void setMaxValue(int maxValue)
-
-