edu.iastate.metnet.hivemindService
Class RequestGene

java.lang.Object
  extended by edu.iastate.metnet.hivemindService.RequestGene

public class RequestGene
extends java.lang.Object

Class used to request gene data. This is not a HiveMind service. Rather, it is a class that is used by RequestGeneData service

Author:
Mohammed Alabsi

Method Summary
 java.lang.String[] getAttributeList()
          Returns the list of attributes that exist in a gene.
 java.util.ArrayList<Gene> getGeneByID(java.lang.String IdString)
          Search a gene by ID.
 java.util.ArrayList<Gene> getGeneByID(java.lang.String IdString, java.util.ArrayList<java.lang.String> requestedAttributeList)
          Searches for genes by ID, and populates only the required attributes
static RequestGene getInstance()
          used to get instance of this class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RequestGene getInstance()
used to get instance of this class

Returns:

getGeneByID

public java.util.ArrayList<Gene> getGeneByID(java.lang.String IdString)
Search a gene by ID. Method populates all attributes for the returned gene

Parameters:
IdString -
Returns:

getGeneByID

public java.util.ArrayList<Gene> getGeneByID(java.lang.String IdString,
                                             java.util.ArrayList<java.lang.String> requestedAttributeList)
Searches for genes by ID, and populates only the required attributes

Parameters:
IdString -
requestedAttributeList -
Returns:

getAttributeList

public java.lang.String[] getAttributeList()
Returns the list of attributes that exist in a gene.

Returns: