@Entity public class Individual extends ObservationTarget
| Modifier and Type | Field and Description |
|---|---|
static String |
FATHER |
static String |
FATHER_IDENTIFIER |
static String |
ID |
static String |
MOTHER |
static String |
MOTHER_IDENTIFIER |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Individual() |
Individual(Individual copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Individual |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Individual> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Individual.class, org.molgenis.framework.db.QueryRule ...
|
static Individual |
findById(Database db,
Integer id) |
static Individual |
findByIdentifier(Database db,
String identifier) |
Object |
get(String name)
Generic getter.
|
Integer |
getFather_Id() |
String |
getFather_Identifier()
Get a pretty label Identifier for cross reference Father to Individual.Id.
|
Individual |
getFather()
Get the Refers to the father of the individual..
|
Individual |
getFather(Database db)
Deprecated.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Individual.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
Collection<Panel> |
getIndividualsPanelCollection() |
Collection<Panel> |
getIndividualsPanelCollection(Database db) |
List<String> |
getLabelFields() |
Integer |
getMother_Id() |
String |
getMother_Identifier()
Get a pretty label Identifier for cross reference Mother to Individual.Id.
|
Individual |
getMother()
Get the Refers to the mother of the individual..
|
Individual |
getMother(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Individual> |
query(Database db)
Shorthand for db.query(Individual.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setFather_Id(Integer father_id)
Set foreign key for field father.
|
void |
setFather_Identifier(String father_Identifier)
Set a pretty label for cross reference Father to Individual.Id.
|
void |
setFather(Individual father)
Set the Refers to the father of the individual..
|
void |
setFather(Integer father_id) |
void |
setIndividualsPanelCollection(Collection<Panel> collection) |
void |
setMother_Id(Integer mother_id)
Set foreign key for field mother.
|
void |
setMother_Identifier(String mother_Identifier)
Set a pretty label for cross reference Mother to Individual.Id.
|
void |
setMother(Individual mother)
Set the Refers to the mother of the individual..
|
void |
setMother(Integer mother_id) |
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__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 MOTHER
public static final String MOTHER_IDENTIFIER
public static final String FATHER
public static final String FATHER_IDENTIFIER
public static final String ID
public Individual()
public Individual(Individual copyMe) throws Exception
Exceptionpublic static Query<? extends Individual> query(Database db)
public static List<? extends Individual> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Individual findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Individual findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic Individual getMother()
@Deprecated public Individual getMother(Database db)
public void setMother(Individual mother)
mother - public void setMother_Id(Integer mother_id)
public void setMother(Integer mother_id)
public Integer getMother_Id()
public String getMother_Identifier()
public void setMother_Identifier(String mother_Identifier)
public Individual getFather()
@Deprecated public Individual getFather(Database db)
public void setFather(Individual father)
father - public void setFather_Id(Integer father_id)
public void setFather(Integer father_id)
public Integer getFather_Id()
public String getFather_Identifier()
public void setFather_Identifier(String father_Identifier)
public Object get(String name)
get in interface Entityget in class ObservationTargetpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class ObservationTargetDatabaseExceptionpublic void set(Entity entity, boolean strict) throws Exception
set in interface Entityset in class ObservationTargetExceptionpublic String toString()
toString in class ObservationTargetpublic String toString(boolean verbose)
toString in class ObservationTargetpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class ObservationTargetpublic Vector<String> getFields()
getFields in interface EntitygetFields in class ObservationTargetpublic String getIdField()
getIdField in interface EntitygetIdField in class ObservationTargetpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class ObservationTarget@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class ObservationTargetpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class ObservationTargetpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class ObservationTarget@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class ObservationTargetpublic Individual create(Entity entity) throws Exception
create in interface Entitycreate in class ObservationTargetExceptionpublic Collection<Panel> getIndividualsPanelCollection()
public Collection<Panel> getIndividualsPanelCollection(Database db)
public void setIndividualsPanelCollection(Collection<Panel> collection)
public boolean equals(Object obj)
equals in class ObservationTargetpublic int hashCode()
hashCode in class ObservationTargetCopyright © 2013. All Rights Reserved.