|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectobject.common.GeneCart
public class GeneCart
Description
GeneCart Objects
Infos : KLB - IPMC - 03/2007
| Field Summary | |
|---|---|
private java.lang.String |
description
Description reference for this GeneCart Object |
private int |
genecart_id
ID of GeneCart Object |
private java.util.Hashtable |
hash
hashtable containing Symbol and Oligo IDs |
private java.lang.String[] |
listing
Listing of the symbols or oligos IDs for this GeneCart Object |
private User |
user
User owner of this GeneCart Object |
| Constructor Summary | |
|---|---|
GeneCart()
Default constructor |
|
GeneCart(int genecart_id)
Constructs a GeneCart Object from a GeneCart ID |
|
GeneCart(User user)
Default constructor |
|
| Method Summary | |
|---|---|
void |
addToCart(java.lang.String symbol)
This function add a symbol or IDs to the gene Cart from symbol attribute of DisplayParams Object |
void |
addToCart(java.lang.String[] symbol)
This function add all symbols / IDs to misting parameter from String[] symbol received |
boolean |
checkIsNotInCart(java.lang.String symbol)
This function check if symbol or ID to add to gene cart is already in gene cart |
void |
deleteFromCart(java.lang.String symbol)
This function delete a symbol or IDs of the String[] listing |
java.lang.String |
getDescription()
Description reference for this GeneCart Object |
int |
getGenecart_id()
ID of GeneCart Object |
java.util.Hashtable |
getHash()
Listing of the symbols or oligos IDs for this GeneCart Object |
java.lang.String[] |
getListing()
Listing of the symbols or oligos IDs for this GeneCart Object |
User |
getUser()
User owner of this GeneCart Object |
void |
resetCart()
This function reset this GeneCart Object |
boolean |
save()
This function save or update this GeneCart Object into database |
void |
setDescription(java.lang.String description)
|
void |
setGenecart_id(int genecart_id)
|
void |
setHash(java.util.Hashtable hash)
|
void |
setListing(java.lang.String[] listing)
|
void |
setUser(User user)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int genecart_id
private User user
private java.lang.String description
private java.lang.String[] listing
private java.util.Hashtable hash
| Constructor Detail |
|---|
public GeneCart()
public GeneCart(User user)
public GeneCart(int genecart_id)
genecart_id - ID of an existing GeneCart Object| Method Detail |
|---|
public int getGenecart_id()
public void setGenecart_id(int genecart_id)
public User getUser()
public void setUser(User user)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String[] getListing()
public void setListing(java.lang.String[] listing)
public java.util.Hashtable getHash()
public void setHash(java.util.Hashtable hash)
public void addToCart(java.lang.String symbol)
symbol - symbol attribute in displayParams to add to the gene cartcheckIsNotInCart(String)public void addToCart(java.lang.String[] symbol)
checkIsNotInCart(String)public void deleteFromCart(java.lang.String symbol)
symbol - symbol to deletepublic boolean checkIsNotInCart(java.lang.String symbol)
public void resetCart()
public boolean save()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||