Interface CustomFieldBooleanType

All Superinterfaces:
FieldType

public interface CustomFieldBooleanType extends FieldType

Field type for Boolean values.


Example to create an instance using the builder pattern

     CustomFieldBooleanType customFieldBooleanType = CustomFieldBooleanType.builder()
             .build()
 
  • Field Details

  • Method Details

    • of

      factory method
      Returns:
      instance of CustomFieldBooleanType
    • of

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

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

      builder factory method for CustomFieldBooleanType
      Returns:
      builder
    • builder

      create builder for CustomFieldBooleanType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomFieldBooleanType

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