jadex.swing.sequence
Class CloneFetcher
java.lang.Object
|
+--jadex.swing.sequence.CloneFetcher
- Direct Known Subclasses:
- AceDBCloneFetcher, FileCloneFetcher
- public abstract class CloneFetcher
- extends java.lang.Object
This class is used to get clone data from a datasource, such as AceDB or local files.
Field Summary |
protected static java.lang.String |
link
|
Method Summary |
void |
fetchClone()
The main method to be called by Model or other class to get the data. |
java.util.Map |
getClone()
Get the clones. |
protected void |
getClone(java.lang.String str)
Parse clone information from String. |
abstract java.lang.String |
getCloneInfor()
Get the clone information for the Sequence_map into a String. |
java.util.Map |
getContig()
Get the contigs in this Sequence_maps. |
java.lang.String |
getMapName()
Get the name of the Sequence_map to be displayed. |
MapRange |
getMapScale()
Get the total MapRange for the Sequence_map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
link
protected static final java.lang.String link
CloneFetcher
public CloneFetcher()
fetchClone
public void fetchClone()
- The main method to be called by Model or other class to get the data.
This method should be called explicitly. This is a template method based on
the book, Design Patterns.
getCloneInfor
public abstract java.lang.String getCloneInfor()
- Get the clone information for the Sequence_map into a String.
- Returns:
- a String containing all clone information.
getClone
protected void getClone(java.lang.String str)
- Parse clone information from String.
- Parameters:
str
- the String containing all clone information.
getClone
public java.util.Map getClone()
- Get the clones. Please note that the returned value is a Map.
- Returns:
- the clones to be displayed.
getMapName
public java.lang.String getMapName()
- Get the name of the Sequence_map to be displayed.
- Returns:
- the name of the Sequence_map to be displayed.
getContig
public java.util.Map getContig()
- Get the contigs in this Sequence_maps.
- Returns:
- the contigs. The returned is a map.
getMapScale
public MapRange getMapScale()
- Get the total MapRange for the Sequence_map.
- Returns:
- the MapRange of the Sequence_map.