@Entity public class Chromosome extends ObservationTarget
| Modifier and Type | Field and Description |
|---|---|
static String |
BPLENGTH |
static String |
ID |
static String |
ISAUTOSOMAL |
static String |
ORDERNR |
static String |
SPECIES |
static String |
SPECIES_IDENTIFIER |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Chromosome() |
Chromosome(Chromosome copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Chromosome> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Chromosome.class, org.molgenis.framework.db.QueryRule ...
|
static Chromosome |
findById(Database db,
Integer id) |
static Chromosome |
findByIdentifier(Database db,
String identifier) |
Object |
get(String name)
Generic getter.
|
Integer |
getBpLength()
Get the Lenght of the chromsome in base pairs..
|
Integer |
getBpLength(Database db)
Deprecated.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Chromosome.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
Boolean |
getIsAutosomal()
Get the Is 'yes' when number of chromosomes is equal in male and female individuals, i.e., if not a sex chromosome..
|
Boolean |
getIsAutosomal(Database db)
Deprecated.
|
List<String> |
getLabelFields() |
Integer |
getOrderNr()
Get the orderNr.
|
Integer |
getOrderNr(Database db)
Deprecated.
|
Integer |
getSpecies_Id() |
String |
getSpecies_Identifier()
Get a pretty label Identifier for cross reference Species to OntologyTerm.Id.
|
OntologyTerm |
getSpecies()
Get the Reference to the species this chromosome belongs to..
|
OntologyTerm |
getSpecies(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Chromosome> |
query(Database db)
Shorthand for db.query(Chromosome.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setBpLength(Integer bpLength)
Set the Lenght of the chromsome in base pairs..
|
void |
setIsAutosomal(Boolean isAutosomal)
Set the Is 'yes' when number of chromosomes is equal in male and female individuals, i.e., if not a sex chromosome..
|
void |
setOrderNr(Integer orderNr)
Set the orderNr.
|
void |
setSpecies_Id(Integer species_id)
Set foreign key for field species.
|
void |
setSpecies_Identifier(String species_Identifier)
Set a pretty label for cross reference Species to OntologyTerm.Id.
|
void |
setSpecies(Integer species_id) |
void |
setSpecies(OntologyTerm species)
Set the Reference to the species this chromosome belongs to..
|
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 ORDERNR
public static final String ISAUTOSOMAL
public static final String BPLENGTH
public static final String SPECIES
public static final String SPECIES_IDENTIFIER
public static final String ID
public Chromosome()
public Chromosome(Chromosome copyMe) throws Exception
Exceptionpublic static Query<? extends Chromosome> query(Database db)
public static List<? extends Chromosome> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Chromosome findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Chromosome findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic Integer getOrderNr()
@Deprecated public Integer getOrderNr(Database db)
public void setOrderNr(Integer orderNr)
orderNr - public Boolean getIsAutosomal()
@Deprecated public Boolean getIsAutosomal(Database db)
public void setIsAutosomal(Boolean isAutosomal)
isAutosomal - public Integer getBpLength()
@Deprecated public Integer getBpLength(Database db)
public void setBpLength(Integer bpLength)
bpLength - public OntologyTerm getSpecies()
@Deprecated public OntologyTerm getSpecies(Database db)
public void setSpecies(OntologyTerm species)
species - public void setSpecies_Id(Integer species_id)
public void setSpecies(Integer species_id)
public Integer getSpecies_Id()
public String getSpecies_Identifier()
public void setSpecies_Identifier(String species_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 Chromosome 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.