- All Known Implementing Classes:
AnnotatedIdFiller
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Fills the
CosId field of an entity when it is not set yet (<= 0 or empty); long/Long,
int/Integer (range checked) and String fields: the generator's text, as text(name)
gives it (its codec, the 80-bit or periodic text, the canonical UUIDv7 form)
(07-runtime-and-spring.md ยง3).-
Method Summary
-
Method Details
-
fill
Fills the@CosIdfield ofentityif it is not set yet; an entity whose class has no such field is left as it is (R1-core-16).- Parameters:
entity- the entity- Throws:
NullPointerException- ifentityis nullCosIdException- if the field cannot be set
-