Class OrcidSimpleValueObjectFactory

    • Method Detail

      • create

        public Object create​(Context context,
                             List<MetadataValue> metadataValues)
        Description copied from interface: OrcidProfileSectionFactory
        Creates an instance of an ORCID object starting from the metadata values
        Parameters:
        context - the DSpace Context
        metadataValues - the metadata values
        Returns:
        the ORCID object
      • getMetadataSignatures

        public List<String> getMetadataSignatures​(Context context,
                                                  Item item)
        Description copied from interface: OrcidProfileSectionFactory
        Given the input item's metadata values generate a metadata signature for each metadata field groups handled by this factory or for each metadata fields if the factory is configured with single metadata fields.
        Parameters:
        context - the DSpace context
        item - the item
        Returns:
        the metadata signatures
      • getDescription

        public String getDescription​(Context context,
                                     Item item,
                                     String signature)
        Description copied from interface: OrcidProfileSectionFactory
        Returns a description of the item's metadata values related to the given signature.
        Parameters:
        context - the DSpace context
        item - the item
        signature - the metadata signature
        Returns:
        the metadata values description
      • create

        protected Object create​(Context context,
                                MetadataValue metadataValue)
        Create an instance of ORCID profile section based on the configured profile section type, taking the value from the given metadataValue.
      • setMetadataFields

        public void setMetadataFields​(String metadataFields)
      • getMetadataFields

        public List<String> getMetadataFields()
        Description copied from interface: OrcidProfileSectionFactory
        Returns all the metadata fields involved in the profile section configuration.
        Returns:
        the metadataFields