public final class FbServiceProperties extends AbstractAttachProperties<IServiceProperties> implements IServiceProperties
IServiceProperties
.FbImmutableServiceProperties
DEFAULT_SERVICE_NAME
DEFAULT_CONNECT_TIMEOUT, DEFAULT_PORT, DEFAULT_SERVER_NAME, DEFAULT_SO_TIMEOUT, DEFAULT_SOCKET_BUFFER_SIZE
Constructor and Description |
---|
FbServiceProperties()
Default constructor for FbServiceProperties
|
FbServiceProperties(IServiceProperties src)
Copy constructor for FbServiceProperties.
|
Modifier and Type | Method and Description |
---|---|
IServiceProperties |
asImmutable() |
IServiceProperties |
asNewMutable() |
protected void |
dirtied()
Called by setters if they have been called.
|
java.lang.String |
getAttachObjectName() |
java.lang.String |
getServiceName()
Get the service name
|
void |
setServiceName(java.lang.String serviceName)
Set the service name.
|
getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getPassword, getPortNumber, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getUser, getWireCrypt, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setPassword, setPortNumber, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setUser, setWireCrypt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getPassword, getPortNumber, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getUser, getWireCrypt, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setPassword, setPortNumber, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setUser, setWireCrypt
public FbServiceProperties(IServiceProperties src)
All properties defined in IServiceProperties
are copied from src
to the new instance.
src
- Source to copy frompublic FbServiceProperties()
public java.lang.String getServiceName()
IServiceProperties
NOTE: Implementer should take care to return IServiceProperties.DEFAULT_SERVICE_NAME
if
value hasn't been set yet.
getServiceName
in interface IServiceProperties
public void setServiceName(java.lang.String serviceName)
IServiceProperties
NOTE: Implementer should take care to use the IServiceProperties.DEFAULT_SERVICE_NAME
if
this method hasn't been called yet.
setServiceName
in interface IServiceProperties
serviceName
- Service namepublic java.lang.String getAttachObjectName()
getAttachObjectName
in interface IAttachProperties<IServiceProperties>
public IServiceProperties asImmutable()
asImmutable
in interface IAttachProperties<IServiceProperties>
asImmutable
in interface IServiceProperties
IServiceProperties
public IServiceProperties asNewMutable()
asNewMutable
in interface IAttachProperties<IServiceProperties>
asNewMutable
in interface IServiceProperties
IServiceProperties
with all properties copied.protected void dirtied()
AbstractAttachProperties
dirtied
in class AbstractAttachProperties<IServiceProperties>
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.