uk.ac.ebi.intact.model
Class Person

java.lang.Object
  |
  +--uk.ac.ebi.intact.model.IntactObjectImpl
        |
        +--uk.ac.ebi.intact.model.BasicObjectImpl
              |
              +--uk.ac.ebi.intact.model.Person
All Implemented Interfaces:
BasicObject, IntactObject, java.io.Serializable

public class Person
extends BasicObjectImpl

Represents the contact details of a person. The person may be internal, for example a curator, or external, e.g. a submitter.

Version:
$id$
Author:
Henning Hermjakob
See Also:
Serialized Form

Field Summary
 java.lang.String institutionAc
           
 
Fields inherited from class uk.ac.ebi.intact.model.IntactObjectImpl
ac, NEW_LINE
 
Constructor Summary
Person()
          Deprecated. Use the full constructor instead
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getEmail()
           
 java.lang.String getFirstNames()
           
 Institution getInstitution()
           
 java.lang.String getInstitutionAc()
           
 java.lang.String getSurName()
           
 java.lang.String getTelephone()
           
 int hashCode()
           
 void setEmail(java.lang.String email)
           
 void setFirstNames(java.lang.String firstNames)
           
 void setInstitution(Institution institution)
           
 void setInstitutionAc(java.lang.String ac)
           
 void setSurName(java.lang.String surName)
           
 void setTelephone(java.lang.String telephone)
           
 
Methods inherited from class uk.ac.ebi.intact.model.BasicObjectImpl
addEvidence, getEvidences, getOwner, getOwnerAc, removeEvidence, setEvidences, setOwner, setOwnerAc, toString
 
Methods inherited from class uk.ac.ebi.intact.model.IntactObjectImpl
getAc, getCreated, getUpdated, setAc, setCreated, setUpdated
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.ac.ebi.intact.model.IntactObject
getAc, getCreated, getUpdated, setAc, setCreated, setUpdated
 

Field Detail

institutionAc

public java.lang.String institutionAc
Constructor Detail

Person

public Person()
Deprecated. Use the full constructor instead

This constructor should not be used as it could result in objects with invalid state. It is here for object mapping purposes only and if possible will be made private.

Method Detail

getFirstNames

public java.lang.String getFirstNames()

setFirstNames

public void setFirstNames(java.lang.String firstNames)

getSurName

public java.lang.String getSurName()

setSurName

public void setSurName(java.lang.String surName)

getTelephone

public java.lang.String getTelephone()

setTelephone

public void setTelephone(java.lang.String telephone)

getEmail

public java.lang.String getEmail()

setEmail

public void setEmail(java.lang.String email)

getInstitution

public Institution getInstitution()

setInstitution

public void setInstitution(Institution institution)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getInstitutionAc

public java.lang.String getInstitutionAc()

setInstitutionAc

public void setInstitutionAc(java.lang.String ac)


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk