com.rapidminer.tools.jdbc.connection
Class ConnectionEntry
java.lang.Object
com.rapidminer.tools.jdbc.connection.ConnectionEntry
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- AccessConnectionEntry, FieldConnectionEntry
public abstract class ConnectionEntry
- extends java.lang.Object
- implements java.lang.Comparable
A database connection, offered by the DatabaseConnectionService. Each entry stores the needed
informations like data base type, it's sql properties, as well as user name and password.
- Author:
- Tobias Malbrecht, Sebastian Land
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPARATOR
public static java.util.Comparator<ConnectionEntry> COMPARATOR
name
protected java.lang.String name
properties
protected JDBCProperties properties
user
protected java.lang.String user
password
protected char[] password
ConnectionEntry
public ConnectionEntry()
ConnectionEntry
public ConnectionEntry(java.lang.String name,
JDBCProperties properties)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable
getName
public java.lang.String getName()
getProperties
public JDBCProperties getProperties()
getUser
public java.lang.String getUser()
getPassword
public char[] getPassword()
getURL
public abstract java.lang.String getURL()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
isReadOnly
public boolean isReadOnly()
- This method returns if the connection entry is changeable by user.
isDynamic
public boolean isDynamic()
- This method returns if this entry has been generated by program code and must not
be stored in file on program termination. The code will readd it on next program start.
Copyright © 2001-2009 by Rapid-I