Class ODataCaseStrategy

  • All Implemented Interfaces:
    java.io.Serializable

    public class ODataCaseStrategy
    extends com.fasterxml.jackson.databind.PropertyNamingStrategy.UpperCamelCaseStrategy
    Special strategy for json-fields naming OData have special pascal format for all objects, but it ignores some special cases, like 'd' and 'results', also if we expect 2or move capitals letters from the beginning(like ID)
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy

        com.fasterxml.jackson.databind.PropertyNamingStrategy.KebabCaseStrategy, com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCaseStrategy, com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy, com.fasterxml.jackson.databind.PropertyNamingStrategy.PascalCaseStrategy, com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase, com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCaseStrategy, com.fasterxml.jackson.databind.PropertyNamingStrategy.UpperCamelCaseStrategy
    • Field Summary

      • Fields inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy

        CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES, KEBAB_CASE, LOWER_CAMEL_CASE, LOWER_CASE, PASCAL_CASE_TO_CAMEL_CASE, SNAKE_CASE, UPPER_CAMEL_CASE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String translate​(java.lang.String input)  
      • Methods inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase

        nameForConstructorParameter, nameForField, nameForGetterMethod, nameForSetterMethod
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ODataCaseStrategy

        public ODataCaseStrategy()
    • Method Detail

      • translate

        public java.lang.String translate​(java.lang.String input)
        Overrides:
        translate in class com.fasterxml.jackson.databind.PropertyNamingStrategy.UpperCamelCaseStrategy