org.nci.dts.client
Class DbInfo

java.lang.Object
  |
  +--org.nci.dts.client.DbInfo

public class DbInfo
extends java.lang.Object

A DbInfo contains database name, version, and release date.

Copyright: Copyright (c) 2002

Company: Apelon Inc.

Version:
DTS 3.0
Author:
Apelon Inc.

Method Summary
 boolean equals(DbInfo info)
          Tests if two DbInfos are equal.
 java.lang.String getName()
          Gets the name for this DbInfo.
 java.sql.Date getReleaseDate()
          Gets the release date for this DbInfo.
 java.lang.String getVersion()
          Gets the version for this DbInfo.
 java.lang.String toString()
          Gets the name for this DbInfo.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Gets the name for this DbInfo.

Returns:
name for this DbInfo.
Since:
DTS 2.4

getVersion

public java.lang.String getVersion()
Gets the version for this DbInfo.

Returns:
version for this DbInfo.
Since:
DTS 2.4

getReleaseDate

public java.sql.Date getReleaseDate()
Gets the release date for this DbInfo.

Returns:
release date for this DbInfo.
Since:
DTS 2.4

toString

public java.lang.String toString()
Gets the name for this DbInfo.

Overrides:
toString in class java.lang.Object
Returns:
name for this DbInfo.
Since:
DTS 2.4

equals

public boolean equals(DbInfo info)
Tests if two DbInfos are equal. Two DbInfos are equal if:
they are of the same class
their names are equal
their versions are equal
their dates are equal

Parameters:
info - one DbInfo
Returns:
true if info equals to this DbInfo, false if info doesn't equal to this DbInfo.
Since:
DTS 2.4