public class SNP_Polymorphism extends AbstractEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOID |
static String |
POLYMORPHISM |
static String |
POLYMORPHISM_IDENTIFIER |
static String |
SNP |
static String |
SNP_IDENTIFIER |
| Constructor and Description |
|---|
SNP_Polymorphism() |
SNP_Polymorphism(SNP_Polymorphism copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
SNP_Polymorphism |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends SNP_Polymorphism> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(SNP_Polymorphism.class, org.molgenis.framework.db.QueryRule ...
|
static SNP_Polymorphism |
findByAutoid(Database db,
Integer autoid) |
static SNP_Polymorphism |
findByPolymorphismSNP(Database db,
Integer polymorphism,
Integer sNP) |
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 SNP_Polymorphism.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
Integer |
getPolymorphism_Id() |
String |
getPolymorphism_Identifier()
Get a pretty label Identifier for cross reference Polymorphism to Polymorphism.Id.
|
Polymorphism |
getPolymorphism()
Get the .
|
Polymorphism |
getPolymorphism(Database db)
Deprecated.
|
Integer |
getSNP_Id() |
String |
getSNP_Identifier()
Get a pretty label Identifier for cross reference SNP to SNP.Id.
|
SNP |
getSNP()
Get the .
|
SNP |
getSNP(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends SNP_Polymorphism> |
query(Database db)
Shorthand for db.query(SNP_Polymorphism.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setAutoid(Integer autoid)
Set the automatic id field to ensure ordering of mrefs.
|
void |
setPolymorphism_Id(Integer polymorphism_id)
Set foreign key for field polymorphism.
|
void |
setPolymorphism_Identifier(String polymorphism_Identifier)
Set a pretty label for cross reference Polymorphism to Polymorphism.Id.
|
void |
setPolymorphism(Integer polymorphism_id) |
void |
setPolymorphism(Polymorphism polymorphism)
Set the .
|
void |
setSNP_Id(Integer sNP_id)
Set foreign key for field sNP.
|
void |
setSNP_Identifier(String sNP_Identifier)
Set a pretty label for cross reference SNP to SNP.Id.
|
void |
setSNP(Integer sNP_id) |
void |
setSNP(SNP sNP)
Set the .
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2datepublic static final String AUTOID
public static final String POLYMORPHISM
public static final String POLYMORPHISM_IDENTIFIER
public static final String SNP
public static final String SNP_IDENTIFIER
public SNP_Polymorphism()
public SNP_Polymorphism(SNP_Polymorphism copyMe) throws Exception
Exceptionpublic static Query<? extends SNP_Polymorphism> query(Database db)
public static List<? extends SNP_Polymorphism> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static SNP_Polymorphism findByAutoid(Database db, Integer autoid) throws DatabaseException
DatabaseExceptionpublic static SNP_Polymorphism findByPolymorphismSNP(Database db, Integer polymorphism, Integer sNP) throws DatabaseException
DatabaseExceptionpublic Integer getAutoid()
public void setAutoid(Integer autoid)
autoid - public Polymorphism getPolymorphism()
@Deprecated public Polymorphism getPolymorphism(Database db)
public void setPolymorphism(Polymorphism polymorphism)
polymorphism - public void setPolymorphism_Id(Integer polymorphism_id)
public void setPolymorphism(Integer polymorphism_id)
public Integer getPolymorphism_Id()
public String getPolymorphism_Identifier()
public void setPolymorphism_Identifier(String polymorphism_Identifier)
public SNP getSNP()
@Deprecated public SNP getSNP(Database db)
public void setSNP(SNP sNP)
sNP - public void setSNP_Id(Integer sNP_id)
public void setSNP(Integer sNP_id)
public Integer getSNP_Id()
public String getSNP_Identifier()
public void setSNP_Identifier(String sNP_Identifier)
public void validate()
throws DatabaseException
DatabaseExceptionpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
@Deprecated public String getFields(String sep)
public Object getIdValue()
@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class AbstractEntitypublic SNP_Polymorphism create(Entity entity) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.