Package org.firebirdsql.jaybird.xca
Class FBConnectionRequestInfo
- java.lang.Object
- 
- org.firebirdsql.jaybird.xca.FBConnectionRequestInfo
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public final class FBConnectionRequestInfo extends java.lang.Object implements java.io.SerializableThe classFBConnectionRequestInfoholds connection-specific information such as user, password, and other information.- Author:
- David Jencks, Roman Rokytskyy, Mark Rotteveel
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description FBConnectionRequestInfo(IConnectionProperties connectionProperties)Creates a connection request info based on a set of connection properties.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IConnectionPropertiesasIConnectionProperties()booleanequals(java.lang.Object o)inthashCode()voidsetPassword(java.lang.String password)voidsetUserName(java.lang.String userName)
 
- 
- 
- 
Constructor Detail- 
FBConnectionRequestInfopublic FBConnectionRequestInfo(IConnectionProperties connectionProperties) Creates a connection request info based on a set of connection properties.Mutable connection properties are used as is, so the caller is responsible to provide a copy if mutations shouldn't propagate. Immutable properties are automatically copied to a mutable version. - Parameters:
- connectionProperties- Connection properties
- Since:
- 5
 
 
- 
 - 
Method Detail- 
setUserNamepublic void setUserName(java.lang.String userName) 
 - 
setPasswordpublic void setPassword(java.lang.String password) 
 - 
asIConnectionPropertiespublic IConnectionProperties asIConnectionProperties() - Returns:
- A mutable view on the connection properties of this connection request
- Since:
- 5
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-