Class UpperCamelCaseStrategy

java.lang.Object
io.micronaut.serde.config.naming.UpperCamelCaseStrategy
All Implemented Interfaces:
PropertyNamingStrategy

public class UpperCamelCaseStrategy extends Object implements PropertyNamingStrategy
camel case but first letter always upper.
  • Constructor Details

    • UpperCamelCaseStrategy

      public UpperCamelCaseStrategy()
  • Method Details

    • translate

      public String translate(io.micronaut.core.annotation.AnnotatedElement element)
      Description copied from interface: PropertyNamingStrategy
      Translate the given name into the desired format.
      Specified by:
      translate in interface PropertyNamingStrategy
      Parameters:
      element - The annotated element to translate
      Returns:
      The translated name