|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.juddi.datatype.Phone
Holds telephone nbrs, can be adorned with an optinal useType attribute. If more than one Phone element is saved (in a Contacts.Phone[] ) then the useType must be supplied.
Constructor Summary | |
Phone()
Construct a new initialized Phone instance. |
|
Phone(java.lang.String number)
Construct a new phone with a given phone-number. |
|
Phone(java.lang.String number,
java.lang.String useType)
Construct a new phone with a given phone-number and usetype. |
Method Summary | |
java.lang.String |
getUseType()
Returns the UseType of this Phone. |
java.lang.String |
getValue()
Returns the number of this Phone. |
void |
setUseType(java.lang.String type)
Sets the UseType of this Phone to the given UseType. |
void |
setValue(java.lang.String number)
Sets the number of this Phone to the given number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Phone()
public Phone(java.lang.String number)
number
- The number of the new phone.public Phone(java.lang.String number, java.lang.String useType)
number
- The number of the new phone.useType
- The usetype of the new phone.Method Detail |
public void setValue(java.lang.String number)
number
- The new number of this phone.public java.lang.String getValue()
public void setUseType(java.lang.String type)
type
- The new UseType of this Phone.public java.lang.String getUseType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |