org.apache.cayenne.conn
Class DataSourceInfo
java.lang.Object
org.apache.cayenne.conn.DataSourceInfo
- All Implemented Interfaces:
- Serializable, Cloneable
public class DataSourceInfo
- extends Object
- implements Cloneable, Serializable
Helper JavaBean class that holds DataSource login information.
For more information see Cayenne User Guide.
- Author:
- Andrus Adamchik
- See Also:
- Serialized Form
userName
protected String userName
password
protected String password
jdbcDriver
protected String jdbcDriver
dataSourceUrl
protected String dataSourceUrl
adapterClassName
protected String adapterClassName
minConnections
protected int minConnections
maxConnections
protected int maxConnections
PASSWORD_LOCATION_CLASSPATH
public static final String PASSWORD_LOCATION_CLASSPATH
- See Also:
- Constant Field Values
PASSWORD_LOCATION_EXECUTABLE
public static final String PASSWORD_LOCATION_EXECUTABLE
- See Also:
- Constant Field Values
PASSWORD_LOCATION_MODEL
public static final String PASSWORD_LOCATION_MODEL
- See Also:
- Constant Field Values
PASSWORD_LOCATION_URL
public static final String PASSWORD_LOCATION_URL
- See Also:
- Constant Field Values
passwordEncoderClass
protected String passwordEncoderClass
passwordEncoderSalt
protected String passwordEncoderSalt
passwordSourceExecutable
protected String passwordSourceExecutable
passwordSourceFilename
protected String passwordSourceFilename
passwordSourceModel
protected String passwordSourceModel
passwordSourceUrl
protected String passwordSourceUrl
passwordLocation
protected String passwordLocation
DataSourceInfo
public DataSourceInfo()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
cloneInfo
public DataSourceInfo cloneInfo()
toString
public String toString()
- Overrides:
toString
in class Object
getAdapterClassName
public String getAdapterClassName()
setAdapterClassName
public void setAdapterClassName(String adapterClassName)
setMinConnections
public void setMinConnections(int minConnections)
getMinConnections
public int getMinConnections()
setMaxConnections
public void setMaxConnections(int maxConnections)
getMaxConnections
public int getMaxConnections()
setUserName
public void setUserName(String userName)
getUserName
public String getUserName()
setPassword
public void setPassword(String password)
getPassword
public String getPassword()
setJdbcDriver
public void setJdbcDriver(String jdbcDriver)
getJdbcDriver
public String getJdbcDriver()
setDataSourceUrl
public void setDataSourceUrl(String dataSourceUrl)
getDataSourceUrl
public String getDataSourceUrl()
getPasswordEncoder
public PasswordEncoding getPasswordEncoder()
getPasswordEncoderClass
public String getPasswordEncoderClass()
- Returns:
- the passwordEncoderClass
setPasswordEncoderClass
public void setPasswordEncoderClass(String passwordEncoderClass)
- Parameters:
passwordEncoderClass
- the passwordEncoderClass to set
getPasswordEncoderSalt
public String getPasswordEncoderSalt()
- Returns:
- the passwordEncoderSalt
setPasswordEncoderSalt
public void setPasswordEncoderSalt(String passwordEncoderSalt)
- Parameters:
passwordEncoderSalt
- the passwordEncoderSalt to set
getPasswordSourceFilename
public String getPasswordSourceFilename()
- Returns:
- the passwordLocationFilename
setPasswordSourceFilename
public void setPasswordSourceFilename(String passwordSourceFilename)
- Parameters:
passwordSourceFilename
- the passwordSourceFilename to set
getPasswordSourceModel
public String getPasswordSourceModel()
- Returns:
- the passwordLocationModel
getPasswordSourceUrl
public String getPasswordSourceUrl()
- Returns:
- the passwordLocationUrl
setPasswordSourceUrl
public void setPasswordSourceUrl(String passwordSourceUrl)
- Parameters:
passwordSourceUrl
- the passwordSourceUrl to set
getPasswordSourceExecutable
public String getPasswordSourceExecutable()
- Returns:
- the passwordLocationExecutable
setPasswordSourceExecutable
public void setPasswordSourceExecutable(String passwordSourceExecutable)
- Parameters:
passwordSourceExecutable
- the passwordSourceExecutable to set
getPasswordSource
public String getPasswordSource()
setPasswordSource
public void setPasswordSource(String passwordSource)
getPasswordLocation
public String getPasswordLocation()
- Returns:
- the passwordLocation
setPasswordLocation
public void setPasswordLocation(String passwordLocation)
- Parameters:
passwordLocation
- the passwordLocation to set
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.