public interface Subscription
A Subscription which is stored, along with the
associated User
, in a UserDatabase
.
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoConnect()
Return the auto-connect flag.
|
String |
getHost()
Return the host name.
|
String |
getPassword()
Return the password.
|
String |
getType()
Return the subscription type.
|
User |
getUser()
Return the
User owning this Subscription. |
String |
getUsername()
Return the username.
|
void |
setAutoConnect(boolean autoConnect)
Set the auto-connect flag.
|
void |
setPassword(String password)
Set the password.
|
void |
setType(String type)
Set the subscription type.
|
void |
setUsername(String username)
Set the username.
|
boolean getAutoConnect()
void setAutoConnect(boolean autoConnect)
autoConnect
- The new auto-connect flagString getHost()
String getPassword()
void setPassword(String password)
password
- The new passwordString getType()
void setType(String type)
type
- The new subscription typeString getUsername()
void setUsername(String username)
username
- The new usernameCopyright © 2000–2016 Apache Software Foundation. All rights reserved.