IdInTenant

public final class IdInTenant<I>

An identifier that exists for a specific TenantId.

Parameters

<I>

the type of the identifier

Functions

Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public int hashCode()
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.
Link copied to clipboard
public TenantId tenant()
Returns the corresponding TenantId.
Link copied to clipboard
public String toString()
Link copied to clipboard
public I value()
Returns the value of the identifier.