test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/UpdateOpTest.java
test_class.identifier: UpdateOpTest
test_case.body: @Test
      public void notEqualsTest() {
          Revision r = Revision.newRevision(1);
          UpdateOp op = new UpdateOp("id", true);
          try {
              op.notEquals("p", r, "v");
              fail("expected " + IllegalStateException.class.getName());
          } catch (IllegalStateException e) {
              // expected
          }
          op = new UpdateOp("id", false);
          op.notEquals("p", r, "v");
          assertEquals(1, op.getConditions().size());
          UpdateOp.Key key = op.getConditions().keySet().iterator().next();
          assertEquals(r, key.getRevision());
          assertEquals("p", key.getName());
          UpdateOp.Condition c = op.getConditions().get(key);
          assertEquals(UpdateOp.Condition.Type.NOTEQUALS, c.type);
          assertEquals("v", c.value);
  
          op = new UpdateOp("id", false);
          op.notEquals("p", r, null);
          assertEquals(1, op.getConditions().size());
          key = op.getConditions().keySet().iterator().next();
          assertEquals(r, key.getRevision());
          assertEquals("p", key.getName());
          c = op.getConditions().get(key);
          assertEquals(UpdateOp.Condition.Type.NOTEQUALS, c.type);
          assertEquals(null, c.value);
      }
test_case.class_method_signature: UpdateOpTest.notEqualsTest()
test_case.full_signature: @Test public void notEqualsTest()
test_case.identifier: notEqualsTest
test_case.invocations: newRevision notEquals fail getName notEquals assertEquals size getConditions next iterator keySet getConditions assertEquals getRevision assertEquals getName get getConditions assertEquals assertEquals notEquals assertEquals size getConditions next iterator keySet getConditions assertEquals getRevision assertEquals getName get getConditions assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void notEqualsTest()
focal_class.declarator: id
focal_class.modifier: private final
focal_class.original_string: private final String id;
focal_class.type: String
focal_class.var_name: id
focal_class.declarator: isNew
focal_class.modifier: private
focal_class.original_string: private boolean isNew;
focal_class.type: boolean
focal_class.var_name: isNew
focal_class.declarator: isDelete
focal_class.modifier: private
focal_class.original_string: private boolean isDelete;
focal_class.type: boolean
focal_class.var_name: isDelete
focal_class.declarator: changes
focal_class.modifier: private final
focal_class.original_string: private final Map<Key, Operation> changes;
focal_class.type: Map<Key, Operation>
focal_class.var_name: changes
focal_class.declarator: conditions
focal_class.modifier: private
focal_class.original_string: private Map<Key, Condition> conditions;
focal_class.type: Map<Key, Condition>
focal_class.var_name: conditions
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/UpdateOp.java
focal_class.identifier: UpdateOp
focal_class.class_method_signature: UpdateOp.UpdateOp(@NotNull String id, boolean isNew)
focal_class.full_signature: public  UpdateOp(@NotNull String id, boolean isNew)
focal_class.identifier: UpdateOp
focal_class.modifiers: public
focal_class.parameters: (@NotNull String id, boolean isNew)
focal_class.signature:  UpdateOp(@NotNull String id, boolean isNew)
focal_class.class_method_signature: UpdateOp.UpdateOp(@NotNull String id,
               boolean isNew,
               boolean isDelete,
               @NotNull Map<Key, Operation> changes,
               @Nullable Map<Key, Condition> conditions)
focal_class.full_signature:   UpdateOp(@NotNull String id,
               boolean isNew,
               boolean isDelete,
               @NotNull Map<Key, Operation> changes,
               @Nullable Map<Key, Condition> conditions)
focal_class.identifier: UpdateOp
focal_class.parameters: (@NotNull String id,
               boolean isNew,
               boolean isDelete,
               @NotNull Map<Key, Operation> changes,
               @Nullable Map<Key, Condition> conditions)
focal_class.signature:  UpdateOp(@NotNull String id,
               boolean isNew,
               boolean isDelete,
               @NotNull Map<Key, Operation> changes,
               @Nullable Map<Key, Condition> conditions)
