@Entity public class Panel extends ObservationTarget
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
INDIVIDUALS |
static String |
INDIVIDUALS_IDENTIFIER |
static String |
NUMBEROFINDIVIDUALS |
static String |
PANELTYPE |
static String |
PANELTYPE_IDENTIFIER |
static String |
SPECIES |
static String |
SPECIES_IDENTIFIER |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Panel() |
Panel(Panel copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Panel |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Panel> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Panel.class, org.molgenis.framework.db.QueryRule ...
|
static Panel |
findById(Database db,
Integer id) |
static Panel |
findByIdentifier(Database db,
String identifier) |
Object |
get(String name)
Generic getter.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Panel.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<Integer> |
getIndividuals_Id() |
List<String> |
getIndividuals_Identifier()
Get a pretty label for cross reference Individuals to Individual.Id.
|
List<Individual> |
getIndividuals()
Get the The list of individuals in this panel.
|
List<Individual> |
getIndividuals(Database db)
Deprecated.
|
List<String> |
getLabelFields() |
Integer |
getNumberOfIndividuals()
Get the NumberOfIndividuals.
|
Integer |
getNumberOfIndividuals(Database db)
Deprecated.
|
Integer |
getPanelType_Id() |
String |
getPanelType_Identifier()
Get a pretty label Identifier for cross reference PanelType to OntologyTerm.Id.
|
OntologyTerm |
getPanelType()
Get the Indicate the type of Panel (example: Sample panel, AssayedPanel, Natural=wild type, Parental=parents of a cross, F1=First generation of cross, RCC=Recombinant congenic, CSS=chromosome substitution).
|
OntologyTerm |
getPanelType(Database db)
Deprecated.
|
Integer |
getSpecies_Id() |
String |
getSpecies_Identifier()
Get a pretty label Identifier for cross reference Species to Species.Id.
|
Species |
getSpecies()
Get the The species this panel is an instance of/part of/extracted from..
|
Species |
getSpecies(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Panel> |
query(Database db)
Shorthand for db.query(Panel.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setIndividuals_Id(Integer... individuals) |
void |
setIndividuals_Id(List<Integer> individuals_id)
Set foreign key for field individuals.
|
void |
setIndividuals_Identifier(List<String> individuals_Identifier)
Update the foreign key Individuals
This sets individuals to null until next database transaction.
|
void |
setIndividuals(Individual... individuals) |
void |
setIndividuals(List<Individual> individuals)
Set the The list of individuals in this panel.
|
void |
setNumberOfIndividuals(Integer numberOfIndividuals)
Set the NumberOfIndividuals.
|
void |
setPanelType_Id(Integer panelType_id)
Set foreign key for field panelType.
|
void |
setPanelType_Identifier(String panelType_Identifier)
Set a pretty label for cross reference PanelType to OntologyTerm.Id.
|
void |
setPanelType(Integer panelType_id) |
void |
setPanelType(OntologyTerm panelType)
Set the Indicate the type of Panel (example: Sample panel, AssayedPanel, Natural=wild type, Parental=parents of a cross, F1=First generation of cross, RCC=Recombinant congenic, CSS=chromosome substitution).
|
void |
setSpecies_Id(Integer species_id)
Set foreign key for field species.
|
void |
setSpecies_Identifier(String species_Identifier)
Set a pretty label for cross reference Species to Species.Id.
|
void |
setSpecies(Integer species_id) |
void |
setSpecies(Species species)
Set the The species this panel is an instance of/part of/extracted from..
|
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 PANELTYPE
public static final String PANELTYPE_IDENTIFIER
public static final String NUMBEROFINDIVIDUALS
public static final String SPECIES
public static final String SPECIES_IDENTIFIER
public static final String INDIVIDUALS
public static final String INDIVIDUALS_IDENTIFIER
public static final String ID
public static List<? extends Panel> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Panel findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Panel findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic OntologyTerm getPanelType()
@Deprecated public OntologyTerm getPanelType(Database db)
public void setPanelType(OntologyTerm panelType)
panelType - public void setPanelType_Id(Integer panelType_id)
public void setPanelType(Integer panelType_id)
public Integer getPanelType_Id()
public String getPanelType_Identifier()
public void setPanelType_Identifier(String panelType_Identifier)
public Integer getNumberOfIndividuals()
@Deprecated public Integer getNumberOfIndividuals(Database db)
public void setNumberOfIndividuals(Integer numberOfIndividuals)
numberOfIndividuals - public Species getSpecies()
@Deprecated public Species getSpecies(Database db)
public void setSpecies(Species species)
species - public void setSpecies_Id(Integer species_id)
public void setSpecies(Integer species_id)
public Integer getSpecies_Id()
public String getSpecies_Identifier()
public void setSpecies_Identifier(String species_Identifier)
public List<Individual> getIndividuals()
@Deprecated public List<Individual> getIndividuals(Database db)
public void setIndividuals(List<Individual> individuals)
individuals - public void setIndividuals_Id(Integer... individuals)
public void setIndividuals(Individual... individuals)
public void setIndividuals_Id(List<Integer> individuals_id)
public List<String> getIndividuals_Identifier()
public void setIndividuals_Identifier(List<String> individuals_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 Panel create(Entity entity) throws Exception
create in interface Entitycreate in class ObservationTargetExceptionpublic boolean equals(Object obj)
equals in class ObservationTargetpublic int hashCode()
hashCode in class ObservationTargetCopyright © 2013. All Rights Reserved.