Class Contact
- java.lang.Object
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.common.auditAndSecurity.Contact
-
- All Implemented Interfaces:
Serializable
,Describable
,Identifiable
- Direct Known Subclasses:
Person
public class Contact extends AbstractDescribable implements Serializable
Representing a person or organization that can be contacted about, or is the source of, data in the system. A contact has role and can be the member of a security group.- Author:
- Paul
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contact.Factory
-
Constructor Summary
Constructors Constructor Description Contact()
No-arg constructor added to satisfy javabean contract
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEmail()
Long
getId()
String
getName()
Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.void
setEmail(String email)
-
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
equals, getDescription, hashCode, setDescription, setId, setName, toString
-
-
-
-
Method Detail
-
getId
public Long getId()
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classAbstractDescribable
-
getName
public String getName()
Description copied from interface:Describable
Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.- Specified by:
getName
in interfaceDescribable
- Overrides:
getName
in classAbstractDescribable
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
-