Interface TypeChangeNameAction

All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>, TypeUpdateAction

public interface TypeChangeNameAction extends TypeUpdateAction
TypeChangeNameAction
Example to create an instance using the builder pattern

     TypeChangeNameAction typeChangeNameAction = TypeChangeNameAction.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

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

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

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

      static TypeChangeNameActionBuilder builder()
      builder factory method for TypeChangeNameAction
      Returns:
      builder
    • builder

      create builder for TypeChangeNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withTypeChangeNameAction

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