@Entity public class Patient extends Individual
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLELE1 |
static String |
ALLELE1_IDENTIFIER |
static String |
ALLELE2 |
static String |
ALLELE2_IDENTIFIER |
static String |
ID |
static String |
PHENO |
static String |
PUBMEDID |
static String |
REFERENCE |
FATHER, FATHER_IDENTIFIER, MOTHER, MOTHER_IDENTIFIER__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Patient() |
Patient(Patient copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Patient |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Patient> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Patient.class, org.molgenis.framework.db.QueryRule ...
|
static Patient |
findById(Database db,
Integer id) |
static Patient |
findByIdentifier(Database db,
String identifier) |
Object |
get(String name)
Generic getter.
|
Integer |
getAllele1_Id() |
String |
getAllele1_Identifier()
Get a pretty label Identifier for cross reference Allele1 to Variant.Id.
|
Variant |
getAllele1()
Get the Allele1.
|
Variant |
getAllele1(Database db)
Deprecated.
|
Integer |
getAllele2_Id() |
String |
getAllele2_Identifier()
Get a pretty label Identifier for cross reference Allele2 to Variant.Id.
|
Variant |
getAllele2()
Get the Allele2.
|
Variant |
getAllele2(Database db)
Deprecated.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Patient.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
String |
getPheno()
Get the Pheno.
|
String |
getPheno(Database db)
Deprecated.
|
String |
getPubMedID()
Get the PubMedID.
|
String |
getPubMedID(Database db)
Deprecated.
|
String |
getReference()
Get the Reference.
|
String |
getReference(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Patient> |
query(Database db)
Shorthand for db.query(Patient.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setAllele1_Id(Integer allele1_id)
Set foreign key for field allele1.
|
void |
setAllele1_Identifier(String allele1_Identifier)
Set a pretty label for cross reference Allele1 to Variant.Id.
|
void |
setAllele1(Integer allele1_id) |
void |
setAllele1(Variant allele1)
Set the Allele1.
|
void |
setAllele2_Id(Integer allele2_id)
Set foreign key for field allele2.
|
void |
setAllele2_Identifier(String allele2_Identifier)
Set a pretty label for cross reference Allele2 to Variant.Id.
|
void |
setAllele2(Integer allele2_id) |
void |
setAllele2(Variant allele2)
Set the Allele2.
|
void |
setPheno(String pheno)
Set the Pheno.
|
void |
setPubMedID(String pubMedID)
Set the PubMedID.
|
void |
setReference(String reference)
Set the Reference.
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
getFather_Id, getFather_Identifier, getFather, getFather, getIndividualsPanelCollection, getIndividualsPanelCollection, getMother_Id, getMother_Identifier, getMother, getMother, setFather_Id, setFather_Identifier, setFather, setFather, setIndividualsPanelCollection, setMother_Id, setMother_Identifier, setMother, setMotherget__Type, get__Type, get__TypeLabel, get__TypeOptions, getDescription, getDescription, getId, getIdentifier, getIdentifier, getName, getName, getValueMrefValueCollection, getValueMrefValueCollection, set__Type, setDescription, setId, setIdentifier, setName, setValueMrefValueCollectiongetLabelValue, getValues, isObjectRepresentation, isReadonly, set, set, setReadonly, setValuesFromString, string2dateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLabelValue, getValues, isReadonly, set, set, setReadonlypublic static final String ALLELE1
public static final String ALLELE1_IDENTIFIER
public static final String ALLELE2
public static final String ALLELE2_IDENTIFIER
public static final String PHENO
public static final String PUBMEDID
public static final String REFERENCE
public static final String ID
public static Query<? extends Patient> query(Database db)
public static List<? extends Patient> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Patient findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Patient findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic Variant getAllele1()
@Deprecated public Variant getAllele1(Database db)
public void setAllele1(Variant allele1)
allele1 - public void setAllele1_Id(Integer allele1_id)
public void setAllele1(Integer allele1_id)
public Integer getAllele1_Id()
public String getAllele1_Identifier()
public void setAllele1_Identifier(String allele1_Identifier)
public Variant getAllele2()
@Deprecated public Variant getAllele2(Database db)
public void setAllele2(Variant allele2)
allele2 - public void setAllele2_Id(Integer allele2_id)
public void setAllele2(Integer allele2_id)
public Integer getAllele2_Id()
public String getAllele2_Identifier()
public void setAllele2_Identifier(String allele2_Identifier)
public String getPheno()
@Deprecated public String getPheno(Database db)
public void setPheno(String pheno)
pheno - public String getPubMedID()
@Deprecated public String getPubMedID(Database db)
public void setPubMedID(String pubMedID)
pubMedID - public String getReference()
@Deprecated public String getReference(Database db)
public void setReference(String reference)
reference - public Object get(String name)
get in interface Entityget in class Individualpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class IndividualDatabaseExceptionpublic void set(Entity entity, boolean strict) throws Exception
set in interface Entityset in class IndividualExceptionpublic String toString()
toString in class Individualpublic String toString(boolean verbose)
toString in class Individualpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class Individualpublic Vector<String> getFields()
getFields in interface EntitygetFields in class Individualpublic String getIdField()
getIdField in interface EntitygetIdField in class Individualpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class Individual@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class Individualpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class Individualpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class Individual@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class Individualpublic Patient create(Entity entity) throws Exception
create in interface Entitycreate in class IndividualExceptionpublic boolean equals(Object obj)
equals in class Individualpublic int hashCode()
hashCode in class IndividualCopyright © 2013. All Rights Reserved.