org.molgenis.omx.ngs
Class PrepKit

java.lang.Object
  extended by org.molgenis.util.AbstractEntity
      extended by org.molgenis.omx.ngs.PrepKit
All Implemented Interfaces:
Serializable, Autoid, Entity

@Entity
public class PrepKit
extends AbstractEntity
implements Autoid

PrepKit: .

Author:
MOLGENIS generator
See Also:
Serialized Form

Field Summary
static String ID
           
static String PREPKITNAME
           
 
Constructor Summary
PrepKit()
           
PrepKit(PrepKit copyMe)
          copy constructor
 
Method Summary
 PrepKit create(Tuple tuple)
           
 boolean equals(Object obj)
           
static List<? extends PrepKit> find(Database db, QueryRule... rules)
          Shorthand for db.find(PrepKit.class, org.molgenis.framework.db.QueryRule ...
static PrepKit findById(Database db, Integer id)
           
static PrepKit findByPrepKitName(Database db, String prepKitName)
           
 Object get(String name)
          Generic getter.
 Vector<String> getFields()
           
 Vector<String> getFields(boolean skipAutoIds)
          Get the names of all public properties of PrepKit.
 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 getPrepKitName()
          Get the The name of a prep kit.
 String getPrepKitName(Database db)
          Deprecated. 
 String getValues(String sep)
          Deprecated. 
 String getXrefIdFieldName(String fieldName)
           
 int hashCode()
           
static Query<? extends PrepKit> query(Database db)
          Shorthand for db.query(PrepKit.class).
 void set(Tuple tuple, boolean strict)
           
 void setId(Integer id)
          Set the automatically generated internal id, only for internal use..
 void setPrepKitName(String prepKitName)
          Set the The name of a prep kit.
 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
 
Methods inherited from interface org.molgenis.util.Entity
getLabelValue, getValues, isReadonly, set, set, setReadonly
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

PREPKITNAME

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

PrepKit

public PrepKit()

PrepKit

public PrepKit(PrepKit copyMe)
        throws Exception
copy constructor

Throws:
Exception
Method Detail

query

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


find

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

Throws:
DatabaseException

findById

public static PrepKit findById(Database db,
                               Integer id)
                        throws DatabaseException
Throws:
DatabaseException

findByPrepKitName

public static PrepKit findByPrepKitName(Database db,
                                        String prepKitName)
                                 throws DatabaseException
Throws:
DatabaseException

getId

public Integer getId()
Get the automatically generated internal id, only for internal use..

Specified by:
getId in interface Autoid
Returns:
id.

setId

public void setId(Integer id)
Set the automatically generated internal id, only for internal use..

Specified by:
setId in interface Autoid
Parameters:
id -

getPrepKitName

public String getPrepKitName()
Get the The name of a prep kit.

Returns:
prepKitName.

getPrepKitName

@Deprecated
public String getPrepKitName(Database db)
Deprecated. 


setPrepKitName

public void setPrepKitName(String prepKitName)
Set the The name of a prep kit.

Parameters:
prepKitName -

get

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

Specified by:
get in interface Entity

validate

public void validate()
              throws DatabaseException
Specified by:
validate in interface Entity
Throws:
DatabaseException

set

public void set(Tuple tuple,
                boolean strict)
         throws Exception
Specified by:
set in interface Entity
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 PrepKit.

Specified by:
getFields in interface Entity

getFields

public Vector<String> getFields()
Specified by:
getFields in interface Entity

getIdField

public String getIdField()
Specified by:
getIdField in interface Entity

getLabelFields

public List<String> getLabelFields()
Specified by:
getLabelFields in interface Entity

getFields

@Deprecated
public String getFields(String sep)
Deprecated. 

Specified by:
getFields in interface Entity

getIdValue

public Object getIdValue()
Specified by:
getIdValue in interface Entity

getXrefIdFieldName

public String getXrefIdFieldName(String fieldName)
Specified by:
getXrefIdFieldName in interface Entity

getValues

@Deprecated
public String getValues(String sep)
Deprecated. 

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

create

public PrepKit create(Tuple tuple)
               throws Exception
Specified by:
create in interface Entity
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.