Interface PropertyNamer

All Known Subinterfaces:
PropertyNamer.Void
All Known Implementing Classes:
BasicPropertyNamer, PropertyNamerDLC, PropertyNamerDUCS, PropertyNamerULC

public interface PropertyNamer
Defines an API for converting conventional bean property names to some other form.

For example, given the bean property "fooBarURL", the PropertyNamerDLC property namer will convert this to "foo-bar-url".

Property namers are associated with beans through the @Bean(propertyNamer) annotation.

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Represents a non-existent class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert the specified default property name to some other value.
  • Method Details

    • getPropertyName

      Convert the specified default property name to some other value.
      Parameters:
      name - The original bean property name.
      Returns:
      The converted property name.