Record Class BffDevDatabase.BffJdbcConnectionDetails
java.lang.Object
java.lang.Record
com.irurueta.authserver.bff.infrastructure.session.dev.BffDevDatabase.BffJdbcConnectionDetails
- Record Components:
delegate- the details Compose supplied.
- All Implemented Interfaces:
org.springframework.boot.autoconfigure.service.connection.ConnectionDetails,org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails
- Enclosing class:
BffDevDatabase
private static record BffDevDatabase.BffJdbcConnectionDetails(org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails delegate)
extends Record
implements org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails
Connection details of the compose PostgreSQL, addressing the
bff database.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBffJdbcConnectionDetails(org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails delegate) Creates an instance of aBffJdbcConnectionDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetailsdelegate()Returns the value of thedelegaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails
getXaDataSourceClassName
-
Field Details
-
delegate
private final org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails delegateThe field for thedelegaterecord component.
-
-
Constructor Details
-
BffJdbcConnectionDetails
private BffJdbcConnectionDetails(org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails delegate) Creates an instance of aBffJdbcConnectionDetailsrecord class.- Parameters:
delegate- the value for thedelegaterecord component
-
-
Method Details
-
getUsername
- Specified by:
getUsernamein interfaceorg.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails
-
getPassword
- Specified by:
getPasswordin interfaceorg.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails
-
getJdbcUrl
- Specified by:
getJdbcUrlin interfaceorg.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails
-
getDriverClassName
- Specified by:
getDriverClassNamein interfaceorg.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails
-
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. -
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). -
delegate
public org.springframework.boot.jdbc.autoconfigure.JdbcConnectionDetails delegate()Returns the value of thedelegaterecord component.- Returns:
- the value of the
delegaterecord component
-