java.lang.Object
java.lang.Record
net.foxgenesis.watame.sql.DatabaseProperties
@Deprecated(forRemoval=true)
public record DatabaseProperties(DataSource source, ResourceUtils.ModuleResource setupFile, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name)
extends Record
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseProperties(Supplier<DataSource> source) Deprecated, for removal: This API element is subject to removal in a future version.DatabaseProperties(Supplier<DataSource> source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile) Deprecated, for removal: This API element is subject to removal in a future version.DatabaseProperties(Supplier<DataSource> source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version.DatabaseProperties(Supplier<DataSource> source, ResourceUtils.ModuleResource setupFile, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version.DatabaseProperties(DataSource source) Deprecated, for removal: This API element is subject to removal in a future version.DatabaseProperties(DataSource source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile) Deprecated, for removal: This API element is subject to removal in a future version.DatabaseProperties(DataSource source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version.DatabaseProperties(DataSource source, ResourceUtils.ModuleResource setupFile, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aDatabasePropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecallableOperationsFilerecord component.final booleanDeprecated, for removal: This API element is subject to removal in a future version.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object.name()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thenamerecord component.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theoperationsFilerecord component.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thesetupFilerecord component.source()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thesourcerecord component.final StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this record class.
-
Constructor Details
-
DatabaseProperties
public DatabaseProperties(Supplier<DataSource> source, ResourceUtils.ModuleResource setupFile, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version. -
DatabaseProperties
public DatabaseProperties(Supplier<DataSource> source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version. -
DatabaseProperties
public DatabaseProperties(DataSource source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version. -
DatabaseProperties
public DatabaseProperties(Supplier<DataSource> source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile) Deprecated, for removal: This API element is subject to removal in a future version. -
DatabaseProperties
public DatabaseProperties(DataSource source, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile) Deprecated, for removal: This API element is subject to removal in a future version. -
DatabaseProperties
Deprecated, for removal: This API element is subject to removal in a future version. -
DatabaseProperties
Deprecated, for removal: This API element is subject to removal in a future version. -
DatabaseProperties
public DatabaseProperties(DataSource source, ResourceUtils.ModuleResource setupFile, ResourceUtils.ModuleResource operationsFile, ResourceUtils.ModuleResource callableOperationsFile, String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aDatabasePropertiesrecord class.- Parameters:
source- the value for thesourcerecord componentsetupFile- the value for thesetupFilerecord componentoperationsFile- the value for theoperationsFilerecord componentcallableOperationsFile- the value for thecallableOperationsFilerecord componentname- the value for thenamerecord component
-
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated, for removal: This API element is subject to removal in a future version.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). -
source
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
setupFile
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thesetupFilerecord component.- Returns:
- the value of the
setupFilerecord component
-
operationsFile
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theoperationsFilerecord component.- Returns:
- the value of the
operationsFilerecord component
-
callableOperationsFile
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecallableOperationsFilerecord component.- Returns:
- the value of the
callableOperationsFilerecord component
-
name
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-