java.lang.Object
org.firebirdsql.gds.ng.AbstractImmutableAttachProperties<IConnectionProperties>
org.firebirdsql.gds.ng.FbImmutableConnectionProperties
- All Implemented Interfaces:
IAttachProperties<IConnectionProperties>,IConnectionProperties,AttachmentProperties,BaseProperties,DatabaseConnectionProperties
public final class FbImmutableConnectionProperties
extends AbstractImmutableAttachProperties<IConnectionProperties>
implements IConnectionProperties
Immutable implementation of
IConnectionProperties.- Since:
- 3.0
- Author:
- , Mark Rotteveel
- See Also:
-
Field Summary
Fields inherited from interface org.firebirdsql.gds.ng.IAttachProperties
DEFAULT_CONNECT_TIMEOUT, DEFAULT_SO_TIMEOUT, DEFAULT_SOCKET_BUFFER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCopy constructor for FbConnectionProperties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class org.firebirdsql.gds.ng.AbstractImmutableAttachProperties
connectionPropertyValues, getBooleanProperty, getIntProperty, getProperty, hashCode, immutable, isImmutable, property, setBooleanProperty, setIntProperty, setPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.firebirdsql.jaybird.props.AttachmentProperties
getAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEnableProtocol, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSocketFactory, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEnableProtocol, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSocketFactory, setSoTimeout, setType, setUser, setWireCompression, setWireCryptMethods inherited from interface org.firebirdsql.jaybird.props.BaseProperties
connectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setPropertyMethods inherited from interface org.firebirdsql.jaybird.props.DatabaseConnectionProperties
getBlobBufferSize, getDatabaseName, getDataTypeBind, getDecfloatRound, getDecfloatTraps, getDefaultIsolation, getDefaultTransactionIsolation, getGeneratedKeysEnabled, getPageCacheSize, getReportSQLWarnings, getScrollableCursor, getServerBatchBufferSize, getSessionTimeZone, getSqlDialect, getTpbMapping, isAllowTxStmts, isAsyncFetch, isColumnLabelForName, isCreateDatabaseIfNotExist, isDefaultResultSetHoldable, isExtendedMetadata, isIgnoreProcedureType, isUseCatalogAsPackage, isUseFirebirdAutocommit, isUseServerBatch, isUseStreamBlobs, setAllowTxStmts, setAsyncFetch, setBlobBufferSize, setColumnLabelForName, setCreateDatabaseIfNotExist, setDatabaseName, setDataTypeBind, setDecfloatRound, setDecfloatTraps, setDefaultIsolation, setDefaultResultSetHoldable, setDefaultTransactionIsolation, setExtendedMetadata, setGeneratedKeysEnabled, setIgnoreProcedureType, setPageCacheSize, setReportSQLWarnings, setScrollableCursor, setServerBatchBufferSize, setSessionTimeZone, setSqlDialect, setTpbMapping, setUseCatalogAsPackage, setUseFirebirdAutocommit, setUseServerBatch, setUseStreamBlobsMethods inherited from interface org.firebirdsql.gds.ng.IAttachProperties
getAttachObjectName, getWireCryptAsEnum, isImmutable, setAttachObjectName, setWireCryptAsEnum
-
Constructor Details
-
FbImmutableConnectionProperties
Copy constructor for FbConnectionProperties.All properties defined in
IConnectionPropertiesare copied fromsrcto the new instance.- Parameters:
src- Source to copy from
-
-
Method Details
-
asImmutable
- Specified by:
asImmutablein interfaceIAttachProperties<IConnectionProperties>- Specified by:
asImmutablein interfaceIConnectionProperties- Returns:
- An immutable version of this instance as an implementation of
IConnectionProperties
-
asNewMutable
- Specified by:
asNewMutablein interfaceIAttachProperties<IConnectionProperties>- Specified by:
asNewMutablein interfaceIConnectionProperties- Returns:
- A new, mutable, instance as an implementation of
IConnectionPropertieswith all properties copied.
-
equals
- Overrides:
equalsin classAbstractImmutableAttachProperties<IConnectionProperties>
-