|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.molgenis.util.AbstractEntity
org.molgenis.omx.ngs.Project
@Entity public class Project
Project: A Project bundles information about one project..
| Field Summary | |
|---|---|
static String |
DECLARATIONNR
|
static String |
GCCANALYSIS
|
static String |
GCCINSTRUCTIONS
|
static String |
ID
|
static String |
LANEAMOUNT
|
static String |
PREPKIT
|
static String |
PREPKIT_PREPKITNAME
|
static String |
PROJECTANALIST
|
static String |
PROJECTANALIST_USERNAME
|
static String |
PROJECTCOMMENT
|
static String |
PROJECTCUSTOMER
|
static String |
PROJECTCUSTOMER_USERNAME
|
static String |
PROJECTNAME
|
static String |
PROJECTPLANNEDFINISHDATE
|
static String |
RESULTFILESDIR
|
static String |
RESULTSHIPPEDDATE
|
static String |
RESULTSHIPPEDTO
|
static String |
RESULTSHIPPEDTO_USERNAME
|
static String |
RESULTSHIPPEDUSER
|
static String |
RESULTSHIPPEDUSER_USERNAME
|
static String |
SAMPLEAMOUNT
|
static String |
SAMPLETYPE
|
static String |
SEQTYPE
|
| Constructor Summary | |
|---|---|
Project()
|
|
Project(Project copyMe)
copy constructor |
|
| Method Summary | |
|---|---|
Project |
create(Tuple tuple)
|
boolean |
equals(Object obj)
|
static List<? extends Project> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Project.class, org.molgenis.framework.db.QueryRule ... |
static Project |
findById(Database db,
Integer id)
|
static Project |
findByProjectName(Database db,
String projectName)
|
Object |
get(String name)
Generic getter. |
String |
getDeclarationNr()
Get the The Declaration Nr of a project.. |
String |
getDeclarationNr(Database db)
Deprecated. |
Vector<String> |
getFields()
|
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Project. |
String |
getFields(String sep)
Deprecated. |
Boolean |
getGccAnalysis()
Get the Indication if variant calling has to be performed on the experiment.. |
Boolean |
getGccAnalysis(Database db)
Deprecated. |
String |
getGccInstructions()
Get the Specific instructions for GCC members for the analysis.. |
String |
getGccInstructions(Database db)
Deprecated. |
Integer |
getId()
Get the automatically generated internal id, only for internal use.. |
String |
getIdField()
|
Object |
getIdValue()
|
List<String> |
getLabelFields()
|
Integer |
getLaneAmount()
Get the Number of lanes planned in this project. |
Integer |
getLaneAmount(Database db)
Deprecated. |
Integer |
getPrepKit_Id()
|
String |
getPrepKit_PrepKitName()
Get a pretty label PrepKitName for cross reference PrepKit to PrepKit.Id. |
PrepKit |
getPrepKit()
Get the Preparation kit used on the sample for this experiment. |
PrepKit |
getPrepKit(Database db)
Deprecated. |
List<Integer> |
getProjectAnalist_Id()
|
List<String> |
getProjectAnalist_UserName()
Get a pretty label for cross reference ProjectAnalist to NgsUser.Id. |
List<NgsUser> |
getProjectAnalist()
Get the The user which will be responsible for performing the wet-lab activities.. |
List<NgsUser> |
getProjectAnalist(Database db)
Deprecated. |
String |
getProjectComment()
Get the The comment of a project.. |
String |
getProjectComment(Database db)
Deprecated. |
Integer |
getProjectCustomer_Id()
|
String |
getProjectCustomer_UserName()
Get a pretty label UserName for cross reference ProjectCustomer to NgsUser.Id. |
NgsUser |
getProjectCustomer()
Get the The user who ordered the project.. |
NgsUser |
getProjectCustomer(Database db)
Deprecated. |
String |
getProjectName()
Get the The name of a project. |
String |
getProjectName(Database db)
Deprecated. |
Date |
getProjectPlannedFinishDate()
Get the The date a project is expected to be finished. |
Date |
getProjectPlannedFinishDate(Database db)
Deprecated. |
String |
getResultFilesDir()
Get the File location of the resulting files after analysis occurred (for file download purpose). |
String |
getResultFilesDir(Database db)
Deprecated. |
Date |
getResultShippedDate()
Get the The date the result of the experiment is shipped to the custumor.. |
Date |
getResultShippedDate(Database db)
Deprecated. |
Integer |
getResultShippedTo_Id()
|
String |
getResultShippedTo_UserName()
Get a pretty label UserName for cross reference ResultShippedTo to NgsUser.Id. |
NgsUser |
getResultShippedTo()
Get the Name of the person to which the data has been shipped.. |
NgsUser |
getResultShippedTo(Database db)
Deprecated. |
Integer |
getResultShippedUser_Id()
|
String |
getResultShippedUser_UserName()
Get a pretty label UserName for cross reference ResultShippedUser to NgsUser.Id. |
NgsUser |
getResultShippedUser()
Get the The user who shipped the date.. |
NgsUser |
getResultShippedUser(Database db)
Deprecated. |
Integer |
getSampleAmount()
Get the Number of samples planned in this project. |
Integer |
getSampleAmount(Database db)
Deprecated. |
String |
getSampleType()
Get the Type of sample. |
String |
getSampleType(Database db)
Deprecated. |
String |
getSampleTypeLabel()
Get tha label for enum SampleType. |
List<ValueLabel> |
getSampleTypeOptions()
SampleType is enum. |
String |
getSeqType()
Get the The type of sequencing.. |
String |
getSeqType(Database db)
Deprecated. |
String |
getSeqTypeLabel()
Get tha label for enum SeqType. |
List<ValueLabel> |
getSeqTypeOptions()
SeqType is enum. |
String |
getValues(String sep)
Deprecated. |
String |
getXrefIdFieldName(String fieldName)
|
int |
hashCode()
|
static Query<? extends Project> |
query(Database db)
Shorthand for db.query(Project.class). |
void |
set(Tuple tuple,
boolean strict)
|
void |
setDeclarationNr(String declarationNr)
Set the The Declaration Nr of a project.. |
void |
setGccAnalysis(Boolean gccAnalysis)
Set the Indication if variant calling has to be performed on the experiment.. |
void |
setGccInstructions(String gccInstructions)
Set the Specific instructions for GCC members for the analysis.. |
void |
setId(Integer id)
Set the automatically generated internal id, only for internal use.. |
void |
setLaneAmount(Integer laneAmount)
Set the Number of lanes planned in this project. |
void |
setPrepKit_Id(Integer prepKit_id)
Set foreign key for field prepKit. |
void |
setPrepKit_PrepKitName(String prepKit_PrepKitName)
Set a pretty label for cross reference PrepKit to PrepKit.Id. |
void |
setPrepKit(Integer prepKit_id)
|
void |
setPrepKit(PrepKit prepKit)
Set the Preparation kit used on the sample for this experiment. |
void |
setProjectAnalist_Id(Integer... projectAnalist)
|
void |
setProjectAnalist_Id(List<Integer> projectAnalist_id)
Set foreign key for field projectAnalist. |
void |
setProjectAnalist_UserName(List<String> projectAnalist_UserName)
Update the foreign key ProjectAnalist This sets projectAnalist to null until next database transaction. |
void |
setProjectAnalist(List<NgsUser> projectAnalist)
Set the The user which will be responsible for performing the wet-lab activities.. |
void |
setProjectAnalist(NgsUser... projectAnalist)
|
void |
setProjectComment(String projectComment)
Set the The comment of a project.. |
void |
setProjectCustomer_Id(Integer projectCustomer_id)
Set foreign key for field projectCustomer. |
void |
setProjectCustomer_UserName(String projectCustomer_UserName)
Set a pretty label for cross reference ProjectCustomer to NgsUser.Id. |
void |
setProjectCustomer(Integer projectCustomer_id)
|
void |
setProjectCustomer(NgsUser projectCustomer)
Set the The user who ordered the project.. |
void |
setProjectName(String projectName)
Set the The name of a project. |
void |
setProjectPlannedFinishDate(Date projectPlannedFinishDate)
Set the The date a project is expected to be finished. |
void |
setResultFilesDir(String resultFilesDir)
Set the File location of the resulting files after analysis occurred (for file download purpose). |
void |
setResultShippedDate(Date resultShippedDate)
Set the The date the result of the experiment is shipped to the custumor.. |
void |
setResultShippedDate(String datestring)
Set the The date the result of the experiment is shipped to the custumor.. |
void |
setResultShippedTo_Id(Integer resultShippedTo_id)
Set foreign key for field resultShippedTo. |
void |
setResultShippedTo_UserName(String resultShippedTo_UserName)
Set a pretty label for cross reference ResultShippedTo to NgsUser.Id. |
void |
setResultShippedTo(Integer resultShippedTo_id)
|
void |
setResultShippedTo(NgsUser resultShippedTo)
Set the Name of the person to which the data has been shipped.. |
void |
setResultShippedUser_Id(Integer resultShippedUser_id)
Set foreign key for field resultShippedUser. |
void |
setResultShippedUser_UserName(String resultShippedUser_UserName)
Set a pretty label for cross reference ResultShippedUser to NgsUser.Id. |
void |
setResultShippedUser(Integer resultShippedUser_id)
|
void |
setResultShippedUser(NgsUser resultShippedUser)
Set the The user who shipped the date.. |
void |
setSampleAmount(Integer sampleAmount)
Set the Number of samples planned in this project. |
void |
setSampleType(String sampleType)
Set the Type of sample. |
void |
setSeqType(String seqType)
Set the The type of sequencing.. |
String |
toString()
|
String |
toString(boolean verbose)
|
void |
validate()
|
| Methods inherited from class org.molgenis.util.AbstractEntity |
|---|
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2date |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.molgenis.util.Entity |
|---|
getLabelValue, getValues, isReadonly, set, set, setReadonly |
| Field Detail |
|---|
public static final String ID
public static final String PROJECTNAME
public static final String PROJECTCOMMENT
public static final String PROJECTCUSTOMER
public static final String PROJECTCUSTOMER_USERNAME
public static final String PROJECTANALIST
public static final String PROJECTANALIST_USERNAME
public static final String PROJECTPLANNEDFINISHDATE
public static final String LANEAMOUNT
public static final String SAMPLEAMOUNT
public static final String SAMPLETYPE
public static final String SEQTYPE
public static final String PREPKIT
public static final String PREPKIT_PREPKITNAME
public static final String DECLARATIONNR
public static final String GCCANALYSIS
public static final String GCCINSTRUCTIONS
public static final String RESULTFILESDIR
public static final String RESULTSHIPPEDUSER
public static final String RESULTSHIPPEDUSER_USERNAME
public static final String RESULTSHIPPEDTO
public static final String RESULTSHIPPEDTO_USERNAME
public static final String RESULTSHIPPEDDATE
| Constructor Detail |
|---|
public Project()
public Project(Project copyMe)
throws Exception
Exception| Method Detail |
|---|
public static Query<? extends Project> query(Database db)
public static List<? extends Project> find(Database db,
QueryRule... rules)
throws DatabaseException
DatabaseException
public static Project findById(Database db,
Integer id)
throws DatabaseException
DatabaseException
public static Project findByProjectName(Database db,
String projectName)
throws DatabaseException
DatabaseExceptionpublic Integer getId()
getId in interface Autoidpublic void setId(Integer id)
setId in interface Autoidid - public String getProjectName()
@Deprecated public String getProjectName(Database db)
public void setProjectName(String projectName)
projectName - public String getProjectComment()
@Deprecated public String getProjectComment(Database db)
public void setProjectComment(String projectComment)
projectComment - public NgsUser getProjectCustomer()
@Deprecated public NgsUser getProjectCustomer(Database db)
public void setProjectCustomer(NgsUser projectCustomer)
projectCustomer - public void setProjectCustomer_Id(Integer projectCustomer_id)
public void setProjectCustomer(Integer projectCustomer_id)
public Integer getProjectCustomer_Id()
public String getProjectCustomer_UserName()
public void setProjectCustomer_UserName(String projectCustomer_UserName)
public List<NgsUser> getProjectAnalist()
@Deprecated public List<NgsUser> getProjectAnalist(Database db)
public void setProjectAnalist(List<NgsUser> projectAnalist)
projectAnalist - public void setProjectAnalist_Id(Integer... projectAnalist)
public void setProjectAnalist(NgsUser... projectAnalist)
public void setProjectAnalist_Id(List<Integer> projectAnalist_id)
public List<Integer> getProjectAnalist_Id()
public List<String> getProjectAnalist_UserName()
public void setProjectAnalist_UserName(List<String> projectAnalist_UserName)
public Date getProjectPlannedFinishDate()
@Deprecated public Date getProjectPlannedFinishDate(Database db)
public void setProjectPlannedFinishDate(Date projectPlannedFinishDate)
projectPlannedFinishDate - public Integer getLaneAmount()
@Deprecated public Integer getLaneAmount(Database db)
public void setLaneAmount(Integer laneAmount)
laneAmount - public Integer getSampleAmount()
@Deprecated public Integer getSampleAmount(Database db)
public void setSampleAmount(Integer sampleAmount)
sampleAmount - public String getSampleType()
@Deprecated public String getSampleType(Database db)
public void setSampleType(String sampleType)
sampleType - public String getSampleTypeLabel()
public List<ValueLabel> getSampleTypeOptions()
public String getSeqType()
@Deprecated public String getSeqType(Database db)
public void setSeqType(String seqType)
seqType - public String getSeqTypeLabel()
public List<ValueLabel> getSeqTypeOptions()
public PrepKit getPrepKit()
@Deprecated public PrepKit getPrepKit(Database db)
public void setPrepKit(PrepKit prepKit)
prepKit - public void setPrepKit_Id(Integer prepKit_id)
public void setPrepKit(Integer prepKit_id)
public Integer getPrepKit_Id()
public String getPrepKit_PrepKitName()
public void setPrepKit_PrepKitName(String prepKit_PrepKitName)
public String getDeclarationNr()
@Deprecated public String getDeclarationNr(Database db)
public void setDeclarationNr(String declarationNr)
declarationNr - public Boolean getGccAnalysis()
@Deprecated public Boolean getGccAnalysis(Database db)
public void setGccAnalysis(Boolean gccAnalysis)
gccAnalysis - public String getGccInstructions()
@Deprecated public String getGccInstructions(Database db)
public void setGccInstructions(String gccInstructions)
gccInstructions - public String getResultFilesDir()
@Deprecated public String getResultFilesDir(Database db)
public void setResultFilesDir(String resultFilesDir)
resultFilesDir - public NgsUser getResultShippedUser()
@Deprecated public NgsUser getResultShippedUser(Database db)
public void setResultShippedUser(NgsUser resultShippedUser)
resultShippedUser - public void setResultShippedUser_Id(Integer resultShippedUser_id)
public void setResultShippedUser(Integer resultShippedUser_id)
public Integer getResultShippedUser_Id()
public String getResultShippedUser_UserName()
public void setResultShippedUser_UserName(String resultShippedUser_UserName)
public NgsUser getResultShippedTo()
@Deprecated public NgsUser getResultShippedTo(Database db)
public void setResultShippedTo(NgsUser resultShippedTo)
resultShippedTo - public void setResultShippedTo_Id(Integer resultShippedTo_id)
public void setResultShippedTo(Integer resultShippedTo_id)
public Integer getResultShippedTo_Id()
public String getResultShippedTo_UserName()
public void setResultShippedTo_UserName(String resultShippedTo_UserName)
public Date getResultShippedDate()
@Deprecated public Date getResultShippedDate(Database db)
public void setResultShippedDate(Date resultShippedDate)
resultShippedDate -
public void setResultShippedDate(String datestring)
throws ParseException
resultShippedDate -
ParseExceptionpublic Object get(String name)
get in interface Entity
public void validate()
throws DatabaseException
validate in interface EntityDatabaseException
public void set(Tuple tuple,
boolean strict)
throws Exception
set in interface EntityExceptionpublic String toString()
toString in class Objectpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
getFields in interface Entitypublic Vector<String> getFields()
getFields in interface Entitypublic String getIdField()
getIdField in interface Entitypublic List<String> getLabelFields()
getLabelFields in interface Entity@Deprecated public String getFields(String sep)
getFields in interface Entitypublic Object getIdValue()
getIdValue in interface Entitypublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface Entity@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class AbstractEntity
public Project create(Tuple tuple)
throws Exception
create in interface EntityExceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||