Package org.dspace.app.rest.model
Class SubscriptionRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.SubscriptionRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="resource",method="getDSpaceObject") @LinkRest(name="eperson",method="getEPerson") public class SubscriptionRest extends BaseObjectRest<Integer>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringDSPACE_OBJECTstatic StringEPERSONstatic StringNAMEstatic StringNAME_PLURAL-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description SubscriptionRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()Class<RestResourceController>getController()IntegergetId()List<SubscriptionParameterRest>getSubscriptionParameterList()StringgetSubscriptionType()StringgetType()voidsetId(Integer id)voidsetSubscriptionParameterList(List<SubscriptionParameterRest> subscriptionParameterList)voidsetSubscriptionType(String type)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
NAME_PLURAL
public static final String NAME_PLURAL
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
DSPACE_OBJECT
public static final String DSPACE_OBJECT
- See Also:
- Constant Field Values
-
EPERSON
public static final String EPERSON
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class<RestResourceController> getController()
- Specified by:
getControllerin classRestAddressableModel
-
getType
public String getType()
-
setSubscriptionType
public void setSubscriptionType(String type)
-
getSubscriptionParameterList
public List<SubscriptionParameterRest> getSubscriptionParameterList()
-
setSubscriptionParameterList
public void setSubscriptionParameterList(List<SubscriptionParameterRest> subscriptionParameterList)
-
getSubscriptionType
public String getSubscriptionType()
-
getId
public Integer getId()
- Overrides:
getIdin classBaseObjectRest<Integer>
-
setId
public void setId(Integer id)
- Overrides:
setIdin classBaseObjectRest<Integer>
-
-