Skip navigation links


com.essbase.eas.client.intf
Class LoginImpl

java.lang.Object
  extended by com.essbase.eas.client.intf.LoginImpl

All Implemented Interfaces:
Login

public class LoginImpl
extends java.lang.Object
implements Login

Implements the login interface for the console application. Notes:

07/21/2000, hcox: Need to determine if we need to synchronize this class.

Version:
1.00, 07/21/2000
Author:
Hank Cox

Constructor Summary
LoginImpl()
           

 

Method Summary
 java.lang.String getPassword()
          retrieves the password for this login session.
 java.lang.Object getProperty(java.lang.String key)
          retrieves a supplemental property for this login session.
 java.lang.String getServer()
          retrieves the server for this login session.
 java.lang.String getUserName()
          retrieves the user name for this login session.
 void releaseLoginInformation()
          clears all stored properties.
 void setPassword(java.lang.String value)
          sets the password for this login session.
 void setProperty(java.lang.String key, java.lang.Object value)
          sets a supplemental property for this login session.
 void setServer(java.lang.String value)
          sets the server for this login session.
 void setUserName(java.lang.String value)
          sets the user name for this login session.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LoginImpl

public LoginImpl()

Method Detail

getUserName

public java.lang.String getUserName()
Description copied from interface: Login
retrieves the user name for this login session.
Specified by:
getUserName in interface Login
Returns:
a String object representing the user name. If a name has never been set, the return value can be an empty string.

setUserName

public void setUserName(java.lang.String value)
Description copied from interface: Login
sets the user name for this login session.
Specified by:
setUserName in interface Login
Parameters:
value - - a String object containing the user name for this session.

getPassword

public java.lang.String getPassword()
Description copied from interface: Login
retrieves the password for this login session.
Specified by:
getPassword in interface Login
Returns:
a String object representing the password.

setPassword

public void setPassword(java.lang.String value)
Description copied from interface: Login
sets the password for this login session.
Specified by:
setPassword in interface Login
Parameters:
value - - a String object containing the password for this session.

getServer

public java.lang.String getServer()
Description copied from interface: Login
retrieves the server for this login session.
Specified by:
getServer in interface Login
Returns:
a String object representing the server.

setServer

public void setServer(java.lang.String value)
Description copied from interface: Login
sets the server for this login session.
Specified by:
setServer in interface Login
Parameters:
value - - a String object containing the server for this session.

getProperty

public java.lang.Object getProperty(java.lang.String key)
Description copied from interface: Login
retrieves a supplemental property for this login session.
Specified by:
getProperty in interface Login
Returns:
the object desired. If no object has been saved in this login session with the requested tag, then the return value will be null.

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Description copied from interface: Login
sets a supplemental property for this login session.
Specified by:
setProperty in interface Login
value - - the object to be stored under the tag.

releaseLoginInformation

public void releaseLoginInformation()
Description copied from interface: Login
clears all stored properties.
Specified by:
releaseLoginInformation in interface Login

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.