Package ca.cdr.api.persistence.megascale
Class MegaScaleCredentialResponseJson
java.lang.Object
ca.cdr.api.persistence.megascale.MegaScaleCredentialResponseJson
- All Implemented Interfaces:
IModelJson
,IModelJson
Hook method return value for the
CdrPointcut.STORAGE_MEGASCALE_PROVIDE_DB_INFO
pointcut.- Since:
- 2023.02.R01
-
Field Summary
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
ConstructorDescriptionConstructorMegaScaleCredentialResponseJson
(String theDatabaseUrl, String theDatabaseUsername, String theDatabasePassword) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
Any statements returned here will be issued to the database as raw SQL if the database is found to be empty, immediately after the Smile CDR database schema is initialized.void
setDatabaseInitializationStatements
(List<String> theDatabaseInitializationStatements) void
setDatabasePassword
(String theDatabasePassword) void
setDatabaseUrl
(String theDatabaseUrl) void
setDatabaseUsername
(String theDatabaseUsername)
-
Constructor Details
-
MegaScaleCredentialResponseJson
public MegaScaleCredentialResponseJson()Constructor -
MegaScaleCredentialResponseJson
public MegaScaleCredentialResponseJson(String theDatabaseUrl, String theDatabaseUsername, String theDatabasePassword) Constructor- Parameters:
theDatabaseUrl
- The JDBC URLtheDatabaseUsername
- The JDBC usernametheDatabasePassword
- The JDBC password
-
-
Method Details
-
addDatabaseInitializationStatement
Any statements returned here will be issued to the database as raw SQL if the database is found to be empty, immediately after the Smile CDR database schema is initialized.- Parameters:
theSql
- The raw SQL statement to execute.
-
getDatabaseInitializationStatements
-
setDatabaseInitializationStatements
-
getDatabaseUrl
-
setDatabaseUrl
-
getDatabaseUsername
-
setDatabaseUsername
-
getDatabasePassword
-
setDatabasePassword
-