Package org.dspace.app.rest.model
Class ResearcherProfileRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<UUID>
-
- org.dspace.app.rest.model.ResearcherProfileRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="item",method="getItem") @LinkRest(name="eperson",method="getEPerson") public class ResearcherProfileRest extends BaseObjectRest<UUID>
The Researcher Profile REST resource.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResearcherProfileRest.OrcidSynchronizationRestInner class to model ORCID synchronization preferences and mode.
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringEPERSONstatic StringITEMstatic StringNAME-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
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 ResearcherProfileRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()Class<?>getController()StringgetOrcid()ResearcherProfileRest.OrcidSynchronizationRestgetOrcidSynchronization()StringgetType()booleanisVisible()voidsetOrcid(String orcid)voidsetOrcidSynchronization(ResearcherProfileRest.OrcidSynchronizationRest orcidSynchronization)voidsetVisible(boolean visible)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setId
-
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
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
ITEM
public static final String ITEM
- See Also:
- Constant Field Values
-
EPERSON
public static final String EPERSON
- See Also:
- Constant Field Values
-
-
Method Detail
-
isVisible
public boolean isVisible()
-
setVisible
public void setVisible(boolean visible)
-
getOrcidSynchronization
public ResearcherProfileRest.OrcidSynchronizationRest getOrcidSynchronization()
-
setOrcidSynchronization
public void setOrcidSynchronization(ResearcherProfileRest.OrcidSynchronizationRest orcidSynchronization)
-
getOrcid
public String getOrcid()
-
setOrcid
public void setOrcid(String orcid)
-
getType
public String getType()
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class<?> getController()
- Specified by:
getControllerin classRestAddressableModel
-
-