Interface CustomFieldStringType

All Superinterfaces:
FieldType

public interface CustomFieldStringType extends FieldType

Field type for string values.


Example to create an instance using the builder pattern

     CustomFieldStringType customFieldStringType = CustomFieldStringType.builder()
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static CustomFieldStringTypeBuilder builder()
      builder factory method for CustomFieldStringType
      Returns:
      builder
    • builder

      create builder for CustomFieldStringType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomFieldStringType

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