org.molgenis.omx.observ.value
Class MrefValue_Value

java.lang.Object
  extended by org.molgenis.util.AbstractEntity
      extended by org.molgenis.omx.observ.value.MrefValue_Value
All Implemented Interfaces:
Serializable, Entity

public class MrefValue_Value
extends AbstractEntity

MrefValue_Value: Link table for many-to-many relationship 'MrefValue.Value'..

Author:
MOLGENIS generator
See Also:
Serialized Form

Field Summary
static String AUTOID
           
static String MREFVALUE
           
static String MREFVALUE_ID
           
static String VALUE
           
static String VALUE_IDENTIFIER
           
 
Constructor Summary
MrefValue_Value()
           
MrefValue_Value(MrefValue_Value copyMe)
          copy constructor
 
Method Summary
 MrefValue_Value create(Tuple tuple)
           
 boolean equals(Object obj)
           
static List<? extends MrefValue_Value> find(Database db, QueryRule... rules)
          Shorthand for db.find(MrefValue_Value.class, org.molgenis.framework.db.QueryRule ...
static MrefValue_Value findByAutoid(Database db, Integer autoid)
           
static MrefValue_Value findByValueMrefValue(Database db, Integer value, Integer mrefValue)
           
 Object get(String name)
          Generic getter.
 Integer getAutoid()
          Get the automatic id field to ensure ordering of mrefs.
 Vector<String> getFields()
           
 Vector<String> getFields(boolean skipAutoIds)
          Get the names of all public properties of MrefValue_Value.
 String getFields(String sep)
          Deprecated. 
 String getIdField()
           
 Object getIdValue()
           
 List<String> getLabelFields()
           
 Integer getMrefValue_Id()
           
 MrefValue getMrefValue()
          Get the .
 MrefValue getMrefValue(Database db)
          Deprecated. 
 Integer getValue_Id()
           
 String getValue_Identifier()
          Get a pretty label Identifier for cross reference Value to Characteristic.Id.
 Characteristic getValue()
          Get the .
 Characteristic getValue(Database db)
          Deprecated. 
 String getValues(String sep)
          Deprecated. 
 String getXrefIdFieldName(String fieldName)
           
 int hashCode()
           
static Query<? extends MrefValue_Value> query(Database db)
          Shorthand for db.query(MrefValue_Value.class).
 void set(Tuple tuple, boolean strict)
           
 void setAutoid(Integer autoid)
          Set the automatic id field to ensure ordering of mrefs.
 void setMrefValue_Id(Integer mrefValue_id)
          Set foreign key for field mrefValue.
 void setMrefValue(Integer mrefValue_id)
           
 void setMrefValue(MrefValue mrefValue)
          Set the .
 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 .
 void setValue(Integer value_id)
           
 String toString()
           
 String toString(boolean verbose)
           
 void validate()
           
 
Methods inherited from class org.molgenis.util.AbstractEntity
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2date
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTOID

public static final String AUTOID
See Also:
Constant Field Values

VALUE

public static final String VALUE
See Also:
Constant Field Values

VALUE_IDENTIFIER

public static final String VALUE_IDENTIFIER
See Also:
Constant Field Values

MREFVALUE

public static final String MREFVALUE
See Also:
Constant Field Values

MREFVALUE_ID

public static final String MREFVALUE_ID
See Also:
Constant Field Values
Constructor Detail

MrefValue_Value

public MrefValue_Value()

MrefValue_Value

public MrefValue_Value(MrefValue_Value copyMe)
                throws Exception
copy constructor

Throws:
Exception
Method Detail

query

public static Query<? extends MrefValue_Value> query(Database db)
Shorthand for db.query(MrefValue_Value.class).


find

public static List<? extends MrefValue_Value> find(Database db,
                                                   QueryRule... rules)
                                            throws DatabaseException
Shorthand for db.find(MrefValue_Value.class, org.molgenis.framework.db.QueryRule ... rules).

Throws:
DatabaseException

findByAutoid

public static MrefValue_Value findByAutoid(Database db,
                                           Integer autoid)
                                    throws DatabaseException
Throws:
DatabaseException

findByValueMrefValue

public static MrefValue_Value findByValueMrefValue(Database db,
                                                   Integer value,
                                                   Integer mrefValue)
                                            throws DatabaseException
Throws:
DatabaseException

getAutoid

public Integer getAutoid()
Get the automatic id field to ensure ordering of mrefs.

Returns:
autoid.

setAutoid

public void setAutoid(Integer autoid)
Set the automatic id field to ensure ordering of mrefs.

Parameters:
autoid -

getValue

public Characteristic getValue()
Get the .

Returns:
value.

getValue

@Deprecated
public Characteristic getValue(Database db)
Deprecated. 


setValue

public void setValue(Characteristic value)
Set the .

Parameters:
value -

setValue_Id

public void setValue_Id(Integer value_id)
Set foreign key for field value. This will erase any foreign key objects currently set. FIXME: can we autoload the new object?


setValue

public void setValue(Integer value_id)

getValue_Id

public Integer getValue_Id()

getValue_Identifier

public String getValue_Identifier()
Get a pretty label Identifier for cross reference Value to Characteristic.Id.


setValue_Identifier

public void setValue_Identifier(String value_Identifier)
Set a pretty label for cross reference Value to Characteristic.Id. Implies setValue(null) until save


getMrefValue

public MrefValue getMrefValue()
Get the .

Returns:
mrefValue.

getMrefValue

@Deprecated
public MrefValue getMrefValue(Database db)
Deprecated. 


setMrefValue

public void setMrefValue(MrefValue mrefValue)
Set the .

Parameters:
mrefValue -

setMrefValue_Id

public void setMrefValue_Id(Integer mrefValue_id)
Set foreign key for field mrefValue. This will erase any foreign key objects currently set. FIXME: can we autoload the new object?


setMrefValue

public void setMrefValue(Integer mrefValue_id)

getMrefValue_Id

public Integer getMrefValue_Id()

get

public Object get(String name)
Generic getter. Get the property by using the name.


validate

public void validate()
              throws DatabaseException
Throws:
DatabaseException

set

public void set(Tuple tuple,
                boolean strict)
         throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(boolean verbose)

getFields

public Vector<String> getFields(boolean skipAutoIds)
Get the names of all public properties of MrefValue_Value.


getFields

public Vector<String> getFields()

getIdField

public String getIdField()

getLabelFields

public List<String> getLabelFields()

getFields

@Deprecated
public String getFields(String sep)
Deprecated. 


getIdValue

public Object getIdValue()

getXrefIdFieldName

public String getXrefIdFieldName(String fieldName)

getValues

@Deprecated
public String getValues(String sep)
Deprecated. 

Specified by:
getValues in interface Entity
Overrides:
getValues in class AbstractEntity

create

public MrefValue_Value create(Tuple tuple)
                       throws Exception
Throws:
Exception

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.