Class MongoDBBackendMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.QBackendMetaData
com.kingsrook.qqq.backend.module.mongodb.model.metadata.MongoDBBackendMetaData
- All Implemented Interfaces:
MetaDataProducerOutput
,QMetaDataObject
,TopLevelMetaDataInterface
,Serializable
Meta-data to provide details of a MongoDB backend (e.g., connection params)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
enrich()
Called by the QInstanceEnricher - to do backend-type-specific enrichments.Getter for authSourceDatabaseGetter for databaseNamegetHost()
Getter for hostGetter for passwordgetPort()
Getter for portboolean
Getter for transactionsSupportedGetter for urlSuffixGetter for usernamevoid
setAuthSourceDatabase
(String authSourceDatabase) Setter for authSourceDatabasevoid
setDatabaseName
(String databaseName) Setter for databaseNamevoid
Setter for hostvoid
setPassword
(String password) Setter for passwordvoid
Setter for portvoid
setTransactionsSupported
(boolean transactionsSupported) Setter for transactionsSupportedvoid
setUrlSuffix
(String urlSuffix) Setter for urlSuffixvoid
setUsername
(String username) Setter for usernamewithAuthSourceDatabase
(String authSourceDatabase) Fluent setter for authSourceDatabasewithDatabaseName
(String databaseName) Fluent setter for databaseNameFluent Setter for hostFluent setter, override to help fluent flowswithPassword
(String password) Fluent Setter for passwordFluent Setter for portwithTransactionsSupported
(boolean transactionsSupported) Fluent setter for transactionsSupportedwithUrlSuffix
(String urlSuffix) Fluent setter for urlSuffixwithUsername
(String username) Fluent Setter for usernameMethods inherited from class com.kingsrook.qqq.backend.core.model.metadata.QBackendMetaData
addSelfToInstance, getBackendType, getBackendVariantsConfig, getDisabledCapabilities, getEnabledCapabilities, getName, getUsesVariants, performValidation, requiresPrimaryKeyOnTables, setBackendType, setBackendType, setBackendVariantsConfig, setDisabledCapabilities, setEnabledCapabilities, setName, setUsesVariants, setVariantOptionsTableApiKeyField, setVariantOptionsTableClientIdField, setVariantOptionsTableClientSecretField, setVariantOptionsTableIdField, setVariantOptionsTableName, setVariantOptionsTableNameField, setVariantOptionsTablePasswordField, setVariantOptionsTableTypeField, setVariantOptionsTableTypeValue, setVariantOptionsTableUsernameField, withBackendType, withBackendVariantsConfig, withCapabilities, withCapabilities, withCapability, withDisabledCapabilities, withEnabledCapabilities, withoutCapabilities, withoutCapabilities, withoutCapability, withUsesVariants, withVariantOptionsTableApiKeyField, withVariantOptionsTableClientIdField, withVariantOptionsTableClientSecretField, withVariantOptionsTableIdField, withVariantOptionsTableName, withVariantOptionsTableNameField, withVariantOptionsTablePasswordField, withVariantOptionsTableTypeField, withVariantOptionsTableTypeValue, withVariantOptionsTableUsernameField
-
Constructor Details
-
MongoDBBackendMetaData
public MongoDBBackendMetaData()Default Constructor.
-
-
Method Details
-
withName
Fluent setter, override to help fluent flows- Overrides:
withName
in classQBackendMetaData
-
getHost
Getter for host -
setHost
Setter for host -
withHost
Fluent Setter for host -
getPort
Getter for port -
setPort
Setter for port -
withPort
Fluent Setter for port -
getUsername
Getter for username -
setUsername
Setter for username -
withUsername
Fluent Setter for username -
getPassword
Getter for password -
setPassword
Setter for password -
withPassword
Fluent Setter for password -
enrich
public void enrich()Called by the QInstanceEnricher - to do backend-type-specific enrichments. Original use case is: reading secrets into fields (e.g., passwords).- Overrides:
enrich
in classQBackendMetaData
-
getUrlSuffix
Getter for urlSuffix -
setUrlSuffix
Setter for urlSuffix -
withUrlSuffix
Fluent setter for urlSuffix -
getDatabaseName
Getter for databaseName -
setDatabaseName
Setter for databaseName -
withDatabaseName
Fluent setter for databaseName -
getTransactionsSupported
public boolean getTransactionsSupported()Getter for transactionsSupported -
setTransactionsSupported
public void setTransactionsSupported(boolean transactionsSupported) Setter for transactionsSupported -
withTransactionsSupported
Fluent setter for transactionsSupported -
getAuthSourceDatabase
Getter for authSourceDatabase -
setAuthSourceDatabase
Setter for authSourceDatabase -
withAuthSourceDatabase
Fluent setter for authSourceDatabase
-