Class ConnectionDescriptor
- java.lang.Object
-
- com.vividsolutions.jump.workbench.datastore.ConnectionDescriptor
-
public class ConnectionDescriptor extends Object
Contains a ParameterList and its associated DataStoreDriver.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionDescriptor.PersistentParameterList
static class
ConnectionDescriptor.PersistentParameterListSchema
-
Constructor Summary
Constructors Constructor Description ConnectionDescriptor()
ConnectionDescriptor(Class dataStoreDriverClass, ParameterList parameterList)
ConnectionDescriptor(String name, Class dataStoreDriverClass, ParameterList parameterList)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStoreConnection
createConnection(DataStoreDriver driver)
boolean
equals(Object other)
String
getDataStoreDriverClassName()
String
getName()
ParameterList
getParameterList()
ConnectionDescriptor.PersistentParameterList
getParameterListWithObfuscatedPassword()
ParameterList
getParameterListWithoutPassword()
String
getParametersString()
int
hashCode()
static String
passwordParameterName(ParameterListSchema schema)
void
setDataStoreDriverClassName(String dataStoreDriverClassName)
void
setName(String name)
void
setParameterList(ParameterList parameterList)
void
setParameterListWithObfuscatedPassword(ConnectionDescriptor.PersistentParameterList parameterListWithObfuscatedPassword)
String
toString()
-
-
-
Constructor Detail
-
ConnectionDescriptor
public ConnectionDescriptor()
-
ConnectionDescriptor
public ConnectionDescriptor(Class dataStoreDriverClass, ParameterList parameterList)
-
ConnectionDescriptor
public ConnectionDescriptor(String name, Class dataStoreDriverClass, ParameterList parameterList)
-
-
Method Detail
-
setName
public void setName(String name)
-
getName
public String getName()
-
createConnection
public DataStoreConnection createConnection(DataStoreDriver driver) throws Exception
- Throws:
Exception
-
getParameterList
public ParameterList getParameterList()
-
getParametersString
public String getParametersString()
-
getParameterListWithoutPassword
public ParameterList getParameterListWithoutPassword()
-
setParameterListWithObfuscatedPassword
public void setParameterListWithObfuscatedPassword(ConnectionDescriptor.PersistentParameterList parameterListWithObfuscatedPassword)
-
getParameterListWithObfuscatedPassword
public ConnectionDescriptor.PersistentParameterList getParameterListWithObfuscatedPassword()
-
setDataStoreDriverClassName
public void setDataStoreDriverClassName(String dataStoreDriverClassName)
-
getDataStoreDriverClassName
public String getDataStoreDriverClassName()
-
setParameterList
public void setParameterList(ParameterList parameterList)
-
passwordParameterName
public static String passwordParameterName(ParameterListSchema schema)
-
-