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
           
private  java.lang.String currentUser
           
 
Constructor Summary
SQLSessionContextImpl(SchemaDescriptor sd, java.lang.String currentUser)
           
 
Method Summary
 java.lang.String getCurrentUser()
          Get the SQL current user of this SQL connection context
 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
 void setUser(java.lang.String user)
          Set the SQL current user of this SQL connection context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentUser

private java.lang.String currentUser

currentRole

private java.lang.String currentRole

currentDefaultSchema

private SchemaDescriptor currentDefaultSchema
Constructor Detail

SQLSessionContextImpl

public SQLSessionContextImpl(SchemaDescriptor sd,
                             java.lang.String currentUser)
Method Detail

setRole

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

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

setUser

public void setUser(java.lang.String user)
Description copied from interface: SQLSessionContext
Set the SQL current user of this SQL connection context

Specified by:
setUser in interface SQLSessionContext

getCurrentUser

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

Specified by:
getCurrentUser 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 Wed 2013-06-12 15:21:56+0000, from revision ???

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