|
|
|
@ -28,13 +28,10 @@ import java.util.UUID; |
|
|
|
public final class TenantId extends UUIDBased implements EntityId { |
|
|
|
|
|
|
|
@JsonIgnore |
|
|
|
public static final TenantId SYS_TENANT_ID = new TenantId(EntityId.NULL_UUID); |
|
|
|
|
|
|
|
static final ConcurrentReferenceHashMap<UUID, TenantId> tenants = new ConcurrentReferenceHashMap<>(16, ReferenceType.SOFT); |
|
|
|
|
|
|
|
static { |
|
|
|
tenants.put(SYS_TENANT_ID.getId(), SYS_TENANT_ID); |
|
|
|
} |
|
|
|
@JsonIgnore |
|
|
|
public static final TenantId SYS_TENANT_ID = TenantId.fromUUID(EntityId.NULL_UUID); |
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
|