Interface ErrorByExtension


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

     ErrorByExtension errorByExtension = ErrorByExtension.builder()
             .id("{id}")
             .build()
 
  • Method Details

    • getId

      @NotNull @NotNull String getId()

      Unique identifier of the Extension.

      Returns:
      id
    • getKey

      String getKey()

      User-defined unique identifier of the Extension.

      Returns:
      key
    • setId

      void setId(String id)

      Unique identifier of the Extension.

      Parameters:
      id - value to be set
    • setKey

      void setKey(String key)

      User-defined unique identifier of the Extension.

      Parameters:
      key - value to be set
    • of

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

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

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

      static ErrorByExtensionBuilder builder()
      builder factory method for ErrorByExtension
      Returns:
      builder
    • builder

      static ErrorByExtensionBuilder builder(ErrorByExtension template)
      create builder for ErrorByExtension instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withErrorByExtension

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