public final class Registration extends Object
<query/> element in the jabber:iq:register namespace.| Constructor and Description |
|---|
Registration() |
Registration(boolean remove) |
Registration(DataForm dataForm) |
Registration(String username,
String password) |
Registration(String username,
String password,
String email) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
Gets the city.
|
Date |
getDate()
Gets some date (e.g. birth date, hire date, sign-up date).
|
String |
getEmail()
Gets the email street.
|
String |
getFullName()
Gets the full name.
|
String |
getGivenName()
Gets the given name.
|
String |
getInstructions()
Gets the registration instructions.
|
String |
getLastName()
Gets the familyName name.
|
String |
getNickname()
Gets the nickname.
|
String |
getPassword()
Gets the password.
|
String |
getPostalCode()
Gets the postal code.
|
String |
getRegion()
Gets the region.
|
DataForm |
getRegistrationForm()
Gets the extended registration form.
|
String |
getStreet()
Gets the street.
|
String |
getTelephone()
Gets the telephone number.
|
URL |
getUrl()
Gets the URL to a web page.
|
String |
getUsername()
Gets the username.
|
boolean |
isRegistered() |
void |
setCity(String city)
Sets the city.
|
void |
setDate(Date date)
Sets some date (e.g. birth date, hire date, sign-up date).
|
void |
setEmail(String email)
Sets the email street.
|
void |
setFullName(String name)
Sets the full name.
|
void |
setGivenName(String givenName)
Sets the first name.
|
void |
setLastName(String last)
Sets the familyName name.
|
void |
setNickname(String nickname)
Sets the nickname.
|
void |
setPassword(String password)
Sets the password.
|
void |
setPostalCode(String postalCode)
Sets the postal code.
|
void |
setRegion(String region)
Sets the region.
|
void |
setRegistrationForm(DataForm dataForm)
Sets the registration form.
|
void |
setStreet(String street)
Sets the street.
|
void |
setTelephone(String telephone)
Sets the telephone number.
|
void |
setUrl(URL url)
Sets the URL to a web page.
|
void |
setUsername(String username)
Sets the username.
|
public Registration()
public Registration(DataForm dataForm)
public Registration(boolean remove)
public boolean isRegistered()
public String getInstructions()
public String getUsername()
setUsername(String)public void setUsername(String username)
username - The username.getUsername()public String getNickname()
setNickname(String)public void setNickname(String nickname)
nickname - The nickname.getNickname()public String getPassword()
setPassword(String)public void setPassword(String password)
password - The password.getPassword()public String getFullName()
setFullName(String)public void setFullName(String name)
name - The full name.getFullName()public String getGivenName()
setGivenName(String)public void setGivenName(String givenName)
givenName - The given name.getGivenName()public String getLastName()
setLastName(String)public void setLastName(String last)
last - The familyName name.getLastName()public String getEmail()
setEmail(String)public void setEmail(String email)
email - The email street.getEmail()public String getStreet()
setStreet(String)public void setStreet(String street)
street - The street.getStreet()public String getCity()
setCity(String)public void setCity(String city)
city - The city.getCity()public String getRegion()
setRegion(String)public void setRegion(String region)
region - The region.getRegion()public String getPostalCode()
setPostalCode(String)public void setPostalCode(String postalCode)
postalCode - The postal code.getPostalCode()public String getTelephone()
setTelephone(String)public void setTelephone(String telephone)
telephone - The telephone number.getTelephone()public URL getUrl()
setUrl(java.net.URL)public void setUrl(URL url)
url - The URL.getUrl()public Date getDate()
setDate(java.util.Date)public void setDate(Date date)
date - The date.getDate()public DataForm getRegistrationForm()
setRegistrationForm(rocks.xmpp.extensions.data.model.DataForm)public void setRegistrationForm(DataForm dataForm)
dataForm - The registration form.getRegistrationForm()Copyright © 2014 XMPP.rocks. All rights reserved.