object.microarray
Class Microarray

java.lang.Object
  extended by object.microarray.Microarray
All Implemented Interfaces:
java.io.Serializable

public class Microarray
extends java.lang.Object
implements java.io.Serializable

Description
Microarray Object
Infos : KLB - IPMC - 01/2004

See Also:
Serialized Form

Field Summary
private  java.lang.String arrayQuality
           
private  java.lang.String batchNumber
          batchNumber of the Microarray Object
private  java.util.Date date_attribution
          Attribution Date for this Microarray Object
private  java.util.Date date_expiration
          Expiration Date for this Microarray Object
private  Hybridization hybridization
          Hybridization Object for this Microarray Object
private  boolean is_active
          True if this Microarray Object is active
private  boolean is_experiment
          True if a hybridization is referenced for this Microarray Object
private  boolean is_normalized
          True if this Microarray Object is normalized via a biostats Object
private  boolean is_quantif
          True if a scan is referenced for this Microarray Object
private  boolean is_viewable
          True if a scan and a hybridization are referenced for this Microarray Object
private  int microarray_id
          ID of Microarray object
private  int microarray_order_id
          Microarray_project_type Object for this Microarray Object
private  Microarray_project_type microarray_project_type
          Microarray_project_type Object for this Microarray Object
private  Microarray_type microarray_type
          Microarray_type Object for this Microarray Object
private  int ordre_id
          ordre_id of this Microarray Object in the Spotting Object
private  java.lang.String short_slide_code
          Short slide code of the Microarray Object
private  java.lang.String slide_code
          Code of the Microarray Object
private  int spotting_id
          Spotting Object for this Microarray Object
private  User user
          User owner of this Microarray Object
private  java.util.Vector vectorScan
          Scan(s) Vector for this Microarray Object
 
Constructor Summary
Microarray()
          Default constructor
Microarray(int microarray_id)
          Constructs a Microarray object from Microarray ID
Microarray(java.lang.String slide_code)
          Constructs a Microarray object from Microarray slide_code
 
Method Summary
 java.lang.String getArrayQuality()
          arrayQuality
 java.lang.String getBatchNumber()
          batchNumber of the Microarray Object
 java.util.Date getDate_attribution()
          Attribution Date for this Microarray Object
 java.util.Date getDate_expiration()
          Expiration Date for this Microarray Object
 Hybridization getHybridization()
          Hybridization Object for this Microarray Object
 boolean getIs_active()
          True if this Microarray Object is active
 boolean getIs_experiment()
          True if a hybridization is referenced for this Microarray Object
 boolean getIs_normalized()
          True if this Microarray Object is active
 boolean getIs_quantif()
          True if a scan is referenced for this Microarray Object
 boolean getIs_viewable()
          True if a scan and a hybridization are referenced for this Microarray Object
 java.lang.String getLabels()
           
 java.util.Hashtable getLinks()
           
 int getMicroarray_id()
          ID of Microarray object
 int getMicroarray_order_id()
          Microarray_project_type Object for this Microarray Object
 Microarray_project_type getMicroarray_project_type()
          Microarray_project_type Object for this Microarray Object
 Microarray_type getMicroarray_type()
          Microarray_type Object for this Microarray Object
 int getOrdre_id()
          ordre_id of this Microarray Object in the Spotting Object
 java.lang.String getShort_slide_code()
          Short slide code of the Microarray Object
 java.lang.String getSlide_code()
          Code of the Microarray Object
 int getSpotting_id()
          Spotting Object for this Microarray Object
 User getUser()
          User owner of this Microarray Object
 java.util.Vector getVectorScan()
          Scan(s) Vector for this Microarray Object
 void reloadScan()
          This function reload this.vectorScan from database.
 void removeScan(int i)
          This function remove scan from this.vectorScan at index i received.
 boolean save()
          This function save Microarray Object into database.
 void setArrayQuality(java.lang.String arrayQuality)
           
 void setBatchNumber(java.lang.String batchNumber)
           
 void setDate_attribution(java.util.Date date_attribution)
           
 void setDate_expiration(java.util.Date date_expiration)
           
 void setHybridization(Hybridization hybridization)
           
 void setIs_active(boolean is_active)
           
 void setIs_experiment(boolean is_experiment)
           
 void setIs_normalized(boolean is_normalized)
           
 void setIs_quantif(boolean is_quantif)
           
 void setIs_viewable(boolean is_viewable)
           
 void setMicroarray_id(int microarray_id)
           
 void setMicroarray_order_id(int microarray_order_id)
           
 void setMicroarray_project_type(Microarray_project_type microarray_project_type)
           
 void setMicroarray_type(Microarray_type microarray_type)
           
 void setOrdre_id(int ordre_id)
           
 void setShort_slide_code(java.lang.String short_slide_code)
           
 void setSlide_code(java.lang.String slide_code)
           
 void setSpotting_id(int spotting_id)
           
 void setUser(User user)
           
 void setVectorScan(java.util.Vector vectorScan)
           
 void switchState()
          This function switch is_active boolean state of this Microarray Object into database.
 void update()
          This function update Microarray Object into database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

microarray_id

private int microarray_id
ID of Microarray object


microarray_type

private Microarray_type microarray_type
Microarray_type Object for this Microarray Object


microarray_project_type

private Microarray_project_type microarray_project_type
Microarray_project_type Object for this Microarray Object


microarray_order_id

private int microarray_order_id
Microarray_project_type Object for this Microarray Object


spotting_id

private int spotting_id
Spotting Object for this Microarray Object


ordre_id

private int ordre_id
ordre_id of this Microarray Object in the Spotting Object


slide_code

