|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openexchange.admin.rmi.dataobjects.Credentials
public class Credentials
This object must be send with every method call in ox rmi interface!
Constructor Summary | |
---|---|
Credentials()
Creates a new instance of the object |
|
Credentials(String login,
String password)
Creates a new instance of the object and sets login and password |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getLogin()
Returns the login of this credentials object |
String |
getPassword()
Returns the password in clear text |
int |
hashCode()
|
void |
setLogin(String login)
Set the login attribute of this credentials object |
void |
setPassword(String passwd)
Sets this password for this credentials object |
String |
toString()
Constructs a String with all attributes
in name = value format. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Credentials()
public Credentials(String login, String password)
login
- password
- Method Detail |
---|
public final String getLogin()
public final void setLogin(String login)
login
- Set the login attribute of this credentials objectpublic final String getPassword()
public final void setPassword(String passwd)
passwd
- Sets this password for this credentials objectpublic String toString()
String
with all attributes
in name = value format.
toString
in class Object
String
representation
of this object.public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |