Class XmlInterval
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlPosition
-
- psidev.psi.mi.jami.xml.model.extension.xml300.XmlInterval
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,Position
public class XmlInterval extends AbstractXmlPosition
Xml implementation of a position which is an interval The JAXB binding is designed to be read-only and is not designed for writing- Since:
19/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Position
C_TERMINAL, C_TERMINAL_FULL, C_TERMINAL_MI, C_TERMINAL_RANGE, C_TERMINAL_RANGE_FULL, C_TERMINAL_RANGE_MI, CERTAIN, CERTAIN_FULL, CERTAIN_MI, GREATER_THAN, GREATER_THAN_FULL, GREATER_THAN_MI, LESS_THAN, LESS_THAN_FULL, LESS_THAN_MI, N_TERMINAL, N_TERMINAL_FULL, N_TERMINAL_MI, N_TERMINAL_RANGE, N_TERMINAL_RANGE_FULL, N_TERMINAL_RANGE_MI, RAGGED_N_TERMINAL, RAGGED_N_TERMINAL_MI, RANGE, RANGE_FULL, RANGE_MI, UNDETERMINED, UNDETERMINED_FULL, UNDETERMINED_MI
-
-
Constructor Summary
Constructors Constructor Description XmlInterval()
Constructor for XmlInterval.XmlInterval(CvTerm status, boolean positionUndetermined)
Constructor for XmlInterval.XmlInterval(CvTerm status, long start, long end, boolean positionUndetermined)
Constructor for XmlInterval.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEnd()
Getter for the fieldend
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.long
getStart()
Getter for the fieldstart
.CvTerm
getStatus()
Getter for the fieldstatus
.boolean
isPositionUndetermined()
isPositionUndetermined.void
setJAXBBeginPosition(long value)
Sets the value of the begin property.void
setJAXBEndPosition(long value)
Sets the value of the end property.String
toString()
toString-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlPosition
equals, hashCode, setJAXBStatus, setSourceLocator, sourceLocation
-
-
-
-
Method Detail
-
getStatus
public CvTerm getStatus()
Getter for the field
status
.- Specified by:
getStatus
in interfacePosition
- Overrides:
getStatus
in classAbstractXmlPosition
- Returns:
- a
CvTerm
object.
-
getStart
public long getStart()
Getter for the field
start
.- Returns:
- a long.
-
getEnd
public long getEnd()
Getter for the field
end
.- Returns:
- a long.
-
isPositionUndetermined
public boolean isPositionUndetermined()
isPositionUndetermined.
- Specified by:
isPositionUndetermined
in interfacePosition
- Overrides:
isPositionUndetermined
in classAbstractXmlPosition
- Returns:
- a boolean.
-
setJAXBBeginPosition
public void setJAXBBeginPosition(long value)
Sets the value of the begin property.- Parameters:
value
- allowed object isBigInteger
-
setJAXBEndPosition
public void setJAXBEndPosition(long value)
Sets the value of the end property.- Parameters:
value
- allowed object isBigInteger
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Overrides:
getSourceLocator
in classAbstractXmlPosition
- Returns:
- a
FileSourceLocator
object.
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classAbstractXmlPosition
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-