Package org.dspace.orcid.model.factory
Interface OrcidEntityFactory
- All Known Implementing Classes:
OrcidFundingFactory,OrcidWorkFactory
public interface OrcidEntityFactory
Interface to mark factories of Orcid entities.
- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPlaceholder used to refer the item handle on fields mapping. -
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.
-
Field Details
-
SIMPLE_HANDLE_PLACEHOLDER
Placeholder used to refer the item handle on fields mapping.- See Also:
-
-
Method Details
-
getEntityType
OrcidEntityType getEntityType()Returns the entity type created from this factory.- Returns:
- the entity type
-
createOrcidObject
Creates an ORCID activity from the given object.- Parameters:
context- the DSpace contextitem- the item- Returns:
- the created activity instance
-