@Entity public class PanelSource extends AbstractEntity implements Autoid
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENTPANEL |
static String |
CURRENTPANEL_IDENTIFIER |
static String |
ID |
static String |
NUMBEROFINDIVIDUALS |
static String |
SELECTIONCRITERIA |
static String |
SOURCEPANEL |
static String |
SOURCEPANEL_IDENTIFIER |
| Constructor and Description |
|---|
PanelSource() |
PanelSource(PanelSource copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
PanelSource |
create(Entity entity) |
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(Entity entity,
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() |
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2dateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLabelValue, getValues, isReadonly, set, set, setReadonlypublic 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
public PanelSource()
public PanelSource(PanelSource copyMe) throws Exception
Exceptionpublic static Query<? extends PanelSource> query(Database db)
public static List<? extends PanelSource> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static PanelSource findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic Integer getId()
public void setId(Integer id)
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 void validate()
throws DatabaseException
validate in interface EntityDatabaseExceptionpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
getIdField in interface Entitypublic List<String> getLabelFields()
getLabelFields in interface Entity@Deprecated public String getFields(String sep)
public 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 AbstractEntitypublic PanelSource create(Entity entity) throws Exception
Copyright © 2013. All Rights Reserved.