java.lang.Object
me.ahoo.cosid.internal.AnnotatedIdFiller
- All Implemented Interfaces:
IdFiller
Fills the
CosId field of an entity (07-runtime-and-spring.md ยง3). The accessor of a class is resolved on its
first fill and cached per class: the annotated field (on the field, or on a type naming it) is looked up along the
superclasses, its type resolved through generic superclasses, and read and written through its getter and setter if
it has them, else directly. A class has at most one id; a class without one is left as it is.-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedIdFiller(Function<String, GeneratorEntry> generators) A filler of a runtime's generators. -
Method Summary
-
Constructor Details
-
AnnotatedIdFiller
A filler of a runtime's generators.- Parameters:
generators- the generator of a name; throws for an unknown or disabled one
-
-
Method Details