Interface UnresolvedReferences


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

     UnresolvedReferences unresolvedReferences = UnresolvedReferences.builder()
             .key("{key}")
             .typeId(ReferenceType.CART)
             .build()
 
  • Method Details

    • getKey

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

      @NotNull @NotNull ReferenceType getTypeId()

      The type of the referenced resource.

      Returns:
      typeId
    • setKey

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

      void setTypeId(ReferenceType typeId)

      The type of the referenced resource.

      Parameters:
      typeId - value to be set
    • of

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

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

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

      static UnresolvedReferencesBuilder builder()
      builder factory method for UnresolvedReferences
      Returns:
      builder
    • builder

      create builder for UnresolvedReferences instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withUnresolvedReferences

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