com.sap.mdm.repository
Class RepositoryLoginProperties

java.lang.Object
  extended bycom.sap.mdm.repository.RepositoryLoginProperties

public class RepositoryLoginProperties
extends Object

RepositoryLoginProperties specifies information about a connection to the repository.


Constructor Summary
RepositoryLoginProperties(String userName, String hostName, String applicationName, Date loginTime, Date lastActivityTime)
          Creates a new instance with the specified values.
 
Method Summary
 boolean equals(Object obj)
           
 String getApplicationName()
          Returns the application that is connected to the repository.
 String getHostName()
          Returns the host the repository is running on.
 Date getLastActivityTime()
          Returns the last activity time by the application.
 Date getLoginTime()
          Returns the time the application first connected.
 String getUserName()
          Returns the user that is used to connect to the repository.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryLoginProperties

public RepositoryLoginProperties(String userName,
                                 String hostName,
                                 String applicationName,
                                 Date loginTime,
                                 Date lastActivityTime)
Creates a new instance with the specified values.

Parameters:
userName - the user name.
hostName - the host name.
applicationName - the application name.
loginTime - the login time.
lastActivityTime - the last activity time.
Method Detail

getApplicationName

public String getApplicationName()
Returns the application that is connected to the repository.

Returns:
Returns the application name.

getHostName

public String getHostName()
Returns the host the repository is running on.

Returns:
Returns the host name.

getLastActivityTime

public Date getLastActivityTime()
Returns the last activity time by the application.

Returns:
Returns the last activity time.

getLoginTime

public Date getLoginTime()
Returns the time the application first connected.

Returns:
Returns the login time.

getUserName

public String getUserName()
Returns the user that is used to connect to the repository.

Returns:
Returns the user name.

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

toString

public String toString()


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.