java.lang.Object
com.broadleafcommerce.data.tracking.core.service.Update<P>
Type Parameters:
P - The business type representation of the repository domain

public final class Update<P> extends Object
An update with a service projection against a persistent store mapped by getId()
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Details

    • Update

      public Update(String id, P change)
  • Method Details

    • getId

      public String getId()
      The unique id of the persistent store item to update
    • getChange

      public P getChange()
      The representation of the change to map into the repository domain
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object