@Entity public class Value extends AbstractEntity implements Autoid
| Constructor and Description |
|---|
Value() |
Value(Value copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Value |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Value> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Value.class, org.molgenis.framework.db.QueryRule ...
|
static Value |
findById(Database db,
Integer id) |
String |
get__Type()
Get the Subtypes have to be set to allow searching.
|
String |
get__Type(Database db)
Deprecated.
|
String |
get__TypeLabel()
Get tha label for enum __Type.
|
List<ValueLabel> |
get__TypeOptions()
__Type is enum.
|
Object |
get(String name)
Generic getter.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Value.
|
String |
getFields(String sep)
Deprecated.
|
Integer |
getId()
Get the automatically generated internal id, only for internal use..
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Value> |
query(Database db)
Shorthand for db.query(Value.class).
|
void |
set__Type(String __Type)
Set the Subtypes have to be set to allow searching.
|
void |
set(Entity entity,
boolean strict) |
void |
setId(Integer id)
Set the automatically generated internal id, only for internal use..
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
getLabelValue, getValues, isObjectRepresentation, isReadonly, set, set, setReadonly, setValuesFromString, string2dateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLabelValue, getValues, isReadonly, set, set, setReadonlypublic static final String ID
public static final String __TYPE
public static List<? extends Value> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Value findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic Integer getId()
public void setId(Integer id)
public String get__Type()
get__Type in class AbstractEntity@Deprecated public String get__Type(Database db)
public void set__Type(String __Type)
set__Type in class AbstractEntity__Type - public String get__TypeLabel()
get__TypeLabel in class AbstractEntitypublic List<ValueLabel> get__TypeOptions()
get__TypeOptions in class AbstractEntitypublic void validate()
throws DatabaseException
validate in interface EntityDatabaseExceptionpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
getIdField in interface Entitypublic List<String> getLabelFields()
getLabelFields in interface Entity@Deprecated public String getFields(String sep)
public Object getIdValue()
getIdValue in interface Entitypublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface Entity@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class AbstractEntityCopyright © 2013. All Rights Reserved.