Gephi Toolkit Javadoc

org.gephi.io.importer.api
Class AbstractDatabase

java.lang.Object
  extended by org.gephi.io.importer.api.AbstractDatabase
All Implemented Interfaces:
java.io.Serializable, Database
Direct Known Subclasses:
EdgeListDatabaseImpl

public abstract class AbstractDatabase
extends java.lang.Object
implements Database

Author:
Mathieu Bastian
See Also:
Serialized Form

Field Summary
protected  java.lang.String DBName
           
protected  java.lang.String driver
           
protected  java.lang.String host
           
protected  java.lang.String name
           
protected  java.lang.String passwd
           
protected  int port
           
protected  PropertiesAssociations properties
           
protected  java.lang.String username
           
 
Constructor Summary
AbstractDatabase()
           
 
Method Summary
 java.lang.String getDBName()
           
 java.lang.String getHost()
           
 java.lang.String getName()
           
 java.lang.String getPasswd()
           
 int getPort()
           
 PropertiesAssociations getPropertiesAssociations()
           
 SQLDriver getSQLDriver()
           
 java.lang.String getUsername()
           
 void setDBName(java.lang.String DBName)
           
 void setHost(java.lang.String host)
           
 void setName(java.lang.String name)
           
 void setPasswd(java.lang.String passwd)
           
 void setPort(int port)
           
 void setSQLDriver(SQLDriver driver)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

driver

protected java.lang.String driver

host

protected java.lang.String host

port

protected int port

username

protected java.lang.String username

passwd

protected java.lang.String passwd

DBName

protected java.lang.String DBName

properties

protected PropertiesAssociations properties
Constructor Detail

AbstractDatabase

public AbstractDatabase()
Method Detail

getDBName

public java.lang.String getDBName()
Specified by:
getDBName in interface Database

setDBName

public void setDBName(java.lang.String DBName)
Specified by:
setDBName in interface Database

getSQLDriver

public SQLDriver getSQLDriver()
Specified by:
getSQLDriver in interface Database

setSQLDriver

public void setSQLDriver(SQLDriver driver)
Specified by:
setSQLDriver in interface Database

getHost

public java.lang.String getHost()
Specified by:
getHost in interface Database

setHost

public void setHost(java.lang.String host)
Specified by:
setHost in interface Database

getName

public java.lang.String getName()
Specified by:
getName in interface Database

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Database

getPasswd

public java.lang.String getPasswd()
Specified by:
getPasswd in interface Database

setPasswd

public void setPasswd(java.lang.String passwd)
Specified by:
setPasswd in interface Database

getPort

public int getPort()
Specified by:
getPort in interface Database

setPort

public void setPort(int port)
Specified by:
setPort in interface Database

getUsername

public java.lang.String getUsername()
Specified by:
getUsername in interface Database

setUsername

public void setUsername(java.lang.String username)
Specified by:
setUsername in interface Database

getPropertiesAssociations

public PropertiesAssociations getPropertiesAssociations()
Specified by:
getPropertiesAssociations in interface Database

Gephi Toolkit Javadoc