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, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()getName()getType()voidvoidsetDescription(String description) voidsetEndDate(Date endDate) voidsetEperson(EPersonRest eperson) voidvoidvoidsetPolicyType(String policyType) voidsetResource(DSpaceObjectRest resource) voidsetStartDate(Date 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, setProjectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
ResourcePolicyRest
public ResourcePolicyRest()
-
-
Method Details
-
getEndDate
-
setEndDate
-
getType
-
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
-