Class XmlStoichiometryRange
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.XmlStoichiometryRange
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,FileSourceContext,Stoichiometry
public class XmlStoichiometryRange extends Object implements FileSourceContext, Stoichiometry, com.sun.xml.bind.Locatable
Xml 3.0 implementation of stoichiometry range values- Since:
02/08/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlStoichiometryRange()Constructor for XmlStoichiometryRange.XmlStoichiometryRange(int value)Constructor for XmlStoichiometryRange.XmlStoichiometryRange(int minValue, int maxValue)Constructor for XmlStoichiometryRange.
-
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.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.inthashCode()voidsetJAXBMaxValue(int value)setJAXBMaxValue.voidsetJAXBMinValue(int value)setJAXBMinValue.voidsetSourceLocation(PsiXmlLocator sourceLocator)setSourceLocation.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorLocatorsourceLocation()StringtoString()toString
-
-
-
Constructor Detail
-
XmlStoichiometryRange
public XmlStoichiometryRange()
Constructor for XmlStoichiometryRange.
-
XmlStoichiometryRange
public XmlStoichiometryRange(int value)
Constructor for XmlStoichiometryRange.
- Parameters:
value- a int.
-
XmlStoichiometryRange
public XmlStoichiometryRange(int minValue, int maxValue)Constructor for XmlStoichiometryRange.
- 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.
-
setJAXBMinValue
public void setJAXBMinValue(int value)
setJAXBMinValue.
- Parameters:
value- a int.
-
setJAXBMaxValue
public void setJAXBMaxValue(int value)
setJAXBMaxValue.
- Parameters:
value- a int.
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
setSourceLocation
public void setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.
- Parameters:
sourceLocator- aPsiXmlLocatorobject.
-
-