|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.molgenis.util.AbstractEntity
org.molgenis.omx.observ.value.Value
org.molgenis.omx.observ.value.XrefValue
@Entity public class XrefValue
XrefValue: .
| Field Summary | |
|---|---|
static String |
ID
|
static String |
VALUE
|
static String |
VALUE_IDENTIFIER
|
| Fields inherited from class org.molgenis.omx.observ.value.Value |
|---|
__TYPE |
| Constructor Summary | |
|---|---|
XrefValue()
|
|
XrefValue(XrefValue copyMe)
copy constructor |
|
| Method Summary | |
|---|---|
XrefValue |
create(Tuple tuple)
|
boolean |
equals(Object obj)
|
static List<? extends XrefValue> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(XrefValue.class, org.molgenis.framework.db.QueryRule ... |
static XrefValue |
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 XrefValue. |
String |
getFields(String sep)
Deprecated. |
String |
getIdField()
|
Object |
getIdValue()
|
List<String> |
getLabelFields()
|
Integer |
getValue_Id()
|
String |
getValue_Identifier()
Get a pretty label Identifier for cross reference Value to Characteristic.Id. |
Characteristic |
getValue()
Get the Value. |
Characteristic |
getValue(Database db)
Deprecated. |
String |
getValues(String sep)
Deprecated. |
String |
getXrefIdFieldName(String fieldName)
|
int |
hashCode()
|
static Query<? extends XrefValue> |
query(Database db)
Shorthand for db.query(XrefValue.class). |
void |
set(Tuple tuple,
boolean strict)
|
void |
setValue_Id(Integer value_id)
Set foreign key for field value. |
void |
setValue_Identifier(String value_Identifier)
Set a pretty label for cross reference Value to Characteristic.Id. |
void |
setValue(Characteristic value)
Set the Value. |
void |
setValue(Integer value_id)
|
String |
toString()
|
String |
toString(boolean verbose)
|
void |
validate()
|
| Methods inherited from class org.molgenis.omx.observ.value.Value |
|---|
get__Type, get__Type, get__TypeLabel, get__TypeOptions, getId, set__Type, setId |
| Methods inherited from class org.molgenis.util.AbstractEntity |
|---|
getLabelValue, getValues, isObjectRepresentation, isReadonly, set, set, setReadonly, setValuesFromString, string2date |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.molgenis.util.Entity |
|---|
getLabelValue, getValues, isReadonly, set, set, setReadonly |
| Field Detail |
|---|
public static final String VALUE
public static final String VALUE_IDENTIFIER
public static final String ID
| Constructor Detail |
|---|
public XrefValue()
public XrefValue(XrefValue copyMe)
throws Exception
Exception| Method Detail |
|---|
public static Query<? extends XrefValue> query(Database db)
public static List<? extends XrefValue> find(Database db,
QueryRule... rules)
throws DatabaseException
DatabaseException
public static XrefValue findById(Database db,
Integer id)
throws DatabaseException
DatabaseExceptionpublic Characteristic getValue()
@Deprecated public Characteristic getValue(Database db)
public void setValue(Characteristic value)
value - public void setValue_Id(Integer value_id)
public void setValue(Integer value_id)
public Integer getValue_Id()
public String getValue_Identifier()
public void setValue_Identifier(String value_Identifier)
public Object get(String name)
get in interface Entityget in class Value
public void validate()
throws DatabaseException
validate in interface Entityvalidate in class ValueDatabaseException
public void set(Tuple tuple,
boolean strict)
throws Exception
set in interface Entityset in class ValueExceptionpublic String toString()
toString in class Valuepublic String toString(boolean verbose)
toString in class Valuepublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class Valuepublic Vector<String> getFields()
getFields in interface EntitygetFields in class Valuepublic 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)
getFields in interface EntitygetFields in class Valuepublic 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)
getValues in interface EntitygetValues in class Value
public XrefValue create(Tuple tuple)
throws Exception
create in interface Entitycreate in class ValueExceptionpublic boolean equals(Object obj)
equals in class Valuepublic int hashCode()
hashCode in class Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||