Class UpdateOp.Key
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.UpdateOp.Key
-
- Enclosing class:
- UpdateOp
public static final class UpdateOp.Key extends java.lang.ObjectA 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)@NotNull java.lang.StringgetName()@Nullable RevisiongetRevision()inthashCode()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-