public class Phone extends Object
| Constructor and Description |
|---|
Phone() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPhoneAreaCode()
max length = 10
|
String |
getPhoneCountryCode()
max length = 20
|
String |
getPhoneNumber()
max length = 50
|
int |
hashCode() |
Phone |
phoneAreaCode(String phoneAreaCode) |
Phone |
phoneCountryCode(String phoneCountryCode) |
Phone |
phoneNumber(String phoneNumber) |
void |
setPhoneAreaCode(String phoneAreaCode) |
void |
setPhoneCountryCode(String phoneCountryCode) |
void |
setPhoneNumber(String phoneNumber) |
String |
toString() |
public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
public String getPhoneAreaCode()
public void setPhoneAreaCode(String phoneAreaCode)
public String getPhoneCountryCode()
public void setPhoneCountryCode(String phoneCountryCode)
Copyright © 2018. All rights reserved.