vishnu.model.contexts
Class DatabaseContext

java.lang.Object
  extended by vishnu.model.contexts.DatabaseContext
Direct Known Subclasses:
UserContext

public class DatabaseContext
extends java.lang.Object

 

Field Summary
protected  Database d
           
protected  Session s
           
 
Constructor Summary
DatabaseContext()
           
DatabaseContext(Database d)
           
DatabaseContext(DatabaseContext c)
           
DatabaseContext(Database d, Session s)
           
 
Method Summary
 boolean equals(DatabaseContext c)
           
 Database getDatabase()
           
 Session getSession()
           
 void setDatabase(Database d)
           
 void setSession(Session s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

d

protected Database d

s

protected Session s
Constructor Detail

DatabaseContext

public DatabaseContext()

DatabaseContext

public DatabaseContext(Database d)

DatabaseContext

public DatabaseContext(Database d,
                       Session s)

DatabaseContext

public DatabaseContext(DatabaseContext c)
Method Detail

getDatabase

public Database getDatabase()

setDatabase

public void setDatabase(Database d)

getSession

public Session getSession()

setSession

public void setSession(Session s)

equals

public boolean equals(DatabaseContext c)