|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPhonenumber
This interface should be implemented by a phone number object. A phone number object should store a phone number in two different ways:
| Method Summary | |
|---|---|
String |
getAreaCode()
Gets the local area code of the phone number object |
String |
getCallNumber()
Gets the call number of the phone number object |
String |
getIntAreaCode()
Gets the international area code of the phone number object |
String |
getTelephoneNumber()
Gets the complete telephone number of the phone number object |
boolean |
isClired()
Checks if the phone number object is marked as clired (CLIR). |
void |
setAreaCode(String areaCode)
Sets the local area code of the phone number object |
void |
setCallNumber(String callNumber)
Sets the call number attribute of the phone number object |
void |
setClired(boolean isClir)
Sets the clired status of the phone number object |
void |
setIntAreaCode(String internationalAreaCode)
Sets the international area code of the phone number object |
void |
setTelephoneNumber(String telephoneNumber)
Sets the complete telephone number of the phone number object |
| Method Detail |
|---|
void setIntAreaCode(String internationalAreaCode)
internationalAreaCode - the international area code to be set.void setAreaCode(String areaCode)
areaCode - the local area code to be set.void setCallNumber(String callNumber)
callNumber - the call number value to be set.void setTelephoneNumber(String telephoneNumber)
telephoneNumber - The complete telephone number to be set.String getIntAreaCode()
String getAreaCode()
String getCallNumber()
String getTelephoneNumber()
boolean isClired()
void setClired(boolean isClir)
isClir - true if phone number object is clired
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||