@Value.Immutable public abstract class Id<O> extends Object implements HasHumanReadableLabel
| Modifier and Type | Class and Description |
|---|---|
static interface |
Id.ClearTypeCounter |
| Constructor and Description |
|---|
Id() |
| Modifier and Type | Method and Description |
|---|---|
String |
asHumanReadable() |
Optional<O> |
asInstance(Object value) |
protected abstract int |
count() |
static <O> Id<O> |
idFor(Class<O> type) |
String |
toString() |
protected abstract Class<O> |
type() |
static Id.ClearTypeCounter |
with(TypeCounter typeCounter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasHumanReadable@Value.Parameter protected abstract int count()
public String asHumanReadable()
asHumanReadable in interface HasHumanReadableLabelpublic static Id.ClearTypeCounter with(TypeCounter typeCounter)
Copyright © 2023. All rights reserved.