Interface Position

    • 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.