All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cds.adapter.odata.v2.CdsRequestGlobals Maven / Gradle / Ivy

There is a newer version: 3.6.0
Show newest version
/**************************************************************************
 * (C) 2019-2024 SAP SE or an SAP affiliate company. All rights reserved. *
 **************************************************************************/
package com.sap.cds.adapter.odata.v2;

import java.util.HashMap;
import java.util.Map;

import com.sap.cds.reflect.CdsModel;
import com.sap.cds.services.cds.ApplicationService;
import com.sap.cds.services.runtime.CdsRuntime;

public class CdsRequestGlobals {

	private final CdsRuntime runtime;
	private final CdsModel model;
	private final Map cdsEntityNames = new HashMap<>();

	private ApplicationService service;

	public CdsRequestGlobals(CdsRuntime runtime, CdsModel model) {
		this.runtime = runtime;
		this.model = model;
	}

	public CdsRuntime getRuntime() {
		return runtime;
	}

	public CdsModel getModel() {
		return model;
	}

	public Map getCdsEntityNames() {
		return cdsEntityNames;
	}

	public ApplicationService getApplicationService() {
		return service;
	}

	public void setApplicationService(ApplicationService service) {
		this.service = service;
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy