Interface AttributeType


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

     AttributeType attributeType = AttributeType.builder()
             .name("{name}")
             .build()
 
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      Returns:
      name
    • setName

      void setName(String name)
      set name
      Parameters:
      name - value to be set
    • of

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

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

      @Nullable static AttributeType deepCopy(@Nullable AttributeType template)
      factory method to create a deep copy of AttributeType
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static AttributeTypeBuilder builder()
      builder factory method for AttributeType
      Returns:
      builder
    • builder

      static AttributeTypeBuilder builder(AttributeType template)
      create builder for AttributeType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAttributeType

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