@Entity public class DecimalValue extends Value
| Constructor and Description |
|---|
DecimalValue() |
DecimalValue(DecimalValue copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
DecimalValue |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends DecimalValue> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(DecimalValue.class, org.molgenis.framework.db.QueryRule ...
|
static DecimalValue |
findById(Database db,
Integer id) |
Object |
get(String name)
Generic getter.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of DecimalValue.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
Double |
getValue()
Get the Value.
|
Double |
getValue(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends DecimalValue> |
query(Database db)
Shorthand for db.query(DecimalValue.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setValue(Double value)
Set the Value.
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__Type, get__Type, get__TypeLabel, get__TypeOptions, getId, set__Type, setIdgetLabelValue, getValues, isObjectRepresentation, isReadonly, set, set, setReadonly, setValuesFromString, string2dateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLabelValue, getValues, isReadonly, set, set, setReadonlypublic static final String VALUE
public static final String ID
public DecimalValue()
public DecimalValue(DecimalValue copyMe) throws Exception
Exceptionpublic static Query<? extends DecimalValue> query(Database db)
public static List<? extends DecimalValue> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static DecimalValue findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic Double getValue()
@Deprecated public Double getValue(Database db)
public void setValue(Double value)
value - public void validate()
throws DatabaseException
validate in interface Entityvalidate in class ValueDatabaseExceptionpublic Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
getIdField in interface EntitygetIdField in class Valuepublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class Value@Deprecated public String getFields(String sep)
public Object getIdValue()
getIdValue in interface EntitygetIdValue in class Valuepublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class Value@Deprecated public String getValues(String sep)
public DecimalValue create(Entity entity) throws Exception
Copyright © 2013. All Rights Reserved.