Interface CustomFieldNumberType

All Superinterfaces:
FieldType

public interface CustomFieldNumberType extends FieldType

Field type for number values.


Example to create an instance using the builder pattern

     CustomFieldNumberType customFieldNumberType = CustomFieldNumberType.builder()
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static CustomFieldNumberTypeBuilder builder()
      builder factory method for CustomFieldNumberType
      Returns:
      builder
    • builder

      create builder for CustomFieldNumberType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomFieldNumberType

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