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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Placeholder used to refer the item handle on fields mapping.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.orcid.jaxb.model.v3.release.record.Activity
    createOrcidObject(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

      static final String 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

      org.orcid.jaxb.model.v3.release.record.Activity createOrcidObject(Context context, Item item)
      Creates an ORCID activity from the given object.
      Parameters:
      context - the DSpace context
      item - the item
      Returns:
      the created activity instance