Class ArchiveRequestBody


public class ArchiveRequestBody extends UpdateRequestBody
ArchiveRequestBody provides a structure for passing the archive information for a metadata element.
  • Constructor Details

    • ArchiveRequestBody

      public ArchiveRequestBody()
      Default constructor
    • ArchiveRequestBody

      public ArchiveRequestBody(ArchiveRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getArchiveProperties

      public ArchiveProperties getArchiveProperties()
      Return the archive properties.
      Returns:
      properties
    • setArchiveProperties

      public void setArchiveProperties(ArchiveProperties archiveProperties)
      Set up the archive properties.
      Parameters:
      archiveProperties - properties
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class UpdateRequestBody
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class UpdateRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class UpdateRequestBody
      Returns:
      int hash code