org.molgenis.omx.observ.target
Class Panel_Individuals

java.lang.Object
  extended by org.molgenis.util.AbstractEntity
      extended by org.molgenis.omx.observ.target.Panel_Individuals
All Implemented Interfaces:
Serializable, Entity

public class Panel_Individuals
extends AbstractEntity

Panel_Individuals: Link table for many-to-many relationship 'Panel.Individuals'..

Author:
MOLGENIS generator
See Also:
Serialized Form

Field Summary
static String AUTOID
           
static String INDIVIDUALS
           
static String INDIVIDUALS_IDENTIFIER
           
static String PANEL
           
static String PANEL_IDENTIFIER
           
 
Constructor Summary
Panel_Individuals()
           
Panel_Individuals(Panel_Individuals copyMe)
          copy constructor
 
Method Summary
 Panel_Individuals create(Tuple tuple)
           
 boolean equals(Object obj)
           
static List<? extends Panel_Individuals> find(Database db, QueryRule... rules)
          Shorthand for db.find(Panel_Individuals.class, org.molgenis.framework.db.QueryRule ...
static Panel_Individuals findByAutoid(Database db, Integer autoid)
           
static Panel_Individuals findByIndividualsPanel(Database db, Integer individuals, Integer panel)
           
 Object get(String name)
          Generic getter.
 Integer getAutoid()
          Get the automatic id field to ensure ordering of mrefs.
 Vector<String> getFields()
           
 Vector<String> getFields(boolean skipAutoIds)
          Get the names of all public properties of Panel_Individuals.
 String getFields(String sep)
          Deprecated. 
 String getIdField()
           
 Object getIdValue()
           
 Integer getIndividuals_Id()
           
 String getIndividuals_Identifier()
          Get a pretty label Identifier for cross reference Individuals to Individual.Id.
 Individual getIndividuals()
          Get the .
 Individual getIndividuals(Database db)
          Deprecated. 
 List<String> getLabelFields()
           
 Integer getPanel_Id()
           
 String getPanel_Identifier()
          Get a pretty label Identifier for cross reference Panel to Panel.Id.
 Panel getPanel()
          Get the .
 Panel getPanel(Database db)
          Deprecated. 
 String getValues(String sep)
          Deprecated. 
 String getXrefIdFieldName(String fieldName)
           
 int hashCode()
           
static Query<? extends Panel_Individuals> query(Database db)
          Shorthand for db.query(Panel_Individuals.class).
 void set(Tuple tuple, boolean strict)
           
 void setAutoid(Integer autoid)
          Set the automatic id field to ensure ordering of mrefs.
 void setIndividuals_Id(Integer individuals_id)
          Set foreign key for field individuals.
 void setIndividuals_Identifier(String individuals_Identifier)
          Set a pretty label for cross reference Individuals to Individual.Id.
 void setIndividuals(Individual individuals)
          Set the .
 void setIndividuals(Integer individuals_id)
           
 void setPanel_Id(Integer panel_id)
          Set foreign key for field panel.
 void setPanel_Identifier(String panel_Identifier)
          Set a pretty label for cross reference Panel to Panel.Id.
 void setPanel(Integer panel_id)
           
 void setPanel(Panel panel)
          Set the .
 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
 

Field Detail

AUTOID

public static final String AUTOID
See Also:
Constant Field Values

INDIVIDUALS

public static final String INDIVIDUALS
See Also:
Constant Field Values

INDIVIDUALS_IDENTIFIER

public static final String INDIVIDUALS_IDENTIFIER
See Also:
Constant Field Values

PANEL

public static final String PANEL
See Also:
Constant Field Values

PANEL_IDENTIFIER

public static final String PANEL_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

Panel_Individuals

public Panel_Individuals()

Panel_Individuals

public Panel_Individuals(Panel_Individuals copyMe)
                  throws Exception
copy constructor

Throws:
Exception
Method Detail

query

public static Query<? extends Panel_Individuals> query(Database db)
Shorthand for db.query(Panel_Individuals.class).


find

public static List<? extends Panel_Individuals> find(Database db,
                                                     QueryRule... rules)
                                              throws DatabaseException
Shorthand for db.find(Panel_Individuals.class, org.molgenis.framework.db.QueryRule ... rules).

Throws:
DatabaseException

findByAutoid

public static Panel_Individuals findByAutoid(Database db,
                                             Integer autoid)
                                      throws DatabaseException
Throws:
DatabaseException

findByIndividualsPanel

public static Panel_Individuals findByIndividualsPanel(Database db,
                                                       Integer individuals,
                                                       Integer panel)
                                                throws DatabaseException
Throws:
DatabaseException

getAutoid

public Integer getAutoid()
Get the automatic id field to ensure ordering of mrefs.

Returns:
autoid.

setAutoid

public void setAutoid(Integer autoid)
Set the automatic id field to ensure ordering of mrefs.

Parameters:
autoid -

getIndividuals

public Individual getIndividuals()
Get the .

Returns:
individuals.

getIndividuals

@Deprecated
public Individual getIndividuals(Database db)
Deprecated. 


setIndividuals

public void setIndividuals(Individual individuals)
Set the .

Parameters:
individuals -

setIndividuals_Id

public void setIndividuals_Id(Integer individuals_id)
Set foreign key for field individuals. This will erase any foreign key objects currently set. FIXME: can we autoload the new object?


setIndividuals

public void setIndividuals(Integer individuals_id)

getIndividuals_Id

public Integer getIndividuals_Id()

getIndividuals_Identifier

public String getIndividuals_Identifier()
Get a pretty label Identifier for cross reference Individuals to Individual.Id.


setIndividuals_Identifier

public void setIndividuals_Identifier(String individuals_Identifier)
Set a pretty label for cross reference Individuals to Individual.Id. Implies setIndividuals(null) until save


getPanel

public Panel getPanel()
Get the .

Returns:
panel.

getPanel

@Deprecated
public Panel getPanel(Database db)
Deprecated. 


setPanel

public void setPanel(Panel panel)
Set the .

Parameters:
panel -

setPanel_Id

public void setPanel_Id(Integer panel_id)
Set foreign key for field panel. This will erase any foreign key objects currently set. FIXME: can we autoload the new object?


setPanel

public void setPanel(Integer panel_id)

getPanel_Id

public Integer getPanel_Id()

getPanel_Identifier

public String getPanel_Identifier()
Get a pretty label Identifier for cross reference Panel to Panel.Id.


setPanel_Identifier

public void setPanel_Identifier(String panel_Identifier)
Set a pretty label for cross reference Panel to Panel.Id. Implies setPanel(null) until save


get

public Object get(String name)
Generic getter. Get the property by using the name.


validate

public void validate()
              throws DatabaseException
Throws:
DatabaseException

set

public void set(Tuple tuple,
                boolean strict)
         throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(boolean verbose)

getFields

public Vector<String> getFields(boolean skipAutoIds)
Get the names of all public properties of Panel_Individuals.


getFields

public Vector<String> getFields()

getIdField

public String getIdField()

getLabelFields

public List<String> getLabelFields()

getFields

@Deprecated
public String getFields(String sep)
Deprecated. 


getIdValue

public Object getIdValue()

getXrefIdFieldName

public String getXrefIdFieldName(String fieldName)

getValues

@Deprecated
public String getValues(String sep)
Deprecated. 

Specified by:
getValues in interface Entity
Overrides:
getValues in class AbstractEntity

create

public Panel_Individuals create(Tuple tuple)
                         throws Exception
Throws:
Exception

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.