Package com.sap.cds.services.mt
Interface TenantInfo
public interface TenantInfo
extends com.sap.cds.CdsData
Tenant info
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.CdsData
com.sap.cds.CdsData.Factory -
Field Summary
FieldsFields inherited from interface com.sap.cds.CdsData
factory -
Method Summary
Modifier and TypeMethodDescriptionstatic TenantInfocreate()Creates a newTenantInfovoidsetSubdomain(String subdomain) Sets the subdomainvoidSets the tenant identifierMethods inherited from interface com.sap.cds.CdsData
containsPath, forRemoval, forRemoval, get, getMetadata, getPath, getPathOrDefault, isForRemoval, putMetadata, putPath, putPathIfAbsent, removePathMethods inherited from interface com.sap.cds.JSONizable
toJsonMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
TENANT
- See Also:
-
SUBDOMAIN
- See Also:
-
-
Method Details
-
create
Creates a newTenantInfo- Returns:
- the
TenantInfo
-
getTenant
String getTenant()- Returns:
- the tenant identifier
-
setTenant
Sets the tenant identifier- Parameters:
tenant- the tenant identifier
-
getSubdomain
String getSubdomain()- Returns:
- the subdomain
-
setSubdomain
Sets the subdomain- Parameters:
subdomain- the subdomain
-