public class Contact extends Object implements IClusterable
Constructor and Description |
---|
Contact()
Constructor
|
Contact(String firstName,
String lastName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCellPhone() |
String |
getFirstName() |
String |
getHomePhone() |
long |
getId() |
String |
getLastName() |
int |
hashCode() |
void |
setCellPhone(String cellPhone) |
void |
setFirstName(String firstName) |
void |
setHomePhone(String homePhone) |
void |
setId(long id) |
void |
setLastName(String lastName) |
String |
toString() |
public void setId(long id)
id
- public long getId()
public String getCellPhone()
public void setCellPhone(String cellPhone)
cellPhone
- public String getFirstName()
public void setFirstName(String firstName)
firstName
- public String getHomePhone()
public void setHomePhone(String homePhone)
homePhone
- public String getLastName()
public void setLastName(String lastName)
lastName
- Copyright © 2006–2022 Apache Software Foundation. All rights reserved.