Class NonconstructiveDocumentSetRequest

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.requests.NonconstructiveDocumentSetRequest
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RemoveDocuments, RetrieveDocumentSet

public abstract class NonconstructiveDocumentSetRequest extends Object implements Serializable
Base class for non-constructive operations (Read+Delete as opposed to Create+Update in CRUD) on document sets in an XDS Repository.

Lists are pre-created and can therefore never be null.

Since:
3.3
See Also:
  • Constructor Details

    • NonconstructiveDocumentSetRequest

      public NonconstructiveDocumentSetRequest()
  • Method Details

    • addReferenceTo

      public void addReferenceTo(DocumentEntry documentEntry)
      Adds the document, represented by the given document entry, to the list of referenced documents.
      Parameters:
      documentEntry - document entry.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

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

      public List<DocumentReference> getDocuments()