Package org.dspace.app.rest.model
Class ResourcePolicyRest
- All Implemented Interfaces:
Serializable,RestModel
The Access Condition REST Resource. It is intent to be an human or REST
client understandable representation of the DSpace ResourcePolicy.
- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
- See Also:
-
Field Summary
FieldsFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()getName()getType()voidvoidsetDescription(String description) voidsetEndDate(LocalDate endDate) voidsetEperson(EPersonRest eperson) voidvoidvoidsetPolicyType(String policyType) voidsetResource(DSpaceObjectRest resource) voidsetStartDate(LocalDate startDate) Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
ResourcePolicyRest
public ResourcePolicyRest()
-
-
Method Details
-
getEndDate
-
setEndDate
-
getType
-
getTypePlural
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getName
-
setName
-
getPolicyType
-
setPolicyType
-
getDescription
-
setDescription
-
getEperson
-
setEperson
-
getGroup
-
setGroup
-
getResource
-
setResource
-
getAction
-
setAction
-
getStartDate
-
setStartDate
-