|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.model.ModelShell
nz.ac.waikato.mcennis.rat.graph.DerbyGraph
nz.ac.waikato.mcennis.rat.graph.PostgresqlGraph
public class PostgresqlGraph
Sub-class of the DerbyGraph Object to work with postgresql databases
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class nz.ac.waikato.mcennis.rat.graph.DerbyGraph |
|---|
DerbyGraph.ActorIterator |
| Field Summary |
|---|
| Fields inherited from class nz.ac.waikato.mcennis.rat.graph.DerbyGraph |
|---|
serialVersionUID |
| Fields inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
|---|
listener |
| Constructor Summary | |
|---|---|
PostgresqlGraph()
Creates a new instance of PostgresqlGraph |
|
| Method Summary | |
|---|---|
Parameter[] |
getParameters()
Obtain a computer-readable description of the parameters and options this graph supports |
java.lang.String |
getUser()
Returns the username that is used or will be used by the graph |
void |
init(java.util.Properties map)
Set the parameters of this graph from the following property object. |
void |
initializeDatabase()
Performs Postgresql specific database initialization |
void |
setUser(java.lang.String u)
Sets the username for the postgresql database |
void |
startup()
Performs postgresql initialization rather than DerbyGraph FIXME: initActor for postgresql is needed |
| Methods inherited from class nz.ac.waikato.mcennis.rat.graph.DerbyGraph |
|---|
add, add, add, add, add, addChild, anonymize, clear, close, commit, deleteDatabase, finalize, getActor, getActor, getActor, getActorClass, getActorCount, getActorIterator, getActorTypes, getChildren, getChildren, getDirectory, getGraphs, getID, getLink, getLink, getLink, getLinkByDestination, getLinkBySource, getLinkTypes, getParent, getPathSet, getPathSet, getProperty, getProperty, getSubGraph, getSubGraph, initActor, isInitialized, prepareStatement, publishChange, remove, remove, retrieveActor, setActorClass, setActorProperties, setDirectory, setID, setSubGraph |
| Methods inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
|---|
addListener, fireChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.model.Model |
|---|
addListener |
| Constructor Detail |
|---|
public PostgresqlGraph()
| Method Detail |
|---|
public void startup()
throws java.sql.SQLException
startup in class DerbyGraphjava.sql.SQLException
public void initializeDatabase()
throws java.sql.SQLException
initializeDatabase in class DerbyGraphjava.sql.SQLExceptionpublic void setUser(java.lang.String u)
u - username to be used for the databasepublic java.lang.String getUser()
public Parameter[] getParameters()
Graph
getParameters in interface GraphgetParameters in class DerbyGraphpublic void init(java.util.Properties map)
Graph
init in interface Graphinit in class DerbyGraphmap - properties to be set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||