Package org.firebirdsql.gds.ng
Class FbConnectionProperties
- java.lang.Object
- 
- org.firebirdsql.gds.ng.AbstractAttachProperties<IConnectionProperties>
- 
- org.firebirdsql.gds.ng.FbConnectionProperties
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- IAttachProperties<IConnectionProperties>,- IConnectionProperties,- AttachmentProperties,- BaseProperties,- DatabaseConnectionProperties
 
 public final class FbConnectionProperties extends AbstractAttachProperties<IConnectionProperties> implements IConnectionProperties, java.io.Serializable Mutable implementation ofIConnectionProperties- Since:
- 3.0
- Author:
- Mark Rotteveel
- See Also:
- FbImmutableConnectionProperties, Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.firebirdsql.gds.ng.AbstractAttachPropertiesAbstractAttachProperties.PropertyUpdateListener
 
- 
 - 
Field Summary- 
Fields inherited from interface org.firebirdsql.gds.ng.IAttachPropertiesDEFAULT_CONNECT_TIMEOUT, DEFAULT_SO_TIMEOUT, DEFAULT_SOCKET_BUFFER_SIZE
 - 
Fields inherited from interface org.firebirdsql.gds.ng.IConnectionPropertiesDEFAULT_BUFFERS_NUMBER, DEFAULT_DIALECT, SESSION_TIME_ZONE_SERVER
 
- 
 - 
Constructor SummaryConstructors Constructor Description FbConnectionProperties()Default constructor for FbConnectionPropertiesFbConnectionProperties(IConnectionProperties src)Copy constructor for FbConnectionProperties.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IConnectionPropertiesasImmutable()IConnectionPropertiesasNewMutable()protected voiddirtied()Called by setters if they have been called.booleanequals(java.lang.Object o)protected java.lang.ObjectresolveStoredDefaultValue(ConnectionProperty property)Resolve the default value for the specified connection property.- 
Methods inherited from class org.firebirdsql.gds.ng.AbstractAttachPropertiesconnectionPropertyValues, getBooleanProperty, getIntProperty, getProperty, hashCode, isImmutable, property, registerPropertyUpdateListener, setBooleanProperty, setIntProperty, setProperty
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.firebirdsql.jaybird.props.AttachmentPropertiesgetAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCrypt
 - 
Methods inherited from interface org.firebirdsql.jaybird.props.BasePropertiesconnectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
 - 
Methods inherited from interface org.firebirdsql.jaybird.props.DatabaseConnectionPropertiesgetBlobBufferSize, getDatabaseName, getDataTypeBind, getDecfloatRound, getDecfloatTraps, getDefaultIsolation, getDefaultTransactionIsolation, getGeneratedKeysEnabled, getMaxBlobCacheSize, getMaxInlineBlobSize, getPageCacheSize, getScrollableCursor, getServerBatchBufferSize, getSessionTimeZone, getSqlDialect, getTpbMapping, isColumnLabelForName, isDefaultResultSetHoldable, isExtendedMetadata, isIgnoreProcedureType, isTimestampUsesLocalTimezone, isUseFirebirdAutocommit, isUseServerBatch, isUseStreamBlobs, setBlobBufferSize, setColumnLabelForName, setDatabaseName, setDataTypeBind, setDecfloatRound, setDecfloatTraps, setDefaultIsolation, setDefaultResultSetHoldable, setDefaultTransactionIsolation, setExtendedMetadata, setGeneratedKeysEnabled, setIgnoreProcedureType, setMaxBlobCacheSize, setMaxInlineBlobSize, setPageCacheSize, setScrollableCursor, setServerBatchBufferSize, setSessionTimeZone, setSqlDialect, setTimestampUsesLocalTimezone, setTpbMapping, setUseFirebirdAutocommit, setUseServerBatch, setUseStreamBlobs
 - 
Methods inherited from interface org.firebirdsql.gds.ng.IAttachPropertiesgetAttachObjectName, getWireCryptAsEnum, isImmutable, setAttachObjectName, setWireCryptAsEnum
 - 
Methods inherited from interface org.firebirdsql.gds.ng.IConnectionPropertiesgetConnectionDialect, setConnectionDialect
 
- 
 
- 
- 
- 
Constructor Detail- 
FbConnectionPropertiespublic FbConnectionProperties(IConnectionProperties src) Copy constructor for FbConnectionProperties.All properties defined in IConnectionPropertiesare copied fromsrcto the new instance.- Parameters:
- src- Source to copy from
 
 - 
FbConnectionPropertiespublic FbConnectionProperties() Default constructor for FbConnectionProperties
 
- 
 - 
Method Detail- 
asImmutablepublic IConnectionProperties asImmutable() - Specified by:
- asImmutablein interface- IAttachProperties<IConnectionProperties>
- Specified by:
- asImmutablein interface- IConnectionProperties
- Returns:
- An immutable version of this instance as an implementation of IConnectionProperties
 
 - 
asNewMutablepublic IConnectionProperties asNewMutable() - Specified by:
- asNewMutablein interface- IAttachProperties<IConnectionProperties>
- Specified by:
- asNewMutablein interface- IConnectionProperties
- Returns:
- A new, mutable, instance as an implementation of IConnectionPropertieswith all properties copied.
 
 - 
resolveStoredDefaultValueprotected java.lang.Object resolveStoredDefaultValue(ConnectionProperty property) Description copied from class:AbstractAttachPropertiesResolve the default value for the specified connection property.This method is only used for properties that must have a stored default value to function correctly. - Overrides:
- resolveStoredDefaultValuein class- AbstractAttachProperties<IConnectionProperties>
- Parameters:
- property- Connection property
- Returns:
- Default value to apply (usually null)
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- AbstractAttachProperties<IConnectionProperties>
 
 - 
dirtiedprotected void dirtied() Description copied from class:AbstractAttachPropertiesCalled by setters if they have been called.- Specified by:
- dirtiedin class- AbstractAttachProperties<IConnectionProperties>
 
 
- 
 
-