Package org.dspace.app.rest.model
Class QAEventRest
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="topic",method="getTopic") @LinkRest(name="target",method="getTarget") @LinkRest(name="related",method="getRelated")
public class QAEventRest
extends BaseObjectRest<String>
QA event Rest object.
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 TypeMethodDescriptiongetId()getTitle()getTopic()getTrust()getType()voidsetEventDate(Instant eventDate) voidvoidsetMessage(QAEventMessageRest message) voidsetOriginalId(String originalId) voidvoidvoidvoidvoidMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrorsMethods 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:
-
TOPIC
- See Also:
-
TARGET
- See Also:
-
RELATED
- See Also:
-
-
Constructor Details
-
QAEventRest
public QAEventRest()
-
-
Method Details
-
getType
-
getTypePlural
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getId
- Overrides:
getIdin classBaseObjectRest<String>
-
setId
- Overrides:
setIdin classBaseObjectRest<String>
-
getOriginalId
-
setOriginalId
-
getTitle
-
setTitle
-
getTopic
-
setTopic
-
getTrust
-
setTrust
-
getEventDate
-
setEventDate
-
getMessage
-
setMessage
-
getStatus
-
setStatus
-
getSource
- Returns:
- the source
-
setSource
- Parameters:
source- the source to set
-