public class ScpNeoTenant extends DefaultTenant
Tenant
for SAP Cloud Platform Neo.Constructor and Description |
---|
ScpNeoTenant()
Creates a mocked
ScpNeoTenant returning an empty tenant identifier. |
ScpNeoTenant(com.sap.cloud.account.TenantContext tenantContext)
Creates a new
ScpNeoTenant . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
com.sap.cloud.account.TenantContext |
getTenantContext()
The current
TenantContext . |
int |
hashCode() |
String |
toString() |
getTenantId
public ScpNeoTenant(@Nonnull com.sap.cloud.account.TenantContext tenantContext)
ScpNeoTenant
.tenantContext
- The TenantContext
of the tenant.public ScpNeoTenant()
ScpNeoTenant
returning an empty tenant identifier.public boolean equals(@Nullable Object o)
equals
in class DefaultTenant
protected boolean canEqual(@Nullable Object other)
canEqual
in class DefaultTenant
public int hashCode()
hashCode
in class DefaultTenant
@Nonnull public String toString()
toString
in class DefaultTenant
@Nonnull public com.sap.cloud.account.TenantContext getTenantContext()
TenantContext
.Copyright © 2021 SAP SE. All rights reserved.