Class DatabasePlatformInfo
java.lang.Object
org.kuali.rice.krad.data.platform.DatabasePlatformInfo
Contains database platform information, specifically the name and major version of the database.
The name of the database platform should be considered as case insensitive.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
ConstructorsConstructorDescriptionDatabasePlatformInfo(String name, int majorVersion) Creates database platform information. -
Method Summary
-
Constructor Details
-
DatabasePlatformInfo
Creates database platform information.- Parameters:
name- the name of the database.majorVersion- the major version of the database.
-
-
Method Details
-
getName
Gets the name of the database.- Returns:
- the name of the database.
-
getMajorVersion
public int getMajorVersion()Gets the major version of the database.- Returns:
- the major version of the database.
-
equals
-
hashCode
public int hashCode() -
toString
-