Interface FormUpdate

All Superinterfaces:
EntityUpdate, StatementDocumentUpdate
All Known Implementing Classes:
FormUpdateImpl

public interface FormUpdate extends StatementDocumentUpdate
Collection of changes that can be applied to form entity.
  • Method Details

    • getEntityId

      FormIdValue getEntityId()
      Description copied from interface: EntityUpdate
      Returns ID of the entity that is being updated.
      Specified by:
      getEntityId in interface EntityUpdate
      Returns:
      ID of the updated entity
    • getRepresentations

      TermUpdate getRepresentations()
      Returns changes in form representations.
      Returns:
      update of form representations, possibly empty
    • getGrammaticalFeatures

      Optional<Set<ItemIdValue>> getGrammaticalFeatures()
      Returns new grammatical features of the form assigned in this update. If grammatical features are not changing in this update, this method returns Optional.empty(). If grammatical features are being removed without replacement, this method returns an empty set.
      Returns:
      new grammatical features or Optional.empty() if grammatical features do not change