|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.seq.RemoteFeature.Region
public static final class RemoteFeature.Region
A tuple of Location and sequence ID.
For local locations, the Region is just a wrapper for a Location. For remote Regions, it also contains a String representing the Sequence ID of the remote Location.
| Constructor Summary | |
|---|---|
RemoteFeature.Region(Location location,
String seqID,
boolean isRemote)
Create a new Region. |
|
| Method Summary | |
|---|---|
Location |
getLocation()
Retrieve the Location of the Region. |
String |
getSeqID()
Return the remote Sequence ID if this Region is on another Sequence (isRemote will return true), null otherwise. |
boolean |
isRemote()
Return whether this Region is remote or local. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteFeature.Region(Location location,
String seqID,
boolean isRemote)
location - the Location of the RegionseqID - the ID of the Sequence containing the Location, or null if
it is a local Region| Method Detail |
|---|
public Location getLocation()
public String getSeqID()
public boolean isRemote()
If this returns true, getSeqID() will return the ID of the remote sequence. Otherwise, getSeqID() will return null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||