Interface CategoryChangeNameAction

All Superinterfaces:
CategoryUpdateAction, ResourceUpdateAction<CategoryUpdateAction>

public interface CategoryChangeNameAction extends CategoryUpdateAction
CategoryChangeNameAction
Example to create an instance using the builder pattern

     CategoryChangeNameAction categoryChangeNameAction = CategoryChangeNameAction.builder()
             .name(nameBuilder -> nameBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getName

      @NotNull @Valid @NotNull @Valid LocalizedString getName()

      New value to set. Must not be empty.

      Returns:
      name
    • setName

      void setName(LocalizedString name)

      New value to set. Must not be empty.

      Parameters:
      name - value to be set
    • of

      factory method
      Returns:
      instance of CategoryChangeNameAction
    • of

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

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

      builder factory method for CategoryChangeNameAction
      Returns:
      builder
    • builder

      create builder for CategoryChangeNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategoryChangeNameAction

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