object.hts
Class Hts_sample

java.lang.Object
  extended by object.hts.Hts_sample
All Implemented Interfaces:
java.io.Serializable

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

Description
Hts_sample Object
Infos : KLB - IPMC - 05/2009

See Also:
Serialized Form

Field Summary
private  java.util.Date date_attribution
          Attribution Date for this Hts_sample Object
private  Hts_minseqe hts_minseqe
          Hts_minseqe of this Hts_sample object
private  int hts_order_id
          ID of Hts_order Object for this Hts_sample Object
private  int hts_run_id
          ID of Hts_run Object for this Hts_sample Object
private  int hts_sample_id
          ID of Hts_sample object
private  java.lang.String hts_sample_ref
          Reference of Hts_sample object
private  Hts_type hts_type
          Hts_type of this Hts_sample object
private  boolean is_active
          True if this Hts_sample Object is active
private  boolean is_analysis
          True if a hts_result is referenced as a analysis pipeline for this Hts_sample Object
private  boolean is_matching
          True if a hts_result is referenced as a matching pipeline for this Hts_sample Object
private  boolean is_minseqe
          True if a hts_minseqe is referenced for this Hts_sample Object
private  boolean is_quantif
          True if hts_result Object of all type matchig, reads and analysis pipelines are referenced for this Hts_sample Object
private  boolean is_reads
          True if a hts_result is referenced as a reads pipeline for this Hts_sample Object
private  User user
          User owner of this Hts_sample Object
private  java.util.Vector vectorHts_result
          Hts_result Vector for this Hts_sample Object
 
Constructor Summary
Hts_sample()
          Default constructor
Hts_sample(int hts_sample_id)
          Constructs a Hts_sample object from Hts_sample ID
Hts_sample(java.lang.String hts_sample_ref)
          Constructs a Hts_sample object from Hts_sample ref
 
Method Summary
 boolean getCheckIfIsAnOption(java.lang.String hts_pipeline_type_required)
           
 java.util.Date getDate_attribution()
          Attribution Date for this Hts_sample Object
 Hts_minseqe getHts_minseqe()
           
 int getHts_order_id()
          ID of Hts_order Object for this Hts_sample Object
 int getHts_run_id()
          ID of Hts_run Object for this Hts_sample Object
 int getHts_sample_id()
          ID of Hts_sample object
 java.lang.String getHts_sample_ref()
          Reference of Hts_sample object
 Hts_type getHts_type()
          Hts_type of this Hts_run object
 boolean getIs_active()
          True if this Hts_sample Object is active
 boolean getIs_analysis()
          True if a hts_result is referenced as a analysis pipeline for this Hts_sample Object
 boolean getIs_matching()
          True if a hts_result is referenced as a matching pipeline for this Hts_sample Object
 boolean getIs_minseqe()
          True if a Hts_minseqe is referenced for this Hts_sample Object
 boolean getIs_quantif()
          True if hts_result Object of all type matchig, reads and analysis pipelines are referenced for this Hts_sample Object
 boolean getIs_reads()
          True if a hts_result is referenced as a reads pipeline for this Hts_sample Object
 java.lang.String getLabel()
           
 java.util.Hashtable getLinks()
           
 User getUser()
          User owner of this Hts_sample Object
 java.util.Vector getVectorHts_result()
          Hts_result(s) Vector for this Hts_sample Object
 boolean save()
          This function save Hts_sample Object into database.
 void setDate_attribution(java.util.Date date_attribution)
           
 void setHts_minseqe(Hts_minseqe hts_minseqe)
           
 void setHts_order_id(int hts_order_id)
           
 void setHts_run_id(int hts_run_id)
           
 void setHts_sample_id(int hts_sample_id)
           
 void setHts_sample_ref(java.lang.String hts_sample_ref)
           
 void setHts_type(Hts_type hts_type)
           
 void setIs_active(boolean is_active)
           
 void setIs_analysis(boolean is_analysis)
           
 void setIs_matching(boolean is_matching)
           
 void setIs_minseqe(boolean is_minseqe)
           
 void setIs_quantif(boolean is_quantif)
           
 void setIs_reads(boolean is_reads)
           
 void setUser(User user)
           
 void setVectorHts_result(java.util.Vector vectorHts_result)
           
 void switchState()
          This function switch is_active boolean state of this Hts_sample Object into database.
 void update()
          This function update Hts_sample Object into database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hts_sample_id

private int hts_sample_id
ID of Hts_sample object


hts_sample_ref

