Package org.firebirdsql.gds.ng
Class FbImmutableServiceProperties
- java.lang.Object
-
- org.firebirdsql.gds.ng.AbstractImmutableAttachProperties<IServiceProperties>
-
- org.firebirdsql.gds.ng.FbImmutableServiceProperties
-
- All Implemented Interfaces:
IAttachProperties<IServiceProperties>
,IServiceProperties
,AttachmentProperties
,BaseProperties
,ServiceConnectionProperties
public final class FbImmutableServiceProperties extends AbstractImmutableAttachProperties<IServiceProperties> implements IServiceProperties
Immutable implementation ofIServiceProperties
.- Since:
- 3.0
- Author:
- , Mark Rotteveel
- See Also:
FbServiceProperties
-
-
Field Summary
-
Fields inherited from interface org.firebirdsql.gds.ng.IAttachProperties
DEFAULT_CONNECT_TIMEOUT, DEFAULT_SO_TIMEOUT, DEFAULT_SOCKET_BUFFER_SIZE
-
Fields inherited from interface org.firebirdsql.gds.ng.IServiceProperties
DEFAULT_SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description FbImmutableServiceProperties(IServiceProperties src)
Copy constructor for FbServiceProperties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IServiceProperties
asImmutable()
IServiceProperties
asNewMutable()
boolean
equals(java.lang.Object o)
-
Methods inherited from class org.firebirdsql.gds.ng.AbstractImmutableAttachProperties
connectionPropertyValues, getBooleanProperty, getIntProperty, getProperty, hashCode, immutable, isImmutable, property, setBooleanProperty, setIntProperty, setProperty
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.firebirdsql.jaybird.props.AttachmentProperties
getAuthPlugins, 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.BaseProperties
connectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
-
Methods inherited from interface org.firebirdsql.gds.ng.IAttachProperties
getAttachObjectName, getWireCryptAsEnum, isImmutable, setAttachObjectName, setWireCryptAsEnum
-
Methods inherited from interface org.firebirdsql.jaybird.props.ServiceConnectionProperties
getExpectedDb, getServiceName, setExpectedDb, setServiceName
-
-
-
-
Constructor Detail
-
FbImmutableServiceProperties
public FbImmutableServiceProperties(IServiceProperties src)
Copy constructor for FbServiceProperties.All properties defined in
IServiceProperties
are copied fromsrc
to the new instance.- Parameters:
src
- Source to copy from
-
-
Method Detail
-
asImmutable
public IServiceProperties asImmutable()
- Specified by:
asImmutable
in interfaceIAttachProperties<IServiceProperties>
- Specified by:
asImmutable
in interfaceIServiceProperties
- Returns:
- An immutable version of this instance as an implementation of
IServiceProperties
-
asNewMutable
public IServiceProperties asNewMutable()
- Specified by:
asNewMutable
in interfaceIAttachProperties<IServiceProperties>
- Specified by:
asNewMutable
in interfaceIServiceProperties
- Returns:
- A new, mutable, instance as an implementation of
IServiceProperties
with all properties copied.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classAbstractImmutableAttachProperties<IServiceProperties>
-
-