Package com.sap.cds.impl
Class ContextImpl
java.lang.Object
com.sap.cds.impl.ContextImpl
- All Implemented Interfaces:
Context
-
Method Summary
Modifier and TypeMethodDescriptionstatic Contextstatic Contextcontext(CdsModel model, DbContext dbContext, DataStoreConfiguration dataStoreConfiguration) static Contextcontext(CdsModel model, DbContext dbContext, SessionContext sessionContext) static Contextcontext(CdsModel model, DbContext dbContext, SessionContext sessionContext, DataStoreConfiguration dataStoreConfiguration) voidsetSessionContext(SessionContext sessionContext) Copy the values fromsessionContextinto current session object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cds.impl.Context
getSearchResolver, getTableNameResolver
-
Method Details
-
setSessionContext
Description copied from interface:ContextCopy the values fromsessionContextinto current session object.- Specified by:
setSessionContextin interfaceContext- Parameters:
sessionContext- the source object from which the values are copied
-
context
-
context
public static Context context(CdsModel model, DbContext dbContext, SessionContext sessionContext, DataStoreConfiguration dataStoreConfiguration) -
context
-
context
public static Context context(CdsModel model, DbContext dbContext, DataStoreConfiguration dataStoreConfiguration) -
getCdsModel
- Specified by:
getCdsModelin interfaceContext
-
getDbContext
- Specified by:
getDbContextin interfaceContext
-
getSessionContext
- Specified by:
getSessionContextin interfaceContext
-
getCdsCompilerVersion
- Specified by:
getCdsCompilerVersionin interfaceContext
-
getRuntimeMode
- Specified by:
getRuntimeModein interfaceContext
-
getDataStoreConfiguration
- Specified by:
getDataStoreConfigurationin interfaceContext
-