Interface CategoryOrderHints


public interface CategoryOrderHints
CategoryOrderHints
Example to create an instance using the builder pattern

     CategoryOrderHints categoryOrderHints = CategoryOrderHints.builder()
             ./^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/("{/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/}")
             .build()
 
  • Method Details

    • values

      @NotNull @NotNull Map<String,String> values()
      Returns:
      map of the pattern property values
    • setValue

      void setValue(String key, String value)
      set pattern property
      Parameters:
      key - property name
      value - property value
    • of

      static CategoryOrderHints of()
      factory method
      Returns:
      instance of CategoryOrderHints
    • of

      static CategoryOrderHints of(CategoryOrderHints template)
      factory method to create a shallow copy CategoryOrderHints
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of CategoryOrderHints
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static CategoryOrderHintsBuilder builder()
      builder factory method for CategoryOrderHints
      Returns:
      builder
    • builder

      static CategoryOrderHintsBuilder builder(CategoryOrderHints template)
      create builder for CategoryOrderHints instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategoryOrderHints

      default <T> T withCategoryOrderHints(Function<CategoryOrderHints,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<CategoryOrderHints> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference