@Entity public class SNP extends Marker
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
POLYMORPHISM |
static String |
POLYMORPHISM_IDENTIFIER |
static String |
STATUS |
BPEND, BPSTART, CHROMOSOME, CHROMOSOME_IDENTIFIER, CM, REPORTSFOR, REPORTSFOR_IDENTIFIER, SEQ, SYMBOL__TYPE, DESCRIPTION, IDENTIFIER, NAME| Modifier and Type | Method and Description |
|---|---|
SNP |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends SNP> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(SNP.class, org.molgenis.framework.db.QueryRule ...
|
static SNP |
findById(Database db,
Integer id) |
static SNP |
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 SNP.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
List<Integer> |
getPolymorphism_Id() |
List<String> |
getPolymorphism_Identifier()
Get a pretty label for cross reference Polymorphism to Polymorphism.Id.
|
List<Polymorphism> |
getPolymorphism()
Get the The polymorphism that belongs to this SNP..
|
List<Polymorphism> |
getPolymorphism(Database db)
Deprecated.
|
String |
getStatus()
Get the The status of this SNP, eg 'confirmed'..
|
String |
getStatus(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends SNP> |
query(Database db)
Shorthand for db.query(SNP.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setPolymorphism_Id(Integer... polymorphism) |
void |
setPolymorphism_Id(List<Integer> polymorphism_id)
Set foreign key for field polymorphism.
|
void |
setPolymorphism_Identifier(List<String> polymorphism_Identifier)
Update the foreign key Polymorphism
This sets polymorphism to null until next database transaction.
|
void |
setPolymorphism(List<Polymorphism> polymorphism)
Set the The polymorphism that belongs to this SNP..
|
void |
setPolymorphism(Polymorphism... polymorphism) |
void |
setStatus(String status)
Set the The status of this SNP, eg 'confirmed'..
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
getBpEnd, getBpEnd, getBpStart, getBpStart, getChromosome_Id, getChromosome_Identifier, getChromosome, getChromosome, getCM, getCM, getReportsFor_Id, getReportsFor_Identifier, getReportsFor, getReportsFor, getReportsForMarkerCollection, getReportsForMarkerCollection, getSeq, getSeq, getSymbol, getSymbol, setBpEnd, setBpStart, setChromosome_Id, setChromosome_Identifier, setChromosome, setChromosome, setCM, setReportsFor_Id, setReportsFor_Id, setReportsFor_Identifier, setReportsFor, setReportsFor, setReportsForMarkerCollection, setSeq, setSymbolget__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 STATUS
public static final String POLYMORPHISM
public static final String POLYMORPHISM_IDENTIFIER
public static final String ID
public static List<? extends SNP> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static SNP findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static SNP findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic String getStatus()
@Deprecated public String getStatus(Database db)
public void setStatus(String status)
status - public List<Polymorphism> getPolymorphism()
@Deprecated public List<Polymorphism> getPolymorphism(Database db)
public void setPolymorphism(List<Polymorphism> polymorphism)
polymorphism - public void setPolymorphism_Id(Integer... polymorphism)
public void setPolymorphism(Polymorphism... polymorphism)
public void setPolymorphism_Id(List<Integer> polymorphism_id)
public List<String> getPolymorphism_Identifier()
public void setPolymorphism_Identifier(List<String> polymorphism_Identifier)
public void validate()
throws DatabaseException
validate in interface Entityvalidate in class MarkerDatabaseExceptionpublic Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
getIdField in interface EntitygetIdField in class Markerpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class Marker@Deprecated public String getFields(String sep)
public Object getIdValue()
getIdValue in interface EntitygetIdValue in class Markerpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class Marker@Deprecated public String getValues(String sep)
Copyright © 2013. All Rights Reserved.