Record Class TurSystemInfoBean.DatabaseInfo
java.lang.Object
java.lang.Record
com.viglet.turing.api.system.TurSystemInfoBean.DatabaseInfo
- Enclosing class:
TurSystemInfoBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedriverNamerecord component.Returns the value of thedriverVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theproductNamerecord component.Returns the value of theproductVersionrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
DatabaseInfo
public DatabaseInfo(String productName, String productVersion, String driverName, String driverVersion, String url, String status) Creates an instance of aDatabaseInforecord class.- Parameters:
productName- the value for theproductNamerecord componentproductVersion- the value for theproductVersionrecord componentdriverName- the value for thedriverNamerecord componentdriverVersion- the value for thedriverVersionrecord componenturl- the value for theurlrecord componentstatus- the value for thestatusrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
productName
Returns the value of theproductNamerecord component.- Returns:
- the value of the
productNamerecord component
-
productVersion
Returns the value of theproductVersionrecord component.- Returns:
- the value of the
productVersionrecord component
-
driverName
Returns the value of thedriverNamerecord component.- Returns:
- the value of the
driverNamerecord component
-
driverVersion
Returns the value of thedriverVersionrecord component.- Returns:
- the value of the
driverVersionrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-