Class SenseUpdateImpl

All Implemented Interfaces:
EntityUpdate, SenseUpdate, StatementDocumentUpdate

public class SenseUpdateImpl extends StatementDocumentUpdateImpl implements SenseUpdate
Jackson implementation of SenseUpdate.
  • Constructor Details

    • SenseUpdateImpl

      public SenseUpdateImpl(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements)
      Initializes new sense update.
      Parameters:
      entityId - ID of the sense that is to be updated
      revisionId - base sense revision to be updated or zero if not available
      glosses - changes in sense glosses, possibly empty
      statements - changes in entity statements, possibly empty
      Throws:
      NullPointerException - if any required parameter is null
      IllegalArgumentException - if any parameters or their combination is invalid
  • Method Details