@Entity public class PairedSample extends ObservationTarget
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
LABEL1 |
static String |
LABEL1_IDENTIFIER |
static String |
LABEL2 |
static String |
LABEL2_IDENTIFIER |
static String |
SUBJECT1 |
static String |
SUBJECT1_IDENTIFIER |
static String |
SUBJECT2 |
static String |
SUBJECT2_IDENTIFIER |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
PairedSample() |
PairedSample(PairedSample copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
PairedSample |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends PairedSample> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(PairedSample.class, org.molgenis.framework.db.QueryRule ...
|
static PairedSample |
findById(Database db,
Integer id) |
static PairedSample |
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 PairedSample.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
Integer |
getLabel1_Id() |
String |
getLabel1_Identifier()
Get a pretty label Identifier for cross reference Label1 to OntologyTerm.Id.
|
OntologyTerm |
getLabel1()
Get the Which channel or Fluorescent labeling is associated with the first subject.
|
OntologyTerm |
getLabel1(Database db)
Deprecated.
|
Integer |
getLabel2_Id() |
String |
getLabel2_Identifier()
Get a pretty label Identifier for cross reference Label2 to OntologyTerm.Id.
|
OntologyTerm |
getLabel2()
Get the Which channel or Fluorescent labeling is associated with the second subject.
|
OntologyTerm |
getLabel2(Database db)
Deprecated.
|
List<String> |
getLabelFields() |
Integer |
getSubject1_Id() |
String |
getSubject1_Identifier()
Get a pretty label Identifier for cross reference Subject1 to Individual.Id.
|
Individual |
getSubject1()
Get the The first subject.
|
Individual |
getSubject1(Database db)
Deprecated.
|
Integer |
getSubject2_Id() |
String |
getSubject2_Identifier()
Get a pretty label Identifier for cross reference Subject2 to Individual.Id.
|
Individual |
getSubject2()
Get the The second sample.
|
Individual |
getSubject2(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends PairedSample> |
query(Database db)
Shorthand for db.query(PairedSample.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setLabel1_Id(Integer label1_id)
Set foreign key for field label1.
|
void |
setLabel1_Identifier(String label1_Identifier)
Set a pretty label for cross reference Label1 to OntologyTerm.Id.
|
void |
setLabel1(Integer label1_id) |
void |
setLabel1(OntologyTerm label1)
Set the Which channel or Fluorescent labeling is associated with the first subject.
|
void |
setLabel2_Id(Integer label2_id)
Set foreign key for field label2.
|
void |
setLabel2_Identifier(String label2_Identifier)
Set a pretty label for cross reference Label2 to OntologyTerm.Id.
|
void |
setLabel2(Integer label2_id) |
void |
setLabel2(OntologyTerm label2)
Set the Which channel or Fluorescent labeling is associated with the second subject.
|
void |
setSubject1_Id(Integer subject1_id)
Set foreign key for field subject1.
|
void |
setSubject1_Identifier(String subject1_Identifier)
Set a pretty label for cross reference Subject1 to Individual.Id.
|
void |
setSubject1(Individual subject1)
Set the The first subject.
|
void |
setSubject1(Integer subject1_id) |
void |
setSubject2_Id(Integer subject2_id)
Set foreign key for field subject2.
|
void |
setSubject2_Identifier(String subject2_Identifier)
Set a pretty label for cross reference Subject2 to Individual.Id.
|
void |
setSubject2(Individual subject2)
Set the The second sample.
|
void |
setSubject2(Integer subject2_id) |
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 SUBJECT1
public static final String SUBJECT1_IDENTIFIER
public static final String LABEL1
public static final String LABEL1_IDENTIFIER
public static final String SUBJECT2
public static final String SUBJECT2_IDENTIFIER
public static final String LABEL2
public static final String LABEL2_IDENTIFIER
public static final String ID
public PairedSample()
public PairedSample(PairedSample copyMe) throws Exception
Exceptionpublic static Query<? extends PairedSample> query(Database db)
public static List<? extends PairedSample> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static PairedSample findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static PairedSample findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic Individual getSubject1()
@Deprecated public Individual getSubject1(Database db)
public void setSubject1(Individual subject1)
subject1 - public void setSubject1_Id(Integer subject1_id)
public void setSubject1(Integer subject1_id)
public Integer getSubject1_Id()
public String getSubject1_Identifier()
public void setSubject1_Identifier(String subject1_Identifier)
public OntologyTerm getLabel1()
@Deprecated public OntologyTerm getLabel1(Database db)
public void setLabel1(OntologyTerm label1)
label1 - public void setLabel1_Id(Integer label1_id)
public void setLabel1(Integer label1_id)
public Integer getLabel1_Id()
public String getLabel1_Identifier()
public void setLabel1_Identifier(String label1_Identifier)
public Individual getSubject2()
@Deprecated public Individual getSubject2(Database db)
public void setSubject2(Individual subject2)
subject2 - public void setSubject2_Id(Integer subject2_id)
public void setSubject2(Integer subject2_id)
public Integer getSubject2_Id()
public String getSubject2_Identifier()
public void setSubject2_Identifier(String subject2_Identifier)
public OntologyTerm getLabel2()
@Deprecated public OntologyTerm getLabel2(Database db)
public void setLabel2(OntologyTerm label2)
label2 - public void setLabel2_Id(Integer label2_id)
public void setLabel2(Integer label2_id)
public Integer getLabel2_Id()
public String getLabel2_Identifier()
public void setLabel2_Identifier(String label2_Identifier)
public Object get(String name)
get in interface Entityget in class ObservationTargetpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class ObservationTargetDatabaseExceptionpublic void set(Entity entity, boolean strict) throws Exception
set in interface Entityset in class ObservationTargetExceptionpublic String toString()
toString in class ObservationTargetpublic String toString(boolean verbose)
toString in class ObservationTargetpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class ObservationTargetpublic Vector<String> getFields()
getFields in interface EntitygetFields in class ObservationTargetpublic String getIdField()
getIdField in interface EntitygetIdField in class ObservationTargetpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class ObservationTarget@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class ObservationTargetpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class ObservationTargetpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class ObservationTarget@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class ObservationTargetpublic PairedSample create(Entity entity) throws Exception
create in interface Entitycreate in class ObservationTargetExceptionpublic boolean equals(Object obj)
equals in class ObservationTargetpublic int hashCode()
hashCode in class ObservationTargetCopyright © 2013. All Rights Reserved.