Class IndexableMetadataField

    • Field Detail

      • TYPE

        public static final String TYPE
    • Constructor Detail

      • IndexableMetadataField

        public IndexableMetadataField​(MetadataField metadataField)
    • Method Detail

      • getType

        public String getType()
        Returns:
        the string constant representing the Entity Type, @see Constants
      • getID

        public Integer getID()
        Description copied from interface: IndexableObject
        Return the identifier of this indexableObject, this will be the identifier of the object in the database
        Returns:
        for a DSpaceObject a uuid will be returned, for a tasks or workflow items an integer will be returned
      • getIndexedObject

        public MetadataField getIndexedObject()
        Description copied from interface: IndexableObject
        Get the entity that is linked to this indexable object
        Returns:
        a database entity
      • setIndexedObject

        public void setIndexedObject​(MetadataField metadataField)
        Description copied from interface: IndexableObject
        Set the entity that is linked to this indexable object
        Parameters:
        metadataField - the database entity