Class OrcidWorkFactory
java.lang.Object
org.dspace.orcid.model.factory.impl.OrcidWorkFactory
- All Implemented Interfaces:
OrcidEntityFactory
Implementation of
OrcidEntityFactory that creates instances of
Work.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Field Summary
Fields inherited from interface org.dspace.orcid.model.factory.OrcidEntityFactory
SIMPLE_HANDLE_PLACEHOLDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.orcid.jaxb.model.v3.release.record.ActivitycreateOrcidObject(Context context, Item item) Creates an ORCID activity from the given object.Returns the entity type created from this factory.voidsetFieldMapping(OrcidWorkFieldMapping fieldMapping)
-
Constructor Details
-
OrcidWorkFactory
public OrcidWorkFactory()
-
-
Method Details
-
getEntityType
Description copied from interface:OrcidEntityFactoryReturns the entity type created from this factory.- Specified by:
getEntityTypein interfaceOrcidEntityFactory- Returns:
- the entity type
-
createOrcidObject
public org.orcid.jaxb.model.v3.release.record.Activity createOrcidObject(Context context, Item item) Description copied from interface:OrcidEntityFactoryCreates an ORCID activity from the given object.- Specified by:
createOrcidObjectin interfaceOrcidEntityFactory- Parameters:
context- the DSpace contextitem- the item- Returns:
- the created activity instance
-
setFieldMapping
-