public class Phone extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Phone.PhoneTypeEnum
Gets or Sets phoneType
|
| 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
|
Phone.PhoneTypeEnum |
getPhoneType()
Get phoneType
|
int |
hashCode() |
Phone |
phoneAreaCode(String phoneAreaCode) |
Phone |
phoneCountryCode(String phoneCountryCode) |
Phone |
phoneNumber(String phoneNumber) |
Phone |
phoneType(Phone.PhoneTypeEnum phoneType) |
void |
setPhoneAreaCode(String phoneAreaCode) |
void |
setPhoneCountryCode(String phoneCountryCode) |
void |
setPhoneNumber(String phoneNumber) |
void |
setPhoneType(Phone.PhoneTypeEnum phoneType) |
String |
toString() |
public Phone phoneType(Phone.PhoneTypeEnum phoneType)
public Phone.PhoneTypeEnum getPhoneType()
public void setPhoneType(Phone.PhoneTypeEnum phoneType)
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.