|
||||||||||
| 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.auth.Institute
@Entity public class Institute
Institute: A contact is either a person or an organization. Copied from FuGE::Contact..
| Field Summary | |
|---|---|
static String |
ADDRESS
|
static String |
CITY
|
static String |
COUNTRY
|
static String |
EMAIL
|
static String |
FAX
|
static String |
ID
|
static String |
NAME
|
static String |
PHONE
|
static String |
TOLLFREEPHONE
|
| Fields inherited from class org.molgenis.omx.observ.Characteristic |
|---|
__TYPE, DESCRIPTION, IDENTIFIER |
| Constructor Summary | |
|---|---|
Institute()
|
|
Institute(Institute copyMe)
copy constructor |
|
| Method Summary | |
|---|---|
Institute |
create(Tuple tuple)
|
boolean |
equals(Object obj)
|
static List<? extends Institute> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Institute.class, org.molgenis.framework.db.QueryRule ... |
static Institute |
findById(Database db,
Integer id)
|
static Institute |
findByIdentifier(Database db,
String identifier)
|
static Institute |
findByName(Database db,
String name)
|
Object |
get(String name)
Generic getter. |
String |
getAddress()
Get the The address of the Contact.. |
String |
getAddress(Database db)
Deprecated. |
String |
getCity()
Get the Added from the old definition of MolgenisUser. |
String |
getCity(Database db)
Deprecated. |
String |
getCountry()
Get the Added from the old definition of MolgenisUser. |
String |
getCountry(Database db)
Deprecated. |
String |
getEmail()
Get the The email address of the Contact.. |
String |
getEmail(Database db)
Deprecated. |
String |
getFax()
Get the The fax number of the Contact.. |
String |
getFax(Database db)
Deprecated. |
Vector<String> |
getFields()
|
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of Institute. |
String |
getFields(String sep)
Deprecated. |
String |
getIdField()
|
Object |
getIdValue()
|
List<String> |
getLabelFields()
|
String |
getName()
Get the Name. |
String |
getName(Database db)
Deprecated. |
String |
getPhone()
Get the The telephone number of the Contact including the suitable area codes.. |
String |
getPhone(Database db)
Deprecated. |
String |
getTollFreePhone()
Get the A toll free phone number for the Contact, including suitable area codes.. |
String |
getTollFreePhone(Database db)
Deprecated. |
String |
getValues(String sep)
Deprecated. |
String |
getXrefIdFieldName(String fieldName)
|
int |
hashCode()
|
static Query<? extends Institute> |
query(Database db)
Shorthand for db.query(Institute.class). |
void |
set(Tuple tuple,
boolean strict)
|
void |
setAddress(String address)
Set the The address of the Contact.. |
void |
setCity(String city)
Set the Added from the old definition of MolgenisUser. |
void |
setCountry(String country)
Set the Added from the old definition of MolgenisUser. |
void |
setEmail(String email)
Set the The email address of the Contact.. |
void |
setFax(String fax)
Set the The fax number of the Contact.. |
void |
setName(String name)
Set the Name. |
void |
setPhone(String phone)
Set the The telephone number of the Contact including the suitable area codes.. |
void |
setTollFreePhone(String tollFreePhone)
Set the A toll free phone number for the Contact, including suitable area codes.. |
String |
toString()
|
String |
toString(boolean verbose)
|
void |
validate()
|
| Methods inherited from class org.molgenis.omx.observ.Characteristic |
|---|
get__Type, get__Type, get__TypeLabel, get__TypeOptions, getDescription, getDescription, getId, getIdentifier, getIdentifier, getValueMrefValueCollection, getValueMrefValueCollection, set__Type, setDescription, setId, setIdentifier, 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 ADDRESS
public static final String PHONE
public static final String EMAIL
public static final String FAX
public static final String TOLLFREEPHONE
public static final String CITY
public static final String COUNTRY
public static final String NAME
public static final String ID
| Constructor Detail |
|---|
public Institute()
public Institute(Institute copyMe)
throws Exception
Exception| Method Detail |
|---|
public static Query<? extends Institute> query(Database db)
public static List<? extends Institute> find(Database db,
QueryRule... rules)
throws DatabaseException
DatabaseException
public static Institute findById(Database db,
Integer id)
throws DatabaseException
DatabaseException
public static Institute findByIdentifier(Database db,
String identifier)
throws DatabaseException
DatabaseException
public static Institute findByName(Database db,
String name)
throws DatabaseException
DatabaseExceptionpublic String getAddress()
getAddress in interface Contact@Deprecated public String getAddress(Database db)
public void setAddress(String address)
setAddress in interface Contactaddress - public String getPhone()
getPhone in interface Contact@Deprecated public String getPhone(Database db)
public void setPhone(String phone)
setPhone in interface Contactphone - public String getEmail()
getEmail in interface Contact@Deprecated public String getEmail(Database db)
public void setEmail(String email)
setEmail in interface Contactemail - public String getFax()
getFax in interface Contact@Deprecated public String getFax(Database db)
public void setFax(String fax)
setFax in interface Contactfax - public String getTollFreePhone()
getTollFreePhone in interface Contact@Deprecated public String getTollFreePhone(Database db)
public void setTollFreePhone(String tollFreePhone)
setTollFreePhone in interface ContacttollFreePhone - public String getCity()
getCity in interface Contact@Deprecated public String getCity(Database db)
public void setCity(String city)
setCity in interface Contactcity - public String getCountry()
getCountry in interface Contact@Deprecated public String getCountry(Database db)
public void setCountry(String country)
setCountry in interface Contactcountry - public String getName()
getName in interface IdentifiablegetName in class Characteristic@Deprecated public String getName(Database db)
getName in class Characteristicpublic void setName(String name)
setName in interface IdentifiablesetName in class Characteristicname - public Object get(String name)
get in interface Entityget in class Characteristic
public void validate()
throws DatabaseException
validate in interface Entityvalidate in class CharacteristicDatabaseException
public void set(Tuple tuple,
boolean strict)
throws Exception
set in interface Entityset in class CharacteristicExceptionpublic String toString()
toString in class Characteristicpublic String toString(boolean verbose)
toString in class Characteristicpublic Vector<String> getFields(boolean skipAutoIds)
getFields in interface EntitygetFields in class Characteristicpublic Vector<String> getFields()
getFields in interface EntitygetFields in class Characteristicpublic String getIdField()
getIdField in interface EntitygetIdField in class Characteristicpublic List<String> getLabelFields()
getLabelFields in interface EntitygetLabelFields in class Characteristic@Deprecated public String getFields(String sep)
getFields in interface EntitygetFields in class Characteristicpublic Object getIdValue()
getIdValue in interface EntitygetIdValue in class Characteristicpublic String getXrefIdFieldName(String fieldName)
getXrefIdFieldName in interface EntitygetXrefIdFieldName in class Characteristic@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class Characteristic
public Institute create(Tuple tuple)
throws Exception
create in interface Entitycreate in class CharacteristicExceptionpublic boolean equals(Object obj)
equals in class Characteristicpublic int hashCode()
hashCode in class Characteristic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||