Package psidev.psi.mi.jami.tab.extension
Class MitabRange
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultRange
-
- psidev.psi.mi.jami.tab.extension.MitabRange
-
- All Implemented Interfaces:
FileSourceContext
,Range
public class MitabRange extends DefaultRange implements FileSourceContext
Mitab extension of Range It contains a FileSourceLocator- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Range
C_TERMINAL_POSITION_SYMBOL, FUZZY_POSITION_SYMBOL, GREATER_THAN_POSITION_SYMBOL, LESS_THAN_POSITION_SYMBOL, N_TERMINAL_POSITION_SYMBOL, POSITION_SEPARATOR, UNDETERMINED_POSITION_SYMBOL
-
-
Constructor Summary
Constructors Constructor Description MitabRange(Position start, Position end)
Constructor for MitabRange.MitabRange(Position start, Position end, boolean isLink)
Constructor for MitabRange.MitabRange(Position start, Position end, boolean isLink, Participant participant)
Constructor for MitabRange.MitabRange(Position start, Position end, boolean isLink, ResultingSequence resultingSequence)
Constructor for MitabRange.MitabRange(Position start, Position end, Participant participant)
Constructor for MitabRange.MitabRange(Position start, Position end, ResultingSequence resultingSequence)
Constructor for MitabRange.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorString
toString()
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultRange
equals, getEnd, getParticipant, getResultingSequence, getStart, hashCode, isLink, setLink, setParticipant, setPositions, setResultingSequence
-
-
-
-
Constructor Detail
-
MitabRange
public MitabRange(Position start, Position end, boolean isLink)
Constructor for MitabRange.
-
MitabRange
public MitabRange(Position start, Position end, ResultingSequence resultingSequence)
Constructor for MitabRange.
- Parameters:
start
- aPosition
object.end
- aPosition
object.resultingSequence
- aResultingSequence
object.
-
MitabRange
public MitabRange(Position start, Position end, boolean isLink, ResultingSequence resultingSequence)
Constructor for MitabRange.
- Parameters:
start
- aPosition
object.end
- aPosition
object.isLink
- a boolean.resultingSequence
- aResultingSequence
object.
-
MitabRange
public MitabRange(Position start, Position end, Participant participant)
Constructor for MitabRange.
- Parameters:
start
- aPosition
object.end
- aPosition
object.participant
- aParticipant
object.
-
MitabRange
public MitabRange(Position start, Position end, boolean isLink, Participant participant)
Constructor for MitabRange.
- Parameters:
start
- aPosition
object.end
- aPosition
object.isLink
- a boolean.participant
- aParticipant
object.
-
-
Method Detail
-
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
-
toString
public String toString()
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classDefaultRange
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-