private java.lang.String slide_code
Code of the Microarray Object


short_slide_code

private java.lang.String short_slide_code
Short slide code of the Microarray Object


batchNumber

private java.lang.String batchNumber
batchNumber of the Microarray Object


date_expiration

private java.util.Date date_expiration
Expiration Date for this Microarray Object


date_attribution

private java.util.Date date_attribution
Attribution Date for this Microarray Object


user

private User user
User owner of this Microarray Object


vectorScan

private java.util.Vector vectorScan
Scan(s) Vector for this Microarray Object


hybridization

private Hybridization hybridization
Hybridization Object for this Microarray Object


is_quantif

private boolean is_quantif
True if a scan is referenced for this Microarray Object


is_experiment

private boolean is_experiment
True if a hybridization is referenced for this Microarray Object


is_viewable

private boolean is_viewable
True if a scan and a hybridization are referenced for this Microarray Object


is_active

private boolean is_active
True if this Microarray Object is active


is_normalized

private boolean is_normalized
True if this Microarray Object is normalized via a biostats Object


arrayQuality

private java.lang.String arrayQuality
Constructor Detail

Microarray

public Microarray()
Default constructor


Microarray

public Microarray(int microarray_id)
Constructs a Microarray object from Microarray ID

Parameters:
microarray_id - ID of existing Microarray
See Also:
Microarray_type, Microarray_project_type, User, Scan, Hybridization

Microarray

public Microarray(java.lang.String slide_code)
Constructs a Microarray object from Microarray slide_code

Parameters:
slide_code - Slide code of an existing Microarray Object
See Also:
Microarray_type, Microarray_project_type, User, Scan, Hybridization
Method Detail

getMicroarray_id

public int getMicroarray_id()
ID of Microarray object


setMicroarray_id

public void setMicroarray_id(int microarray_id)

getMicroarray_type

public Microarray_type getMicroarray_type()
Microarray_type Object for this Microarray Object


setMicroarray_type

public void setMicroarray_type(Microarray_type microarray_type)

getMicroarray_project_type

public Microarray_project_type getMicroarray_project_type()
Microarray_project_type Object for this Microarray Object


setMicroarray_project_type

public void setMicroarray_project_type(Microarray_project_type microarray_project_type)

getMicroarray_order_id

public int getMicroarray_order_id()
Microarray_project_type Object for this Microarray Object


setMicroarray_order_id

public void setMicroarray_order_id(int microarray_order_id)

getSpotting_id

public int getSpotting_id()
Spotting Object for this Microarray Object


setSpotting_id

public void setSpotting_id(int spotting_id)

getOrdre_id

public int getOrdre_id()
ordre_id of this Microarray Object in the Spotting Object


setOrdre_id

public void setOrdre_id(int ordre_id)

getSlide_code

public java.lang.String getSlide_code()
Code of the Microarray Object


setSlide_code

public void setSlide_code(java.lang.String slide_code)

getShort_slide_code

public java.lang.String getShort_slide_code()
Short slide code of the Microarray Object


setShort_slide_code

public void setShort_slide_code(java.lang.String short_slide_code)

getBatchNumber

public java.lang.String getBatchNumber()
batchNumber of the Microarray Object


setBatchNumber

public void setBatchNumber(java.lang.String batchNumber)

getDate_expiration

public java.util.Date getDate_expiration()
Expiration Date for this Microarray Object


setDate_expiration

public void setDate_expiration(java.util.Date date_expiration)

getDate_attribution

public java.util.Date getDate_attribution()
Attribution Date for this Microarray Object


setDate_attribution

public void setDate_attribution(java.util.Date date_attribution)

getUser

public User getUser()
User owner of this Microarray Object


setUser

public void setUser(User user)

getVectorScan

public java.util.Vector getVectorScan()
Scan(s) Vector for this Microarray Object


setVectorScan

public void setVectorScan(java.util.Vector vectorScan)

getHybridization

public Hybridization getHybridization()
Hybridization Object for this Microarray Object


setHybridization

public void setHybridization(Hybridization hybridization)

getIs_quantif

public boolean getIs_quantif()
True if a scan is referenced for this Microarray Object


setIs_quantif

public void setIs_quantif(boolean is_quantif)

getIs_experiment

public boolean getIs_experiment()
True if a hybridization is referenced for this Microarray Object


setIs_experiment

public void setIs_experiment(boolean is_experiment)

getIs_viewable

public boolean getIs_viewable()
True if a scan and a hybridization are referenced for this Microarray Object


setIs_viewable

public void setIs_viewable(boolean is_viewable)

getIs_active

public boolean getIs_active()
True if this Microarray Object is active


setIs_active

public void setIs_active(boolean is_active)

getIs_normalized

public boolean getIs_normalized()
True if this Microarray Object is active


setIs_normalized

public void setIs_normalized(boolean is_normalized)

getArrayQuality

public java.lang.String getArrayQuality()
arrayQuality


setArrayQuality

public void setArrayQuality(java.lang.String arrayQuality)

reloadScan

public void reloadScan()
This function reload this.vectorScan from database.

See Also:
Scan

removeScan

public void removeScan(int i)
This function remove scan from this.vectorScan at index i received.

Parameters:
i - index of scan in vectorScan to remove

update

public void update()
This function update Microarray Object into database.

See Also:
Microarray_type, Microarray_project_type, User

save

public boolean save()
This function save Microarray Object into database.

See Also:
Microarray_type, Microarray_project_type

switchState

public void switchState()
This function switch is_active boolean state of this Microarray Object into database.


getLabels

public java.lang.String getLabels()

getLinks

public java.util.Hashtable getLinks()