|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.util.telephone.Telephone
public class Telephone
A utility for working with telephones.
Constructor Summary | |
---|---|
Telephone()
Default constructor. |
|
Telephone(String areaCode,
TelephoneLocalNumber phoneNumber)
Standard constructor. |
Method Summary | |
---|---|
String |
getAreaCode()
Get the area code. |
String |
getExtension()
Get the extension. |
String |
getHl7FormattedPhoneNumber()
Create a formatted version of the phone number, rendered in an HL7-compliant way. |
TelephoneLocalNumber |
getPhoneNumber()
Get the phone number. |
void |
setAreaCode(String areaCode)
Set the area code. |
void |
setExtension(String extension)
Set the extension. |
void |
setPhoneNumber(TelephoneLocalNumber phoneNumber)
Set the phone number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Telephone()
Default constructor.
public Telephone(String areaCode, TelephoneLocalNumber phoneNumber)
Standard constructor.
areaCode
- - the area codephoneNumber
- - the phone numberMethod Detail |
---|
public String getAreaCode()
Get the area code.
public void setAreaCode(String areaCode)
Set the area code.
areaCode
- - the new valuepublic String getExtension()
Get the extension.
public void setExtension(String extension)
Set the extension.
extension
- - the new valuepublic TelephoneLocalNumber getPhoneNumber()
Get the phone number.
public void setPhoneNumber(TelephoneLocalNumber phoneNumber)
Set the phone number.
phoneNumber
- - the new value.public String getHl7FormattedPhoneNumber()
Create a formatted version of the phone number, rendered in an HL7-compliant way.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |