Interface AttributePlainEnumValue


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

     AttributePlainEnumValue attributePlainEnumValue = AttributePlainEnumValue.builder()
             .key("{key}")
             .label("{label}")
             .build()
 
  • Method Details

    • getKey

      @NotNull @NotNull String getKey()
      Returns:
      key
    • getLabel

      @NotNull @NotNull String getLabel()
      Returns:
      label
    • setKey

      void setKey(String key)
      set key
      Parameters:
      key - value to be set
    • setLabel

      void setLabel(String label)
      set label
      Parameters:
      label - value to be set
    • of

      factory method
      Returns:
      instance of AttributePlainEnumValue
    • of

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

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

      builder factory method for AttributePlainEnumValue
      Returns:
      builder
    • builder

      create builder for AttributePlainEnumValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAttributePlainEnumValue

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