@Entity public class Person extends Characteristic implements PersonInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
ADDRESS |
static String |
AFFILIATION |
static String |
AFFILIATION_NAME |
static String |
CITY |
static String |
COUNTRY |
static String |
DEPARTMENT |
static String |
EMAIL |
static String |
FAX |
static String |
FIRSTNAME |
static String |
ID |
static String |
LASTNAME |
static String |
MIDINITIALS |
static String |
PHONE |
static String |
ROLES |
static String |
ROLES_IDENTIFIER |
static String |
TITLE |
static String |
TOLLFREEPHONE |
__TYPE, DESCRIPTION, IDENTIFIER, NAME| Constructor and Description |
|---|
Person() |
Person(Person copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Person |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends Person> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(Person.class, org.molgenis.framework.db.QueryRule ...
|
static Person |
findByEmail(Database db,
String email) |
static Person |
findById(Database db,
Integer id) |
static Person |
findByIdentifier(Database db,
String identifier) |
Object |
get(String name)
Generic getter.
|
String |
getAddress()
Get the The address of the Contact..
|
String |
getAddress(Database db)
Deprecated.
|
Integer |
getAffiliation_Id() |
String |
getAffiliation_Name()
Get a pretty label Name for cross reference Affiliation to Institute.Id.
|
Institute |
getAffiliation()
Get the Affiliation.
|
Institute |
getAffiliation(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 |
getDepartment()
Get the Added from the old definition of MolgenisUser.
|
String |
getDepartment(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 Person.
|
String |
getFields(String sep)
Deprecated.
|
String |
getFirstName()
Get the First Name.
|
String |
getFirstName(Database db)
Deprecated.
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
String |
getLastName()
Get the Last Name.
|
String |
getLastName(Database db)
Deprecated.
|
String |
getMidInitials()
Get the Mid Initials.
|
String |
getMidInitials(Database db)
Deprecated.
|
String |
getPhone()
Get the The telephone number of the Contact including the suitable area codes..
|
String |
getPhone(Database db)
Deprecated.
|
Integer |
getRoles_Id() |
String |
getRoles_Identifier()
Get a pretty label Identifier for cross reference Roles to PersonRole.Id.
|
PersonRole |
getRoles()
Get the Indicate role of the contact, e.g.
|
PersonRole |
getRoles(Database db)
Deprecated.
|
String |
getTitle()
Get the An academic title, e.g.
|
String |
getTitle(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 Person> |
query(Database db)
Shorthand for db.query(Person.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setAddress(String address)
Set the The address of the Contact..
|
void |
setAffiliation_Id(Integer affiliation_id)
Set foreign key for field affiliation.
|
void |
setAffiliation_Name(String affiliation_Name)
Set a pretty label for cross reference Affiliation to Institute.Id.
|
void |
setAffiliation(Institute affiliation)
Set the Affiliation.
|
void |
setAffiliation(Integer affiliation_id) |
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 |
setDepartment(String department)
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 |
setFirstName(String firstName)
Set the First Name.
|
void |
setLastName(String lastName)
Set the Last Name.
|
void |
setMidInitials(String midInitials)
Set the Mid Initials.
|
void |
setPhone(String phone)
Set the The telephone number of the Contact including the suitable area codes..
|
void |
setRoles_Id(Integer roles_id)
Set foreign key for field roles.
|
void |
setRoles_Identifier(String roles_Identifier)
Set a pretty label for cross reference Roles to PersonRole.Id.
|
void |
setRoles(Integer roles_id) |
void |
setRoles(PersonRole roles)
Set the Indicate role of the contact, e.g.
|
void |
setTitle(String title)
Set the An academic title, e.g.
|
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() |
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 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 FIRSTNAME
public static final String MIDINITIALS
public static final String LASTNAME
public static final String TITLE
public static final String AFFILIATION
public static final String AFFILIATION_NAME
public static final String DEPARTMENT
public static final String ROLES
public static final String ROLES_IDENTIFIER
public static final String ID
public static Query<? extends Person> query(Database db)
public static List<? extends Person> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static Person findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static Person findByIdentifier(Database db, String identifier) throws DatabaseException
DatabaseExceptionpublic static Person findByEmail(Database db, String email) throws DatabaseException
DatabaseExceptionpublic String getAddress()
getAddress in interface PersonInterface@Deprecated public String getAddress(Database db)
public void setAddress(String address)
setAddress in interface PersonInterfaceaddress - public String getPhone()
getPhone in interface PersonInterface@Deprecated public String getPhone(Database db)
public void setPhone(String phone)
setPhone in interface PersonInterfacephone - public String getEmail()
getEmail in interface PersonInterface@Deprecated public String getEmail(Database db)
public void setEmail(String email)
setEmail in interface PersonInterfaceemail - public String getFax()
getFax in interface PersonInterface@Deprecated public String getFax(Database db)
public void setFax(String fax)
setFax in interface PersonInterfacefax - public String getTollFreePhone()
getTollFreePhone in interface PersonInterface@Deprecated public String getTollFreePhone(Database db)
public void setTollFreePhone(String tollFreePhone)
setTollFreePhone in interface PersonInterfacetollFreePhone - public String getCity()
getCity in interface PersonInterface@Deprecated public String getCity(Database db)
public void setCity(String city)
setCity in interface PersonInterfacecity - public String getCountry()
getCountry in interface PersonInterface@Deprecated public String getCountry(Database db)
public void setCountry(String country)
setCountry in interface PersonInterfacecountry - public String getFirstName()
getFirstName in interface PersonInterface@Deprecated public String getFirstName(Database db)
public void setFirstName(String firstName)
setFirstName in interface PersonInterfacefirstName - public String getMidInitials()
getMidInitials in interface PersonInterface@Deprecated public String getMidInitials(Database db)
public void setMidInitials(String midInitials)
setMidInitials in interface PersonInterfacemidInitials - public String getLastName()
getLastName in interface PersonInterface@Deprecated public String getLastName(Database db)
public void setLastName(String lastName)
setLastName in interface PersonInterfacelastName - public String getTitle()
getTitle in interface PersonInterface@Deprecated public String getTitle(Database db)
public void setTitle(String title)
setTitle in interface PersonInterfacetitle - public Institute getAffiliation()
getAffiliation in interface PersonInterface@Deprecated public Institute getAffiliation(Database db)
public void setAffiliation(Institute affiliation)
setAffiliation in interface PersonInterfaceaffiliation - public void setAffiliation_Id(Integer affiliation_id)
setAffiliation_Id in interface PersonInterfacepublic void setAffiliation(Integer affiliation_id)
public Integer getAffiliation_Id()
getAffiliation_Id in interface PersonInterfacepublic String getAffiliation_Name()
getAffiliation_Name in interface PersonInterfacepublic void setAffiliation_Name(String affiliation_Name)
setAffiliation_Name in interface PersonInterfacepublic String getDepartment()
getDepartment in interface PersonInterface@Deprecated public String getDepartment(Database db)
public void setDepartment(String department)
setDepartment in interface PersonInterfacedepartment - public PersonRole getRoles()
getRoles in interface PersonInterface@Deprecated public PersonRole getRoles(Database db)
public void setRoles(PersonRole roles)
setRoles in interface PersonInterfaceroles - public void setRoles_Id(Integer roles_id)
setRoles_Id in interface PersonInterfacepublic void setRoles(Integer roles_id)
public Integer getRoles_Id()
getRoles_Id in interface PersonInterfacepublic String getRoles_Identifier()
getRoles_Identifier in interface PersonInterfacepublic void setRoles_Identifier(String roles_Identifier)
setRoles_Identifier in interface PersonInterfacepublic Object get(String name)
get in interface Entityget in class Characteristicpublic void validate()
throws DatabaseException
validate in interface Entityvalidate in class CharacteristicDatabaseExceptionpublic void set(Entity entity, 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 Characteristicpublic Person create(Entity entity) throws Exception
create in interface Entitycreate in class CharacteristicExceptionpublic boolean equals(Object obj)
equals in class Characteristicpublic int hashCode()
hashCode in class CharacteristicCopyright © 2013. All Rights Reserved.