|
||||||||||
| 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.observ.target.PanelSource
@Entity public class PanelSource
PanelSource: PanelSources is partOf Panel to define how panels are related panels, founder panels, such as overlap, selection criteria, getting assayed panel from a sample panel, etc. .
| Field Summary | |
|---|---|
static String |
CURRENTPANEL
|
static String |
CURRENTPANEL_IDENTIFIER
|
static String |
ID
|
static String |
NUMBEROFINDIVIDUALS
|
static String |
SELECTIONCRITERIA
|
static String |
SOURCEPANEL
|
static String |
SOURCEPANEL_IDENTIFIER
|
| Constructor Summary | |
|---|---|
PanelSource()
|
|
PanelSource(PanelSource copyMe)
copy constructor |
|
| Method Summary | |
|---|---|
PanelSource |
create(Tuple tuple)
|
boolean |
equals(Object obj)
|
static List<? extends PanelSource> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(PanelSource.class, org.molgenis.framework.db.QueryRule ... |
static PanelSource |
findById(Database db,
Integer id)
|
Object |
get(String name)
Generic getter. |
Integer |
getCurrentPanel_Id()
|
String |
getCurrentPanel_Identifier()
Get a pretty label Identifier for cross reference CurrentPanel to Panel.Id. |
Panel |
getCurrentPanel()
Get the Panel for which these sources are defined.. |
Panel |
getCurrentPanel(Database db)
Deprecated. |
Vector<String> |
getFields()
|
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of PanelSource. |
String |
getFields(String sep)
Deprecated. |
Integer |
getId()
Get the automatically generated internal id, only for internal use.. |
String |
getIdField()
|
Object |
getIdValue()
|
List<String> |
getLabelFields()
|
Integer |
getNumberOfIndividuals()
Get the Number of individuals lifted over from this source. |
Integer |
getNumberOfIndividuals(Database db)
Deprecated. |
String |
getSelectionCriteria()
Get the Inclusion/exclusion criteria used to select these individuals from source into current panel. |
String |
getSelectionCriteria(Database db)
Deprecated. |
Integer |
getSourcePanel_Id()
|
String |
getSourcePanel_Identifier()
Get a pretty label Identifier for cross reference SourcePanel to Panel.Id. |
Panel |
getSourcePanel()
Get the Source that contributed individuals to current panel. |
Panel |
getSourcePanel(Database db)
Deprecated. |
String |
getValues(String sep)
Deprecated. |
String |
getXrefIdFieldName(String fieldName)
|
int |
hashCode()
|
static Query<? extends PanelSource> |
query(Database db)
Shorthand for db.query(PanelSource.class). |
void |
set(Tuple tuple,
boolean strict)
|
void |
setCurrentPanel_Id(Integer currentPanel_id)
Set foreign key for field currentPanel. |
void |
setCurrentPanel_Identifier(String currentPanel_Identifier)
Set a pretty label for cross reference CurrentPanel to Panel.Id. |
void |
setCurrentPanel(Integer currentPanel_id)
|
void |
setCurrentPanel(Panel currentPanel)
Set the Panel for which these sources are defined.. |
void |
setId(Integer id)
Set the automatically generated internal id, only for internal use.. |
void |
setNumberOfIndividuals(Integer numberOfIndividuals)
Set the Number of individuals lifted over from this source. |
void |
setSelectionCriteria(String selectionCriteria)
Set the Inclusion/exclusion criteria used to select these individuals from source into current panel. |
void |
setSourcePanel_Id(Integer sourcePanel_id)
Set foreign key for field sourcePanel. |
void |
setSourcePanel_Identifier(String sourcePanel_Identifier)
Set a pretty label for cross reference SourcePanel to Panel.Id. |
void |
setSourcePanel(Integer sourcePanel_id)
|
void |
setSourcePanel(Panel sourcePanel)
Set the Source that contributed individuals to current panel. |
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 CURRENTPANEL
public static final String CURRENTPANEL_IDENTIFIER
public static final String SOURCEPANEL
public static final String SOURCEPANEL_IDENTIFIER
public static final String NUMBEROFINDIVIDUALS
public static final String SELECTIONCRITERIA
| Constructor Detail |
|---|
public PanelSource()
public PanelSource(PanelSource copyMe)
throws Exception
Exception| Method Detail |
|---|
public static Query<? extends PanelSource> query(Database db)
public static List<? extends PanelSource> find(Database db,
QueryRule... rules)
throws DatabaseException
DatabaseException
public static PanelSource findById(Database db,
Integer id)
throws DatabaseException
DatabaseExceptionpublic Integer getId()
getId in interface Autoidpublic void setId(Integer id)
setId in interface Autoidid - public Panel getCurrentPanel()
@Deprecated public Panel getCurrentPanel(Database db)
public void setCurrentPanel(Panel currentPanel)
currentPanel - public void setCurrentPanel_Id(Integer currentPanel_id)
public void setCurrentPanel(Integer currentPanel_id)
public Integer getCurrentPanel_Id()
public String getCurrentPanel_Identifier()
public void setCurrentPanel_Identifier(String currentPanel_Identifier)
public Panel getSourcePanel()
@Deprecated public Panel getSourcePanel(Database db)
public void setSourcePanel(Panel sourcePanel)
sourcePanel - public void setSourcePanel_Id(Integer sourcePanel_id)
public void setSourcePanel(Integer sourcePanel_id)
public Integer getSourcePanel_Id()
public String getSourcePanel_Identifier()
public void setSourcePanel_Identifier(String sourcePanel_Identifier)
public Integer getNumberOfIndividuals()
@Deprecated public Integer getNumberOfIndividuals(Database db)
public void setNumberOfIndividuals(Integer numberOfIndividuals)
numberOfIndividuals - public String getSelectionCriteria()
@Deprecated public String getSelectionCriteria(Database db)
public void setSelectionCriteria(String selectionCriteria)
selectionCriteria - public 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 PanelSource 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 | |||||||||