Package psidev.psi.mi.jami.model
Interface Position
-
- All Known Implementing Classes:
AbstractXmlPosition
,AbstractXmlPosition
,AbstractXmlPosition
,DefaultPosition
,XmlInterval
,XmlInterval
,XmlInterval
,XmlPosition
,XmlPosition
,XmlPosition
public interface Position
The position of a feature in the interactor sequence- Since:
22/11/12
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
Fields Modifier and Type Field Description static String
C_TERMINAL
ConstantC_TERMINAL="c-terminal"
static String
C_TERMINAL_FULL
ConstantC_TERMINAL_FULL="c-terminal position"
static String
C_TERMINAL_MI
ConstantC_TERMINAL_MI="MI:0334"
static String
C_TERMINAL_RANGE
ConstantC_TERMINAL_RANGE="c-term range"
static String
C_TERMINAL_RANGE_FULL
ConstantC_TERMINAL_RANGE_FULL="c-terminal range"
static String
C_TERMINAL_RANGE_MI
ConstantC_TERMINAL_RANGE_MI="MI:1039"
static String
CERTAIN
ConstantCERTAIN="certain"
static String
CERTAIN_FULL
ConstantCERTAIN_FULL="certain sequence position"
static String
CERTAIN_MI
ConstantCERTAIN_MI="MI:0335"
static String
GREATER_THAN
ConstantGREATER_THAN="greater-than"
static String
GREATER_THAN_FULL
ConstantGREATER_THAN_FULL="greater-than"
static String
GREATER_THAN_MI
ConstantGREATER_THAN_MI="MI:0336"
static String
LESS_THAN
ConstantLESS_THAN="less-than"
static String
LESS_THAN_FULL
ConstantLESS_THAN_FULL="less-than"
static String
LESS_THAN_MI
ConstantLESS_THAN_MI="MI:0337"
static String
N_TERMINAL
ConstantN_TERMINAL="n-terminal"
static String
N_TERMINAL_FULL
ConstantN_TERMINAL_FULL="n-terminal position"
static String
N_TERMINAL_MI
ConstantN_TERMINAL_MI="MI:0340"
static String
N_TERMINAL_RANGE
ConstantN_TERMINAL_RANGE="n-term range"
static String
N_TERMINAL_RANGE_FULL
ConstantN_TERMINAL_RANGE_FULL="n-terminal range"
static String
N_TERMINAL_RANGE_MI
ConstantN_TERMINAL_RANGE_MI="MI:1040"
static String
RAGGED_N_TERMINAL
ConstantRAGGED_N_TERMINAL="ragged n-terminus"
static String
RAGGED_N_TERMINAL_MI
ConstantRAGGED_N_TERMINAL_MI="MI:0341"
static String
RANGE
ConstantRANGE="range"
static String
RANGE_FULL
ConstantRANGE_FULL="range"
static String
RANGE_MI
ConstantRANGE_MI="MI:0338"
static String
UNDETERMINED
ConstantUNDETERMINED="undetermined"
static String
UNDETERMINED_FULL
ConstantUNDETERMINED_FULL="undetermined sequence position"
static String
UNDETERMINED_MI
ConstantUNDETERMINED_MI="MI:0339"
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getEnd()
The end position in the molecule sequence.long
getStart()
The start position in the molecule sequence.CvTerm
getStatus()
The range status is a controlled vocabulary term which cannot be null.boolean
isPositionUndetermined()
isPositionUndetermined
-
-
-
Field Detail
-
UNDETERMINED
static final String UNDETERMINED
ConstantUNDETERMINED="undetermined"
- See Also:
- Constant Field Values
-
UNDETERMINED_FULL
static final String UNDETERMINED_FULL
ConstantUNDETERMINED_FULL="undetermined sequence position"
- See Also:
- Constant Field Values
-
UNDETERMINED_MI
static final String UNDETERMINED_MI
ConstantUNDETERMINED_MI="MI:0339"
- See Also:
- Constant Field Values
-
N_TERMINAL_RANGE
static final String N_TERMINAL_RANGE
ConstantN_TERMINAL_RANGE="n-term range"
- See Also:
- Constant Field Values
-
N_TERMINAL_RANGE_FULL
static final String N_TERMINAL_RANGE_FULL
ConstantN_TERMINAL_RANGE_FULL="n-terminal range"
- See Also:
- Constant Field Values
-
N_TERMINAL_RANGE_MI
static final String N_TERMINAL_RANGE_MI
ConstantN_TERMINAL_RANGE_MI="MI:1040"
- See Also:
- Constant Field Values
-
C_TERMINAL_RANGE
static final String C_TERMINAL_RANGE
ConstantC_TERMINAL_RANGE="c-term range"
- See Also:
- Constant Field Values
-
C_TERMINAL_RANGE_FULL
static final String C_TERMINAL_RANGE_FULL
ConstantC_TERMINAL_RANGE_FULL="c-terminal range"
- See Also:
- Constant Field Values
-
C_TERMINAL_RANGE_MI
static final String C_TERMINAL_RANGE_MI
ConstantC_TERMINAL_RANGE_MI="MI:1039"
- See Also:
- Constant Field Values
-
RAGGED_N_TERMINAL
static final String RAGGED_N_TERMINAL
ConstantRAGGED_N_TERMINAL="ragged n-terminus"
- See Also:
- Constant Field Values
-
RAGGED_N_TERMINAL_MI
static final String RAGGED_N_TERMINAL_MI
ConstantRAGGED_N_TERMINAL_MI="MI:0341"
- See Also:
- Constant Field Values
-
N_TERMINAL
static final String N_TERMINAL
ConstantN_TERMINAL="n-terminal"
- See Also:
- Constant Field Values
-
N_TERMINAL_FULL
static final String N_TERMINAL_FULL
ConstantN_TERMINAL_FULL="n-terminal position"
- See Also:
- Constant Field Values
-
N_TERMINAL_MI
static final String N_TERMINAL_MI
ConstantN_TERMINAL_MI="MI:0340"
- See Also:
- Constant Field Values
-
C_TERMINAL
static final String C_TERMINAL
ConstantC_TERMINAL="c-terminal"
- See Also:
- Constant Field Values
-
C_TERMINAL_FULL
static final String C_TERMINAL_FULL
ConstantC_TERMINAL_FULL="c-terminal position"
- See Also:
- Constant Field Values
-
C_TERMINAL_MI
static final String C_TERMINAL_MI
ConstantC_TERMINAL_MI="MI:0334"
- See Also:
- Constant Field Values
-
CERTAIN
static final String CERTAIN
ConstantCERTAIN="certain"
- See Also:
- Constant Field Values
-
CERTAIN_FULL
static final String CERTAIN_FULL
ConstantCERTAIN_FULL="certain sequence position"
- See Also:
- Constant Field Values
-
CERTAIN_MI
static final String CERTAIN_MI
ConstantCERTAIN_MI="MI:0335"
- See Also:
- Constant Field Values
-
RANGE
static final String RANGE
ConstantRANGE="range"
- See Also:
- Constant Field Values
-
RANGE_FULL
static final String RANGE_FULL
ConstantRANGE_FULL="range"
- See Also:
- Constant Field Values
-
RANGE_MI
static final String RANGE_MI
ConstantRANGE_MI="MI:0338"
- See Also:
- Constant Field Values
-
GREATER_THAN
static final String GREATER_THAN
ConstantGREATER_THAN="greater-than"
- See Also:
- Constant Field Values
-
GREATER_THAN_FULL
static final String GREATER_THAN_FULL
ConstantGREATER_THAN_FULL="greater-than"
- See Also:
- Constant Field Values
-
GREATER_THAN_MI
static final String GREATER_THAN_MI
ConstantGREATER_THAN_MI="MI:0336"
- See Also:
- Constant Field Values
-
LESS_THAN
static final String LESS_THAN
ConstantLESS_THAN="less-than"
- See Also:
- Constant Field Values
-
LESS_THAN_FULL
static final String LESS_THAN_FULL
ConstantLESS_THAN_FULL="less-than"
- See Also:
- Constant Field Values
-
LESS_THAN_MI
static final String LESS_THAN_MI
ConstantLESS_THAN_MI="MI:0337"
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatus
CvTerm getStatus()
The range status is a controlled vocabulary term which cannot be null. It gives more information about the position. Ex: 'n-terminal', 'certain', 'range', 'greater than', 'less than', 'c-terminal', 'undetermined', ...- Returns:
- the status
-
getStart
long getStart()
The start position in the molecule sequence. If the position is an exact sequence position, then start == end. It is possible that a Position represents an interval and in this case, start <= end.- Returns:
- start position. 0 if the position is undetermined, n-terminal range or c-terminal range
-
getEnd
long getEnd()
The end position in the molecule sequence. If the position is an exact sequence position, then start == end. It is possible that a Position represents an interval and in this case, start <= end.- Returns:
- end position. 0 if the position is undetermined, n-terminal range or c-terminal range
-
isPositionUndetermined
boolean isPositionUndetermined()
isPositionUndetermined
- Returns:
- true if the numerical positions exist, false if the range is undetermined, c-terminal range or n-terminal range because we cannot provide numerical positions. In the last case, the methods getStart and getEnd should return 0.
-
-