Class XmlPosition
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlPosition
-
- psidev.psi.mi.jami.xml.model.extension.xml254.XmlPosition
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,Position
public class XmlPosition extends AbstractXmlPosition
Xml implementation of a simple Position 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 XmlPosition()
Constructor for XmlPosition.XmlPosition(CvTerm status, boolean positionUndetermined)
Constructor for XmlPosition.XmlPosition(CvTerm status, long pos, boolean positionUndetermined)
Constructor for XmlPosition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEnd()
getEnd.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.long
getStart()
getStart.CvTerm
getStatus()
Getter for the fieldstatus
.boolean
isPositionUndetermined()
isPositionUndetermined.void
setJAXBPosition(long value)
Sets the value of the position property.String
toString()
toString-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml254.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()
getStart.
- Returns:
- a long.
-
getEnd
public long getEnd()
getEnd.
- Returns:
- a long.
-
isPositionUndetermined
public boolean isPositionUndetermined()
isPositionUndetermined.
- Specified by:
isPositionUndetermined
in interfacePosition
- Overrides:
isPositionUndetermined
in classAbstractXmlPosition
- Returns:
- a boolean.
-
setJAXBPosition
public void setJAXBPosition(long value)
Sets the value of the position 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
-
-