Annotation Interface ID


public @interface ID
🆔 annotated classes uniquely 🪪 identify 🫆 objects.

IdConverter converts such IDs from and to String.

This is a "convenience marker interface". It is recommended to be added to new classes, but it's technically NOT strictly required; as e.g. an URI is also such an ID (and IdConverters.URI is its converter) or an UUID - despite either of them not actually really being annotated with this.