Interface AttributeSetType

All Superinterfaces:
AttributeType

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

     AttributeSetType attributeSetType = AttributeSetType.builder()
             .elementType(elementTypeBuilder -> elementTypeBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getElementType

      @NotNull @Valid @NotNull @Valid AttributeType getElementType()
      Returns:
      elementType
    • setElementType

      void setElementType(AttributeType elementType)
      set elementType
      Parameters:
      elementType - value to be set
    • of

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

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

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

      static AttributeSetTypeBuilder builder()
      builder factory method for AttributeSetType
      Returns:
      builder
    • builder

      static AttributeSetTypeBuilder builder(AttributeSetType template)
      create builder for AttributeSetType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAttributeSetType

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