|
||||||||||
| 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.ngs.SampleBarcode
@Entity public class SampleBarcode
SampleBarcode: .
| Field Summary | |
|---|---|
static String |
ID
|
static String |
SAMPLEBARCODENAME
|
static String |
SAMPLEBARCODENR
|
static String |
SAMPLEBARCODESEQUENCE
|
static String |
SAMPLEBARCODETYPE
|
static String |
SAMPLEBARCODETYPE_SAMPLEBARCODETYPENAME
|
| Constructor Summary | |
|---|---|
SampleBarcode()
|
|
SampleBarcode(SampleBarcode copyMe)
copy constructor |
|
| Method Summary | |
|---|---|
SampleBarcode |
create(Tuple tuple)
|
boolean |
equals(Object obj)
|
static List<? extends SampleBarcode> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(SampleBarcode.class, org.molgenis.framework.db.QueryRule ... |
static SampleBarcode |
findById(Database db,
Integer id)
|
static SampleBarcode |
findBySampleBarcodeName(Database db,
String sampleBarcodeName)
|
static SampleBarcode |
findBySampleBarcodeTypeSampleBarcodeNrSampleBarcodeSequence(Database db,
Integer sampleBarcodeType,
String sampleBarcodeNr,
String sampleBarcodeSequence)
|
Object |
get(String name)
Generic getter. |
Vector<String> |
getFields()
|
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of SampleBarcode. |
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 |
getSampleBarcodeName()
Get the A concatenated value of Type, Nr and Sequence. |
String |
getSampleBarcodeName(Database db)
Deprecated. |
String |
getSampleBarcodeNr()
Get the The identifier of a barcode given by the supplier. |
String |
getSampleBarcodeNr(Database db)
Deprecated. |
String |
getSampleBarcodeSequence()
Get the The nucleotide sequence which forms the barcode. |
String |
getSampleBarcodeSequence(Database db)
Deprecated. |
Integer |
getSampleBarcodeType_Id()
|
String |
getSampleBarcodeType_SampleBarcodeTypeName()
Get a pretty label SampleBarcodeTypeName for cross reference SampleBarcodeType to SampleBarcodeType.Id. |
SampleBarcodeType |
getSampleBarcodeType()
Get the Type. |
SampleBarcodeType |
getSampleBarcodeType(Database db)
Deprecated. |
String |
getValues(String sep)
Deprecated. |
String |
getXrefIdFieldName(String fieldName)
|
int |
hashCode()
|
static Query<? extends SampleBarcode> |
query(Database db)
Shorthand for db.query(SampleBarcode.class). |
void |
set(Tuple tuple,
boolean strict)
|
void |
setId(Integer id)
Set the automatically generated internal id, only for internal use.. |
void |
setSampleBarcodeName(String sampleBarcodeName)
Set the A concatenated value of Type, Nr and Sequence. |
void |
setSampleBarcodeNr(String sampleBarcodeNr)
Set the The identifier of a barcode given by the supplier. |
void |
setSampleBarcodeSequence(String sampleBarcodeSequence)
Set the The nucleotide sequence which forms the barcode. |
void |
setSampleBarcodeType_Id(Integer sampleBarcodeType_id)
Set foreign key for field sampleBarcodeType. |
void |
setSampleBarcodeType_SampleBarcodeTypeName(String sampleBarcodeType_SampleBarcodeTypeName)
Set a pretty label for cross reference SampleBarcodeType to SampleBarcodeType.Id. |
void |
setSampleBarcodeType(Integer sampleBarcodeType_id)
|
void |
setSampleBarcodeType(SampleBarcodeType sampleBarcodeType)
Set the Type. |
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 |
|---|
public static final String ID
public static final String SAMPLEBARCODENR
public static final String SAMPLEBARCODESEQUENCE
public static final String SAMPLEBARCODETYPE
public static final String SAMPLEBARCODETYPE_SAMPLEBARCODETYPENAME
public static final String SAMPLEBARCODENAME
| Constructor Detail |
|---|
public SampleBarcode()
public SampleBarcode(SampleBarcode copyMe)
throws Exception
Exception| Method Detail |
|---|
public static Query<? extends SampleBarcode> query(Database db)
public static List<? extends SampleBarcode> find(Database db,
QueryRule... rules)
throws DatabaseException
DatabaseException
public static SampleBarcode findById(Database db,
Integer id)
throws DatabaseException
DatabaseException
public static SampleBarcode findBySampleBarcodeName(Database db,
String sampleBarcodeName)
throws DatabaseException
DatabaseException
public static SampleBarcode findBySampleBarcodeTypeSampleBarcodeNrSampleBarcodeSequence(Database db,
Integer sampleBarcodeType,
String sampleBarcodeNr,
String sampleBarcodeSequence)
throws DatabaseException
DatabaseExceptionpublic Integer getId()
getId in interface Autoidpublic void setId(Integer id)
setId in interface Autoidid - public String getSampleBarcodeNr()
@Deprecated public String getSampleBarcodeNr(Database db)
public void setSampleBarcodeNr(String sampleBarcodeNr)
sampleBarcodeNr - public String getSampleBarcodeSequence()
@Deprecated public String getSampleBarcodeSequence(Database db)
public void setSampleBarcodeSequence(String sampleBarcodeSequence)
sampleBarcodeSequence - public SampleBarcodeType getSampleBarcodeType()
@Deprecated public SampleBarcodeType getSampleBarcodeType(Database db)
public void setSampleBarcodeType(SampleBarcodeType sampleBarcodeType)
sampleBarcodeType - public void setSampleBarcodeType_Id(Integer sampleBarcodeType_id)
public void setSampleBarcodeType(Integer sampleBarcodeType_id)
public Integer getSampleBarcodeType_Id()
public String getSampleBarcodeType_SampleBarcodeTypeName()
public void setSampleBarcodeType_SampleBarcodeTypeName(String sampleBarcodeType_SampleBarcodeTypeName)
public String getSampleBarcodeName()
@Deprecated public String getSampleBarcodeName(Database db)
public void setSampleBarcodeName(String sampleBarcodeName)
sampleBarcodeName - public Object get(String name)
get in interface Entity
public void validate()
throws DatabaseException
validate in interface EntityDatabaseException
public void set(Tuple tuple,
boolean strict)
throws Exception
set in interface EntityExceptionpublic String toString()
toString in class Objectpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
getFields in interface Entitypublic Vector<String> getFields()
getFields in interface Entitypublic String getIdField()
getIdField in interface Entitypublic List<String> getLabelFields()
getLabelFields in interface Entity@Deprecated public String getFields(String sep)
getFields in interface Entitypublic 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 AbstractEntity
public SampleBarcode create(Tuple tuple)
throws Exception
create in interface EntityExceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||