public static final class RemoteFeature.Region extends Object
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 and Description |
---|
RemoteFeature.Region(Location location,
String seqID,
boolean isRemote)
Create a new Region.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 Regionpublic 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.
Copyright © 2014 BioJava. All rights reserved.