@Entity public class ObservationTarget extends Characteristic
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
ObservationTarget() |
ObservationTarget(ObservationTarget copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
ObservationTarget |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends ObservationTarget> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(ObservationTarget.class, org.molgenis.framework.db.QueryRule ...
|
static ObservationTarget |
findById(Database db,
Integer id) |
static ObservationTarget |
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 ObservationTarget.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends ObservationTarget> |
query(Database db)
Shorthand for db.query(ObservationTarget.class).
|
void |
set(Entity entity,
boolean strict) |
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 ID
public ObservationTarget()
public ObservationTarget(ObservationTarget copyMe) throws Exception
Exceptionpublic static Query<? extends ObservationTarget> query(Database db)
public static List<? extends ObservationTarget> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static ObservationTarget findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static ObservationTarget findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic Object get(String name)
get in interface Entityget in class Characteristicpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class CharacteristicDatabaseExceptionpublic void set(Entity entity, boolean strict) throws Exception
set in interface Entityset in class CharacteristicExceptionpublic String toString()
toString in class Characteristicpublic String toString(boolean verbose)
toString in class Characteristicpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class Characteristicpublic Vector<String> getFields()
getFields in interface EntitygetFields in class Characteristicpublic String getIdField()
getIdField in interface EntitygetIdField in class Characteristicpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class Characteristic@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class Characteristicpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class Characteristicpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class Characteristic@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class Characteristicpublic ObservationTarget create(Entity entity) throws Exception
create in interface Entitycreate in class CharacteristicExceptionpublic boolean equals(Object obj)
equals in class Characteristicpublic int hashCode()
hashCode in class CharacteristicCopyright © 2013. All Rights Reserved.