java.lang.Object
java.lang.Record
org.neo4j.driver.internal.summary.InternalDatabaseInfo
- All Implemented Interfaces:
DatabaseInfo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInternalDatabaseInfo
(String name) Creates an instance of aInternalDatabaseInfo
record class. -
Method Summary
-
Field Details
-
DEFAULT_DATABASE_INFO
-
-
Constructor Details
-
InternalDatabaseInfo
Creates an instance of aInternalDatabaseInfo
record class.- Parameters:
name
- the value for thename
record component
-
-
Method Details
-
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)
. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
name
Returns the value of thename
record component.- Specified by:
name
in interfaceDatabaseInfo
- Returns:
- the value of the
name
record component
-