@Entity public class Metabolite extends ObservationTarget
| Modifier and Type | Field and Description |
|---|---|
static String |
FORMULA |
static String |
ID |
static String |
MASS |
static String |
STRUCTURE |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Metabolite() |
Metabolite(Metabolite copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Metabolite |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Metabolite> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Metabolite.class, org.molgenis.framework.db.QueryRule ...
|
static Metabolite |
findById(Database db,
Integer id) |
static Metabolite |
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 Metabolite.
|
String |
getFields(String sep)
Deprecated.
|
String |
getFormula()
Get the The chemical formula of a metabolite..
|
String |
getFormula(Database db)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
Double |
getMass()
Get the The mass of this metabolite.
|
Double |
getMass(Database db)
Deprecated.
|
String |
getStructure()
Get the The chemical structure of a metabolite (in SMILES representation)..
|
String |
getStructure(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Metabolite> |
query(Database db)
Shorthand for db.query(Metabolite.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setFormula(String formula)
Set the The chemical formula of a metabolite..
|
void |
setMass(Double mass)
Set the The mass of this metabolite.
|
void |
setStructure(String structure)
Set the The chemical structure of a metabolite (in SMILES representation)..
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__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 FORMULA
public static final String MASS
public static final String STRUCTURE
public static final String ID
public Metabolite()
public Metabolite(Metabolite copyMe) throws Exception
Exceptionpublic static Query<? extends Metabolite> query(Database db)
public static List<? extends Metabolite> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Metabolite findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Metabolite findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic String getFormula()
@Deprecated public String getFormula(Database db)
public void setFormula(String formula)
formula - public Double getMass()
@Deprecated public Double getMass(Database db)
public void setMass(Double mass)
mass - public String getStructure()
@Deprecated public String getStructure(Database db)
public void setStructure(String structure)
structure - public Object get(String name)
get in interface Entityget in class ObservationTargetpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class ObservationTargetDatabaseExceptionpublic void set(Entity entity, boolean strict) throws Exception
set in interface Entityset in class ObservationTargetExceptionpublic String toString()
toString in class ObservationTargetpublic String toString(boolean verbose)
toString in class ObservationTargetpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class ObservationTargetpublic Vector<String> getFields()
getFields in interface EntitygetFields in class ObservationTargetpublic String getIdField()
getIdField in interface EntitygetIdField in class ObservationTargetpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class ObservationTarget@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class ObservationTargetpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class ObservationTargetpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class ObservationTarget@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class ObservationTargetpublic Metabolite create(Entity entity) throws Exception
create in interface Entitycreate in class ObservationTargetExceptionpublic boolean equals(Object obj)
equals in class ObservationTargetpublic int hashCode()
hashCode in class ObservationTargetCopyright © 2013. All Rights Reserved.