Class XmlStoichiometryRange
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.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 2.5 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 boolean
equals(Object o)
int
getMaxValue()
Getter for the fieldmaxValue
.int
getMinValue()
Getter for the fieldminValue
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.int
hashCode()
void
setJAXBMaxValue(int value)
setJAXBMaxValue.void
setJAXBMinValue(int value)
setJAXBMinValue.void
setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
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:
getMinValue
in interfaceStoichiometry
- Returns:
- a int.
-
getMaxValue
public int getMaxValue()
Getter for the field
maxValue
.- Specified by:
getMaxValue
in 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:
toString
in interfaceFileSourceContext
- Overrides:
toString
in 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:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
setSourceLocation
public void setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.
- Parameters:
sourceLocator
- aPsiXmlLocator
object.
-
-