Class UpdateOp.Key

  • Enclosing class:
    UpdateOp

    public static final class UpdateOp.Key
    extends java.lang.Object
    A key for an operation consists of a property name and an optional revision. The revision is only set if the value for the operation is set for a certain revision.
    • Constructor Summary

      Constructors 
      Constructor Description
      Key​(@NotNull java.lang.String name, @Nullable Revision revision)  
    • Constructor Detail

      • Key

        public Key​(@NotNull
                   @NotNull java.lang.String name,
                   @Nullable
                   @Nullable Revision revision)
    • Method Detail

      • getName

        @NotNull
        public @NotNull java.lang.String getName()
      • getRevision

        @Nullable
        public @Nullable Revision getRevision()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object