Interface CategoryKeyReference

All Superinterfaces:
KeyReference

public interface CategoryKeyReference extends KeyReference

References a category by key.


Example to create an instance using the builder pattern

     CategoryKeyReference categoryKeyReference = CategoryKeyReference.builder()
             .key("{key}")
             .build()
 
  • Field Details

  • Method Details

    • of

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

      factory method to create a shallow copy CategoryKeyReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      static CategoryKeyReferenceBuilder builder()
      builder factory method for CategoryKeyReference
      Returns:
      builder
    • builder

      create builder for CategoryKeyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategoryKeyReference

      default <T> T withCategoryKeyReference(Function<CategoryKeyReference,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<CategoryKeyReference> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference