@Entity public class PhoneImpl extends Object implements Phone
| Modifier and Type | Field and Description |
|---|---|
protected String |
countryCode |
protected String |
extension |
protected Long |
id |
protected String |
phoneNumber |
| Constructor and Description |
|---|
PhoneImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCountryCode() |
String |
getExtension() |
Long |
getId() |
String |
getPhoneNumber() |
int |
hashCode() |
void |
setCountryCode(String countryCode) |
void |
setExtension(String extension) |
void |
setId(Long id) |
void |
setPhoneNumber(String phoneNumber) |
protected Long id
protected String countryCode
protected String phoneNumber
protected String extension
public String getCountryCode()
getCountryCode in interface Phonepublic void setCountryCode(String countryCode)
setCountryCode in interface Phonepublic String getPhoneNumber()
getPhoneNumber in interface Phonepublic void setPhoneNumber(String phoneNumber)
setPhoneNumber in interface Phonepublic String getExtension()
getExtension in interface Phonepublic void setExtension(String extension)
setExtension in interface PhoneCopyright © 2017. All rights reserved.