|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttest.implementation.modelmbean.support.User
Constructor Summary | |
User()
Creates a new User using constructor with no argument |
|
User(long id)
Creates a new User instance using constructor with one argument. |
Method Summary | |
void |
addPhoneNumber(java.lang.String number)
Describe addPhoneNumber method here. |
java.lang.String |
getAddress()
Describe getAddress method here. |
long |
getID()
Describe getID method here. |
java.lang.String |
getName()
Describe getName method here. |
java.lang.String[] |
getPhoneNumbers()
Describe getPhoneNumbers method here. |
java.lang.String |
printInfo()
Describe printInfo method here. |
void |
removePhoneNumber(int index)
Describe removePhoneNumber method here. |
void |
setAddress(java.lang.String address)
Describe setAddress method here. |
void |
setID(long id)
Describe setID method here. |
void |
setName(java.lang.String name)
Describe setName method here. |
void |
setPassword(java.lang.String passwd)
Describe setPassword method here. |
void |
setPhoneNumbers(java.lang.String[] numbers)
Describe setPhoneNumbers method here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public User(long id)
User
instance using constructor with one argument.
id
- a long
valuepublic User()
User
using constructor with no argument
Method Detail |
public long getID()
getID
method here.
read-only attribute
long
valuepublic void setID(long id)
setID
method here.
application method, not exposed to management
id
- a long
valuepublic java.lang.String getName()
getName
method here.
read-write attribute
String
valuepublic void setName(java.lang.String name)
setName
method here.
name
- a String
valuepublic java.lang.String getAddress()
getAddress
method here.
read-write attribute
String
valuepublic void setAddress(java.lang.String address)
setAddress
method here.
address
- a String
valuepublic java.lang.String[] getPhoneNumbers()
getPhoneNumbers
method here.
read-write attribute
String[]
valuepublic void setPhoneNumbers(java.lang.String[] numbers)
setPhoneNumbers
method here.
numbers
- a String[]
valuepublic void setPassword(java.lang.String passwd)
setPassword
method here.
write only attribute
passwd
- a String
valuepublic java.lang.String printInfo()
printInfo
method here.
prints info
String
valuepublic void addPhoneNumber(java.lang.String number)
addPhoneNumber
method here.
number
- a String
value, the phone number to addpublic void removePhoneNumber(int index)
removePhoneNumber
method here.
index
- an int
value, the index of phone number to remove
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |