Class OrcidFundingFactory
- java.lang.Object
-
- org.dspace.orcid.model.factory.impl.OrcidFundingFactory
-
- All Implemented Interfaces:
OrcidEntityFactory
public class OrcidFundingFactory extends Object implements OrcidEntityFactory
Implementation ofOrcidEntityFactorythat creates instances ofFunding.- 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 Constructor Description OrcidFundingFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.orcid.jaxb.model.v3.release.record.ActivitycreateOrcidObject(Context context, Item item)Creates an ORCID activity from the given object.OrcidEntityTypegetEntityType()Returns the entity type created from this factory.OrcidFundingFieldMappinggetFieldMapping()voidsetFieldMapping(OrcidFundingFieldMapping fieldMapping)
-
-
-
Method Detail
-
getEntityType
public OrcidEntityType 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
-
getFieldMapping
public OrcidFundingFieldMapping getFieldMapping()
-
setFieldMapping
public void setFieldMapping(OrcidFundingFieldMapping fieldMapping)
-
-