Class FieldNameGenerator
java.lang.Object
me.bristermitten.mittenlib.annotations.compile.FieldNameGenerator
Responsible for generating serial keys based on DTO fields
-
Method Summary
Modifier and TypeMethodDescriptiongetConfigFieldName
(@NotNull Property property) Get a suitable serialization key for a given property.
-
Method Details
-
getConfigFieldName
Get a suitable serialization key for a given property. This is the String that is looked up from the givenDeserializationContext.getData()
- Parameters:
property
- The property- Returns:
- The key to use when reading from
DeserializationContext.getData()
for the given property.
-