org.apache.derby.impl.sql.conn
Class SQLSessionContextImpl

java.lang.Object
  extended by org.apache.derby.impl.sql.conn.SQLSessionContextImpl
All Implemented Interfaces:
SQLSessionContext

public class SQLSessionContextImpl
extends java.lang.Object
implements SQLSessionContext


Field Summary
private  SchemaDescriptor currentDefaultSchema
           
private  java.lang.String currentRole
           
 
Constructor Summary
SQLSessionContextImpl(SchemaDescriptor sd)
           
 
Method Summary
 SchemaDescriptor getDefaultSchema()
          Get the schema of this SQL connection context
 java.lang.String getRole()
          Get the SQL role of this SQL connection context
 void setDefaultSchema(SchemaDescriptor sd)
          Set the schema of this SQL connection context
 void setRole(java.lang.String role)
          Set the SQL role of this SQL connection context The empty string is returned if role is NONE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentRole

private java.lang.String currentRole

currentDefaultSchema

private SchemaDescriptor currentDefaultSchema
Constructor Detail

SQLSessionContextImpl

public SQLSessionContextImpl(SchemaDescriptor sd)
Method Detail

setRole

public void setRole(java.lang.String role)
Description copied from interface: SQLSessionContext
Set the SQL role of this SQL connection context The empty string is returned if role is NONE.

Specified by:
setRole in interface SQLSessionContext

getRole

public java.lang.String getRole()
Description copied from interface: SQLSessionContext
Get the SQL role of this SQL connection context

Specified by:
getRole in interface SQLSessionContext

setDefaultSchema

public void setDefaultSchema(SchemaDescriptor sd)
Description copied from interface: SQLSessionContext
Set the schema of this SQL connection context

Specified by:
setDefaultSchema in interface SQLSessionContext

getDefaultSchema

public SchemaDescriptor getDefaultSchema()
Description copied from interface: SQLSessionContext
Get the schema of this SQL connection context

Specified by:
getDefaultSchema in interface SQLSessionContext

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.