Class 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 Detail

      • Update

        public Update​(String id,
                      P change)
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object