Package com.logicaldoc.core.contact
Class Contact
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.contact.Contact
-
- All Implemented Interfaces:
Cloneable
public class Contact extends PersistentObject implements Cloneable
A generic contact represented by a set of personal informations.- Since:
- 6.8
- Author:
- Marco Meschieri - LogicalDOC
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contact
clone()
String
getAddress()
String
getCompany()
String
getEmail()
String
getFirstName()
String
getFullName()
String
getLastName()
String
getMobile()
String
getPhone()
Long
getUserId()
void
setAddress(String address)
void
setCompany(String company)
void
setEmail(String email)
void
setFirstName(String firstName)
void
setLastName(String lastName)
void
setMobile(String mobile)
void
setPhone(String phone)
void
setUserId(Long userId)
String
toString()
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
-
-
-
Method Detail
-
getUserId
public Long getUserId()
-
setUserId
public void setUserId(Long userId)
-
getFirstName
public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getCompany
public String getCompany()
-
setCompany
public void setCompany(String company)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
getPhone
public String getPhone()
-
setPhone
public void setPhone(String phone)
-
getMobile
public String getMobile()
-
setMobile
public void setMobile(String mobile)
-
getFullName
public String getFullName()
-
toString
public String toString()
- Overrides:
toString
in classPersistentObject
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
clone
public Contact clone()
-
-