|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectobject.common.Attribution
public class Attribution
Description
Attribution Object
Infos : KLB - IPMC - 02/2004
Order,
Serialized Form| Field Summary | |
|---|---|
private java.lang.String |
currentReference
Referrence of microarray or hts_sample |
private java.util.Date |
date_attribution
Attribution Date |
private java.lang.String |
listing
Listing of microarrays or Hts_sample references in attribution |
private java.lang.String |
message
Information message displayed in JSP |
private int |
nb
Number of arrays or hts samples to attribute to the Order Object |
private Order |
order
Order Object in microarray attribution |
private int |
size_of_support
|
private boolean |
stepOneDone
Flag set to true when step one is done |
private java.util.Vector |
vectorHts_sample
Vector of Hts_sample Object in attribution |
private java.util.Vector |
vectorMicroarray
Vector of Microarray Object in attribution |
| Constructor Summary | |
|---|---|
Attribution()
Default constructor |
|
| Method Summary | |
|---|---|
void |
check()
This function check if the last microarray slide_code scanned and stored in microarrayRef attribute is a good Microarray to be attributed to this Order : - check if it exists in the database - check if it has not been scanned before - check if Microarray project type is ok whith this Order |
java.lang.String |
getCurrentReference()
Referrence of microarray or hts_sample |
java.util.Date |
getDate_attribution()
Attribution Date |
java.lang.String |
getListing()
Listing of microarrays or Hts_sample references in attribution |
java.lang.String |
getMessage()
Information message displayed in JSP |
int |
getNb()
Number of arrays or hts samples to attribute to the Order Object |
Order |
getOrder()
Order Object in microarray attribution |
int |
getSize_of_support()
Number of arrays or hts samples currently to attribute to the Order Object |
boolean |
getStepOneDone()
Flag set to true when step one is done |
java.util.Vector |
getVectorHts_sample()
Vector of Hts_sample Object in attribution |
java.util.Vector |
getVectorMicroarray()
Vector of Microarray Object in attribution |
void |
loadOtherFiles(java.lang.String fileName,
User user)
This function execute a complete attribution process from a pre-formatted file, file which must have .medlab extension. |
void |
save(User user)
This function save the attribution process concerning this Attribution Object - update each Microarray Object - if the microarray attribution for this Order Object is over update the Order |
void |
setCurrentReference(java.lang.String currentReference)
|
void |
setDate_attribution(java.util.Date date_attribution)
|
void |
setListing(java.lang.String listing)
|
void |
setMessage(java.lang.String message)
|
void |
setNb(int nb)
|
void |
setOrder(Order order)
|
void |
setStepOneDone(boolean stepOneDone)
|
void |
setVectorHts_sample(java.util.Vector vectorHts_sample)
|
void |
setVectorMicroarray(java.util.Vector vectorMicroarray)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Order order
private int nb
private java.util.Date date_attribution
private java.lang.String listing
private java.util.Vector vectorMicroarray
private java.util.Vector vectorHts_sample
private java.lang.String currentReference
private boolean stepOneDone
private java.lang.String message
private int size_of_support
| Constructor Detail |
|---|
public Attribution()
| Method Detail |
|---|
public Order getOrder()
public void setOrder(Order order)
public int getNb()
public void setNb(int nb)
public java.util.Date getDate_attribution()
public void setDate_attribution(java.util.Date date_attribution)
public java.util.Vector getVectorMicroarray()
public void setVectorMicroarray(java.util.Vector vectorMicroarray)
public java.util.Vector getVectorHts_sample()
public void setVectorHts_sample(java.util.Vector vectorHts_sample)
public java.lang.String getListing()
public void setListing(java.lang.String listing)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getCurrentReference()
public void setCurrentReference(java.lang.String currentReference)
public boolean getStepOneDone()
public void setStepOneDone(boolean stepOneDone)
public int getSize_of_support()
public void check()
Microarray,
Microarray.Microarray(String)public void save(User user)
user - User who make this attribution process --> save in a Journal eventProject_order,
Project_order.Project_order(int),
Microarray,
Microarray.update(),
Order,
Order.save(),
Order.sendEmail()
public void loadOtherFiles(java.lang.String fileName,
User user)
fileName - String path of the file uploaduser - User Object who make this attribution process --> save in a Journal eventMicroarray,
Microarray.Microarray(int),
Microarray.update(),
Order,
Order.save(),
Order.sendEmail()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||