@Entity public class Accession extends OntologyTerm
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
DEFINITION, ONTOLOGY, ONTOLOGY_IDENTIFIER, TERMACCESSION__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Accession() |
Accession(Accession copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Accession |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Accession> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Accession.class, org.molgenis.framework.db.QueryRule ...
|
static Accession |
findById(Database db,
Integer id) |
static Accession |
findByIdentifier(Database db,
String identifier) |
static Accession |
findByOntologyTermAccession(Database db,
Integer ontology,
String termAccession) |
Object |
get(String name)
Generic getter.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Accession.
|
String |
getFields(String sep)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends Accession> |
query(Database db)
Shorthand for db.query(Accession.class).
|
void |
set(Entity entity,
boolean strict) |
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
getDefinition, getDefinition, getDefinitionsObservableFeatureCollection, getDefinitionsObservableFeatureCollection, getOntology_Id, getOntology_Identifier, getOntology, getOntology, getTermAccession, getTermAccession, setDefinition, setDefinitionsObservableFeatureCollection, setOntology_Id, setOntology_Identifier, setOntology, setOntology, setTermAccessionget__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 ID
public static Query<? extends Accession> query(Database db)
public static List<? extends Accession> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Accession findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Accession findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic static Accession findByOntologyTermAccession(Database db, Integer ontology, String termAccession) throws DatabaseException
DatabaseExceptionpublic Object get(String name)
get in interface Entityget in class OntologyTermpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class OntologyTermDatabaseExceptionpublic void set(Entity entity, boolean strict) throws Exception
set in interface Entityset in class OntologyTermExceptionpublic String toString()
toString in class OntologyTermpublic String toString(boolean verbose)
toString in class OntologyTermpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class OntologyTermpublic Vector<String> getFields()
getFields in interface EntitygetFields in class OntologyTermpublic String getIdField()
getIdField in interface EntitygetIdField in class OntologyTermpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class OntologyTerm@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class OntologyTermpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class OntologyTermpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class OntologyTerm@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class OntologyTermpublic Accession create(Entity entity) throws Exception
create in interface Entitycreate in class OntologyTermExceptionpublic boolean equals(Object obj)
equals in class OntologyTermpublic int hashCode()
hashCode in class OntologyTermCopyright © 2013. All Rights Reserved.