Class SherpaPolicy

java.lang.Object
org.dspace.app.rest.model.step.SherpaPolicy
All Implemented Interfaces:
Serializable, SectionData

public class SherpaPolicy extends Object implements SectionData
Java Bean to expose Sherpa policies during in progress submission.
Author:
Mykhaylo Boychuk (mykhaylo.boychuk at 4science.com)
See Also:
  • Constructor Details

    • SherpaPolicy

      public SherpaPolicy()
  • Method Details

    • getRetrievalTime

      public Instant getRetrievalTime()
    • setRetrievalTime

      public void setRetrievalTime(Instant retrievalTime)
    • getSherpaResponse

      public SHERPAResponse getSherpaResponse()
    • setSherpaResponse

      public void setSherpaResponse(SHERPAResponse sherpaResponse)
      Setting a sherpaResponse will automatically set the retrievealTime of the section copying the value from the response if not null