@Entity public class Protein extends ObservationTarget
| Modifier and Type | Field and Description |
|---|---|
static String |
AMINOSEQUENCE |
static String |
GENE |
static String |
GENE_IDENTIFIER |
static String |
ID |
static String |
MASS |
static String |
TRANSCRIPT |
static String |
TRANSCRIPT_IDENTIFIER |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Protein() |
Protein(Protein copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Protein |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Protein> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Protein.class, org.molgenis.framework.db.QueryRule ...
|
static Protein |
findById(Database db,
Integer id) |
static Protein |
findByIdentifier(Database db,
String identifier) |
Object |
get(String name)
Generic getter.
|
String |
getAminoSequence()
Get the The aminoacid sequence..
|
String |
getAminoSequence(Database db)
Deprecated.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Protein.
|
String |
getFields(String sep)
Deprecated.
|
Integer |
getGene_Id() |
String |
getGene_Identifier()
Get a pretty label Identifier for cross reference Gene to Gene.Id.
|
Gene |
getGene()
Get the The gene that produces this protein.
|
Gene |
getGene(Database db)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
Double |
getMass()
Get the The mass of this metabolite.
|
Double |
getMass(Database db)
Deprecated.
|
Integer |
getTranscript_Id() |
String |
getTranscript_Identifier()
Get a pretty label Identifier for cross reference Transcript to Transcript.Id.
|
Transcript |
getTranscript()
Get the The transcript variant that produces this protein.
|
Transcript |
getTranscript(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Protein> |
query(Database db)
Shorthand for db.query(Protein.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setAminoSequence(String aminoSequence)
Set the The aminoacid sequence..
|
void |
setGene_Id(Integer gene_id)
Set foreign key for field gene.
|
void |
setGene_Identifier(String gene_Identifier)
Set a pretty label for cross reference Gene to Gene.Id.
|
void |
setGene(Gene gene)
Set the The gene that produces this protein.
|
void |
setGene(Integer gene_id) |
void |
setMass(Double mass)
Set the The mass of this metabolite.
|
void |
setTranscript_Id(Integer transcript_id)
Set foreign key for field transcript.
|
void |
setTranscript_Identifier(String transcript_Identifier)
Set a pretty label for cross reference Transcript to Transcript.Id.
|
void |
setTranscript(Integer transcript_id) |
void |
setTranscript(Transcript transcript)
Set the The transcript variant that produces this protein.
|
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 GENE
public static final String GENE_IDENTIFIER
public static final String TRANSCRIPT
public static final String TRANSCRIPT_IDENTIFIER
public static final String AMINOSEQUENCE
public static final String MASS
public static final String ID
public static Query<? extends Protein> query(Database db)
public static List<? extends Protein> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Protein findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Protein findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic Gene getGene()
@Deprecated public Gene getGene(Database db)
public void setGene(Gene gene)
gene - public void setGene_Id(Integer gene_id)
public void setGene(Integer gene_id)
public Integer getGene_Id()
public String getGene_Identifier()
public void setGene_Identifier(String gene_Identifier)
public Transcript getTranscript()
@Deprecated public Transcript getTranscript(Database db)
public void setTranscript(Transcript transcript)
transcript - public void setTranscript_Id(Integer transcript_id)
public void setTranscript(Integer transcript_id)
public Integer getTranscript_Id()
public String getTranscript_Identifier()
public void setTranscript_Identifier(String transcript_Identifier)
public String getAminoSequence()
@Deprecated public String getAminoSequence(Database db)
public void setAminoSequence(String aminoSequence)
aminoSequence - public Double getMass()
@Deprecated public Double getMass(Database db)
public void setMass(Double mass)
mass - 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 Protein 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.