focal_class.class_method_signature: UpdateOp.combine(String id, Iterable<UpdateOp> ops)
focal_class.full_signature: static UpdateOp combine(String id, Iterable<UpdateOp> ops)
focal_class.identifier: combine
focal_class.modifiers: static
focal_class.parameters: (String id, Iterable<UpdateOp> ops)
focal_class.return: UpdateOp
focal_class.signature: UpdateOp combine(String id, Iterable<UpdateOp> ops)
focal_class.class_method_signature: UpdateOp.shallowCopy(String id)
focal_class.full_signature: public UpdateOp shallowCopy(String id)
focal_class.identifier: shallowCopy
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: UpdateOp
focal_class.signature: UpdateOp shallowCopy(String id)
focal_class.class_method_signature: UpdateOp.copy()
focal_class.full_signature: public UpdateOp copy()
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: UpdateOp
focal_class.signature: UpdateOp copy()
focal_class.class_method_signature: UpdateOp.getId()
focal_class.full_signature: @NotNull public String getId()
focal_class.identifier: getId
focal_class.modifiers: @NotNull public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getId()
focal_class.class_method_signature: UpdateOp.isNew()
focal_class.full_signature: public boolean isNew()
focal_class.identifier: isNew
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isNew()
focal_class.class_method_signature: UpdateOp.setNew(boolean isNew)
focal_class.full_signature: public void setNew(boolean isNew)
focal_class.identifier: setNew
focal_class.modifiers: public
focal_class.parameters: (boolean isNew)
focal_class.return: void
focal_class.signature: void setNew(boolean isNew)
focal_class.class_method_signature: UpdateOp.setDelete(boolean isDelete)
focal_class.full_signature:  void setDelete(boolean isDelete)
focal_class.identifier: setDelete
focal_class.parameters: (boolean isDelete)
focal_class.return: void
focal_class.signature: void setDelete(boolean isDelete)
focal_class.class_method_signature: UpdateOp.isDelete()
focal_class.full_signature:  boolean isDelete()
focal_class.identifier: isDelete
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDelete()
focal_class.class_method_signature: UpdateOp.getChanges()
focal_class.full_signature: public Map<Key, Operation> getChanges()
focal_class.identifier: getChanges
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<Key, Operation>
focal_class.signature: Map<Key, Operation> getChanges()
focal_class.class_method_signature: UpdateOp.getConditions()
focal_class.full_signature: public Map<Key, Condition> getConditions()
focal_class.identifier: getConditions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<Key, Condition>
focal_class.signature: Map<Key, Condition> getConditions()
focal_class.class_method_signature: UpdateOp.hasChanges()
focal_class.full_signature: public boolean hasChanges()
focal_class.identifier: hasChanges
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasChanges()
focal_class.class_method_signature: UpdateOp.setMapEntry(@NotNull String property, @NotNull Revision revision, String value)
focal_class.full_signature:  void setMapEntry(@NotNull String property, @NotNull Revision revision, String value)
focal_class.identifier: setMapEntry
focal_class.parameters: (@NotNull String property, @NotNull Revision revision, String value)
focal_class.return: void
focal_class.signature: void setMapEntry(@NotNull String property, @NotNull Revision revision, String value)
focal_class.class_method_signature: UpdateOp.remove(@NotNull String property)
focal_class.full_signature: public void remove(@NotNull String property)
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: (@NotNull String property)
focal_class.return: void
focal_class.signature: void remove(@NotNull String property)
focal_class.class_method_signature: UpdateOp.removeMapEntry(@NotNull String property, @NotNull Revision revision)
focal_class.full_signature: public void removeMapEntry(@NotNull String property, @NotNull Revision revision)
focal_class.identifier: removeMapEntry
focal_class.modifiers: public
focal_class.parameters: (@NotNull String property, @NotNull Revision revision)
focal_class.return: void
focal_class.signature: void removeMapEntry(@NotNull String property, @NotNull Revision revision)
focal_class.class_method_signature: UpdateOp.set(String property, long value)
focal_class.full_signature: public void set(String property, long value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (String property, long value)
focal_class.return: void
focal_class.signature: void set(String property, long value)
focal_class.class_method_signature: UpdateOp.set(String property, boolean value)
focal_class.full_signature: public void set(String property, boolean value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (String property, boolean value)
focal_class.return: void
focal_class.signature: void set(String property, boolean value)
focal_class.class_method_signature: UpdateOp.set(String property, String value)
focal_class.full_signature: public void set(String property, String value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (String property, String value)
focal_class.return: void
focal_class.signature: void set(String property, String value)
focal_class.class_method_signature: UpdateOp.max(String property, Comparable<T> value)
focal_class.full_signature:  void max(String property, Comparable<T> value)
focal_class.identifier: max
focal_class.parameters: (String property, Comparable<T> value)
focal_class.return: void
focal_class.signature: void max(String property, Comparable<T> value)
focal_class.class_method_signature: UpdateOp.unsetMapEntry(@NotNull String property, @NotNull Revision revision)
focal_class.full_signature:  void unsetMapEntry(@NotNull String property, @NotNull Revision revision)
focal_class.identifier: unsetMapEntry
focal_class.parameters: (@NotNull String property, @NotNull Revision revision)
focal_class.return: void
focal_class.signature: void unsetMapEntry(@NotNull String property, @NotNull Revision revision)
focal_class.class_method_signature: UpdateOp.containsMapEntry(@NotNull String property,
                            @NotNull Revision revision,
                            boolean exists)
focal_class.full_signature:  void containsMapEntry(@NotNull String property,
                            @NotNull Revision revision,
                            boolean exists)
focal_class.identifier: containsMapEntry
focal_class.parameters: (@NotNull String property,
                            @NotNull Revision revision,
                            boolean exists)
focal_class.return: void
focal_class.signature: void containsMapEntry(@NotNull String property,
                            @NotNull Revision revision,
                            boolean exists)
focal_class.class_method_signature: UpdateOp.contains(@NotNull String property, boolean exists)
focal_class.full_signature:  void contains(@NotNull String property, boolean exists)
focal_class.identifier: contains
focal_class.parameters: (@NotNull String property, boolean exists)
focal_class.return: void
focal_class.signature: void contains(@NotNull String property, boolean exists)
focal_class.class_method_signature: UpdateOp.equals(@NotNull String property, @Nullable Object value)
focal_class.full_signature:  void equals(@NotNull String property, @Nullable Object value)
focal_class.identifier: equals
focal_class.parameters: (@NotNull String property, @Nullable Object value)
focal_class.return: void
focal_class.signature: void equals(@NotNull String property, @Nullable Object value)
focal_class.class_method_signature: UpdateOp.equals(@NotNull String property,
                  @Nullable Revision revision,
                  @Nullable Object value)
focal_class.full_signature:  void equals(@NotNull String property,
                  @Nullable Revision revision,
                  @Nullable Object value)
focal_class.identifier: equals
focal_class.parameters: (@NotNull String property,
                  @Nullable Revision revision,
                  @Nullable Object value)
focal_class.return: void
focal_class.signature: void equals(@NotNull String property,
                  @Nullable Revision revision,
                  @Nullable Object value)
focal_class.class_method_signature: UpdateOp.notEquals(@NotNull String property, @Nullable Object value)
focal_class.full_signature:  void notEquals(@NotNull String property, @Nullable Object value)
focal_class.identifier: notEquals
focal_class.parameters: (@NotNull String property, @Nullable Object value)
focal_class.return: void
focal_class.signature: void notEquals(@NotNull String property, @Nullable Object value)
focal_class.class_method_signature: UpdateOp.notEquals(@NotNull String property,
                     @Nullable Revision revision,
                     @Nullable Object value)
focal_class.full_signature:  void notEquals(@NotNull String property,
                     @Nullable Revision revision,
                     @Nullable Object value)
focal_class.identifier: notEquals
focal_class.parameters: (@NotNull String property,
                     @Nullable Revision revision,
                     @Nullable Object value)
focal_class.return: void
focal_class.signature: void notEquals(@NotNull String property,
                     @Nullable Revision revision,
                     @Nullable Object value)
focal_class.class_method_signature: UpdateOp.increment(@NotNull String property, long value)
focal_class.full_signature: public void increment(@NotNull String property, long value)
focal_class.identifier: increment
focal_class.modifiers: public
focal_class.parameters: (@NotNull String property, long value)
focal_class.return: void
focal_class.signature: void increment(@NotNull String property, long value)
focal_class.class_method_signature: UpdateOp.getReverseOperation()
focal_class.full_signature: public UpdateOp getReverseOperation()
focal_class.identifier: getReverseOperation
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: UpdateOp
focal_class.signature: UpdateOp getReverseOperation()
focal_class.class_method_signature: UpdateOp.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: UpdateOp.getOrCreateConditions()
focal_class.full_signature: private Map<Key, Condition> getOrCreateConditions()
focal_class.identifier: getOrCreateConditions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Map<Key, Condition>
focal_class.signature: Map<Key, Condition> getOrCreateConditions()
focal_class.class_method_signature: UpdateOp.internalSet(String property, Object value)
focal_class.full_signature: private void internalSet(String property, Object value)
focal_class.identifier: internalSet
focal_class.modifiers: private
focal_class.parameters: (String property, Object value)
focal_class.return: void
focal_class.signature: void internalSet(String property, Object value)
focal_method.body: void notEquals(@NotNull String property, @Nullable Object value) {
          notEquals(property, null, value);
      }
focal_method.class_method_signature: UpdateOp.notEquals(@NotNull String property, @Nullable Object value)
focal_method.full_signature:  void notEquals(@NotNull String property, @Nullable Object value)
focal_method.identifier: notEquals
focal_method.invocations: notEquals
focal_method.parameters: (@NotNull String property, @Nullable Object value)
focal_method.return: void
focal_method.signature: void notEquals(@NotNull String property, @Nullable Object value)