Package org.dspace.app.rest.model.step
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SherpaPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetRetrievalTime()SHERPAResponsegetSherpaResponse()voidsetRetrievalTime(Date retrievalTime)voidsetSherpaResponse(SHERPAResponse sherpaResponse)Setting a sherpaResponse will automatically set the retrievealTime of the section copying the value from the response if not null
-
-
-
Method Detail
-
getRetrievalTime
public Date getRetrievalTime()
-
setRetrievalTime
public void setRetrievalTime(Date 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
-
-