edu.iastate.metnet.hivemindService
Class RequestGeneData
java.lang.Object
edu.iastate.metnet.hivemindService.RequestGeneData
public class RequestGeneData
- extends java.lang.Object
HiveMind service searches for gene information given the gene ID. This class
uses class RequestGene's methods
- Author:
- Mohammed Alabsi
|
Method Summary |
java.util.Collection |
getAllLocationList()
|
java.util.ArrayList<java.lang.String> |
getAttributeList()
|
java.util.ArrayList<Gene> |
getGeneByID(java.lang.String IdString)
Method returns a Gene obj containing all attributes data |
java.util.ArrayList<Gene> |
getGeneByID(java.lang.String IdString,
java.util.ArrayList<java.lang.String> requestedAttributeList)
Method gets a gene id and list of attributes to be retreieved from DB and
returns Gene obj populated with found data if any. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestGeneData
public RequestGeneData()
getGeneByID
public java.util.ArrayList<Gene> getGeneByID(java.lang.String IdString)
- Method returns a Gene obj containing all attributes data
- Parameters:
IdString -
- Returns:
- ArrayList
getGeneByID
public java.util.ArrayList<Gene> getGeneByID(java.lang.String IdString,
java.util.ArrayList<java.lang.String> requestedAttributeList)
- Method gets a gene id and list of attributes to be retreieved from DB and
returns Gene obj populated with found data if any.
- Parameters:
IdString - requestedAttributeList -
- Returns:
- ArrayList
getAttributeList
public java.util.ArrayList<java.lang.String> getAttributeList()
- Returns:
- ArrayList of attributes included in Gene obj
getAllLocationList
public java.util.Collection getAllLocationList()
- Returns:
- collection of all locations in MetNetDB