server
1.9.0
jvm
server
/
io.spine.server.tenant
/
IdInTenant
Id
In
Tenant
public
final
class
IdInTenant
<
I
>
An identifier that exists for a specific TenantId.
Parameters
<I>
the type of the identifier
Members
Functions
equals
Link copied to clipboard
public
boolean
equals
(
Object
o
)
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
of
Link copied to clipboard
public
static
IdInTenant
<
I
>
of
<
I
>
(
I
id
,
TenantId tenant
)
Creates a new instance of
IdInTenant
with the given identifier value and
TenantId
.
public
static
IdInTenant
<
I
>
of
<
I
>
(
I
id
,
boolean multitenant
)
Creates a new instance of
IdInTenant
with the given identifier value and selected multitenancy mode.
tenant
Link copied to clipboard
public
TenantId
tenant
(
)
Returns the corresponding
TenantId
.
to
String
Link copied to clipboard
public
String
toString
(
)
value
Link copied to clipboard
public
I
value
(
)
Returns the value of the identifier.