Class Location
java.lang.Object
org.dishevelled.bio.protein.uniprot.Location
Location.
- Since:
- 2.5
- Author:
- Michael Heuer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Location
Create a new location with the specified begin and end positions.- Parameters:
begin- begin position, must not be nullend- end position, must not be nullsequence- location sequence, if any
-
Location
Create a new location with the specified position.- Parameters:
position- position, must not be nullsequence- location sequence, if any
-
-
Method Details
-
getBegin
Return the begin position for this location, may be null.- Returns:
- the begin position for this location, may be null
-
getEnd
Return the end position for this location, may be null.- Returns:
- the end position for this location, may be null
-
getPosition
Return the position for this location, may be null.- Returns:
- the position for this location, may be null
-
getSequence
Return the sequence for this location, may be null.- Returns:
- the sequence for this location, may be null
-