|
||||||||||
| 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.observ.Characteristic
org.molgenis.omx.observ.target.OntologyTerm
org.molgenis.omx.auth.PersonRole
@Entity public class PersonRole
PersonRole: Seperate type of ontologyTerm to administrate roles..
| Field Summary | |
|---|---|
static String |
ID
|
| Fields inherited from class org.molgenis.omx.observ.target.OntologyTerm |
|---|
DEFINITION, ONTOLOGY, ONTOLOGY_IDENTIFIER, TERMACCESSION |
| Fields inherited from class org.molgenis.omx.observ.Characteristic |
|---|
__TYPE, DESCRIPTION, IDENTIFIER, NAME |
| Constructor Summary | |
|---|---|
PersonRole()
|
|
PersonRole(PersonRole copyMe)
copy constructor |
|
| Method Summary | |
|---|---|
PersonRole |
create(Tuple tuple)
|
boolean |
equals(Object obj)
|
static List<? extends PersonRole> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(PersonRole.class, org.molgenis.framework.db.QueryRule ... |
static PersonRole |
findById(Database db,
Integer id)
|
static PersonRole |
findByIdentifier(Database db,
String identifier)
|
static PersonRole |
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 PersonRole. |
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 PersonRole> |
query(Database db)
Shorthand for db.query(PersonRole.class). |
void |
set(Tuple tuple,
boolean strict)
|
String |
toString()
|
String |
toString(boolean verbose)
|
void |
validate()
|
| Methods inherited from class org.molgenis.omx.observ.target.OntologyTerm |
|---|
getDefinition, getDefinition, getOntology_Id, getOntology_Identifier, getOntology, getOntology, getTermAccession, getTermAccession, setDefinition, setOntology_Id, setOntology_Identifier, setOntology, setOntology, setTermAccession |
| Methods inherited from class org.molgenis.omx.observ.Characteristic |
|---|
get__Type, get__Type, get__TypeLabel, get__TypeOptions, getDescription, getDescription, getId, getIdentifier, getIdentifier, getName, getName, getValueMrefValueCollection, getValueMrefValueCollection, set__Type, setDescription, setId, setIdentifier, setName, setValueMrefValueCollection |
| Methods inherited from class org.molgenis.util.AbstractEntity |
|---|
getLabelValue, getValues, isObjectRepresentation, isReadonly, 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
| Constructor Detail |
|---|
public PersonRole()
public PersonRole(PersonRole copyMe)
throws Exception
Exception| Method Detail |
|---|
public static Query<? extends PersonRole> query(Database db)
public static List<? extends PersonRole> find(Database db,
QueryRule... rules)
throws DatabaseException
DatabaseException
public static PersonRole findById(Database db,
Integer id)
throws DatabaseException
DatabaseException
public static PersonRole findByIdentifier(Database db,
String identifier)
throws DatabaseException
DatabaseException
public static PersonRole findByOntologyTermAccession(Database db,
Integer ontology,
String termAccession)
throws DatabaseException
DatabaseExceptionpublic Object get(String name)
get in interface Entityget in class OntologyTerm
public void validate()
throws DatabaseException
validate in interface Entityvalidate in class OntologyTermDatabaseException
public void set(Tuple tuple,
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 OntologyTerm
public PersonRole create(Tuple tuple)
throws Exception
create in interface Entitycreate in class OntologyTermExceptionpublic boolean equals(Object obj)
equals in class OntologyTermpublic int hashCode()
hashCode in class OntologyTerm
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||