Interface AttributeBooleanType

All Superinterfaces:
AttributeType

public interface AttributeBooleanType extends AttributeType

Attribute type for Boolean values. Valid values for the Attribute are true and false (JSON Boolean).


Example to create an instance using the builder pattern

     AttributeBooleanType attributeBooleanType = AttributeBooleanType.builder()
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static AttributeBooleanTypeBuilder builder()
      builder factory method for AttributeBooleanType
      Returns:
      builder
    • builder

      create builder for AttributeBooleanType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAttributeBooleanType

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