|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a telephone object with its attributes. A telephone Object
is usually not used standalone, instead it is part of other objects like
a Person
. There are currently the
following types of phone objects available:
Method Summary | |
java.lang.String |
getId()
Get the id of this phone object. |
java.lang.String |
getInfo()
Get the info which is associated with this phone object. |
java.lang.String |
getNumber()
Get the number for this phone object. |
java.lang.String |
getType()
Get the type of this phone object. |
void |
setInfo(java.lang.String info)
Set the info for this telephone object. |
void |
setNumber(java.lang.String number)
Set the number. |
void |
setType(java.lang.String type)
Set the new type of this phone object. |
Method Detail |
public java.lang.String getId() throws OgoException, ConnectionException
id
of this phone object. The id
is unique for all telephones in all objects.
id
OgoException
ConnectionException
public java.lang.String getInfo() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setInfo(java.lang.String info) throws OgoException, ConnectionException
info
- The info to set for this phone object.
OgoException
ConnectionException
public java.lang.String getNumber() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setNumber(java.lang.String number) throws OgoException, ConnectionException
number
- The new number.
OgoException
ConnectionException
public java.lang.String getType() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setType(java.lang.String type) throws OgoException, ConnectionException
type
- The new type for this phone object.
OgoException
ConnectionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |