Class UpdateOp.Key

java.lang.Object
org.apache.jackrabbit.oak.plugins.document.UpdateOp.Key
Enclosing class:
UpdateOp

public static final class UpdateOp.Key extends 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 Details

    • Key

      public Key(@NotNull @NotNull String name, @Nullable @Nullable Revision revision)
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
    • getRevision

      @Nullable public @Nullable Revision getRevision()
    • toString

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

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object