private java.lang.String hts_sample_ref
Reference of Hts_sample object


hts_type

private Hts_type hts_type
Hts_type of this Hts_sample object


hts_order_id

private int hts_order_id
ID of Hts_order Object for this Hts_sample Object


hts_run_id

private int hts_run_id
ID of Hts_run Object for this Hts_sample Object


date_attribution

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


user

private User user
User owner of this Hts_sample Object


is_active

private boolean is_active
True if this Hts_sample Object is active


vectorHts_result

private java.util.Vector vectorHts_result
Hts_result Vector for this Hts_sample Object


is_minseqe

private boolean is_minseqe
True if a hts_minseqe is referenced for this Hts_sample Object


hts_minseqe

private Hts_minseqe hts_minseqe
Hts_minseqe of this Hts_sample object


is_quantif

private boolean is_quantif
True if hts_result Object of all type matchig, reads and analysis pipelines are referenced for this Hts_sample Object


is_reads

private boolean is_reads
True if a hts_result is referenced as a reads pipeline for this Hts_sample Object


is_analysis

private boolean is_analysis
True if a hts_result is referenced as a analysis pipeline for this Hts_sample Object


is_matching

private boolean is_matching
True if a hts_result is referenced as a matching pipeline for this Hts_sample Object

Constructor Detail

Hts_sample

public Hts_sample()
Default constructor


Hts_sample

public Hts_sample(int hts_sample_id)
Constructs a Hts_sample object from Hts_sample ID

Parameters:
hts_sample_id - ID of existing Hts_sample

Hts_sample

public Hts_sample(java.lang.String hts_sample_ref)
Constructs a Hts_sample object from Hts_sample ref

Parameters:
hts_sample_ref - ref of existing Hts_sample
Method Detail

getHts_sample_id

public int getHts_sample_id()
ID of Hts_sample object


setHts_sample_id

public void setHts_sample_id(int hts_sample_id)

getHts_sample_ref

public java.lang.String getHts_sample_ref()
Reference of Hts_sample object


setHts_sample_ref

public void setHts_sample_ref(java.lang.String hts_sample_ref)

getHts_type

public Hts_type getHts_type()
Hts_type of this Hts_run object


setHts_type

public void setHts_type(Hts_type hts_type)

getHts_order_id

public int getHts_order_id()
ID of Hts_order Object for this Hts_sample Object


setHts_order_id

public void setHts_order_id(int hts_order_id)

getHts_run_id

public int getHts_run_id()
ID of Hts_run Object for this Hts_sample Object


setHts_run_id

public void setHts_run_id(int hts_run_id)

getDate_attribution

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


setDate_attribution

public void setDate_attribution(java.util.Date date_attribution)

getUser

public User getUser()
User owner of this Hts_sample Object


setUser

public void setUser(User user)

getIs_active

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


setIs_active

public void setIs_active(boolean is_active)

getVectorHts_result

public java.util.Vector getVectorHts_result()
Hts_result(s) Vector for this Hts_sample Object


setVectorHts_result

public void setVectorHts_result(java.util.Vector vectorHts_result)

getIs_minseqe

public boolean getIs_minseqe()
True if a Hts_minseqe is referenced for this Hts_sample Object


setIs_minseqe

public void setIs_minseqe(boolean is_minseqe)

getHts_minseqe

public Hts_minseqe getHts_minseqe()

setHts_minseqe

public void setHts_minseqe(Hts_minseqe hts_minseqe)

getIs_quantif

public boolean getIs_quantif()
True if hts_result Object of all type matchig, reads and analysis pipelines are referenced for this Hts_sample Object


setIs_quantif

public void setIs_quantif(boolean is_quantif)

getIs_reads

public boolean getIs_reads()
True if a hts_result is referenced as a reads pipeline for this Hts_sample Object


setIs_reads

public void setIs_reads(boolean is_reads)

getIs_analysis

public boolean getIs_analysis()
True if a hts_result is referenced as a analysis pipeline for this Hts_sample Object


setIs_analysis

public void setIs_analysis(boolean is_analysis)

getIs_matching

public boolean getIs_matching()
True if a hts_result is referenced as a matching pipeline for this Hts_sample Object


setIs_matching

public void setIs_matching(boolean is_matching)

save

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


update

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


switchState

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


getLinks

public java.util.Hashtable getLinks()

getLabel

public java.lang.String getLabel()

getCheckIfIsAnOption

public boolean getCheckIfIsAnOption(java.lang.String hts_pipeline_type_required)