Package org.dspace.discovery.indexobject
Class IndexableMetadataField
java.lang.Object
org.dspace.discovery.indexobject.AbstractIndexableObject<MetadataField,Integer>
org.dspace.discovery.indexobject.IndexableMetadataField
- All Implemented Interfaces:
IndexableObject<MetadataField,Integer>
MetadataField implementation for the IndexableObject- Author:
- Maria Verdonck (Atmire) on 14/07/2020
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetID()Return the identifier of this indexableObject, this will be the identifier of the object in the databaseGet the entity that is linked to this indexable objectgetType()voidsetIndexedObject(MetadataField metadataField) Set the entity that is linked to this indexable objectMethods inherited from class org.dspace.discovery.indexobject.AbstractIndexableObject
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.discovery.IndexableObject
getLastModified, getUniqueIndexID
-
Field Details
-
TYPE
-
-
Constructor Details
-
IndexableMetadataField
-
-
Method Details
-
getType
- Returns:
- the string constant representing the Entity Type, @see
Constants
-
getID
Description copied from interface:IndexableObjectReturn 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
Description copied from interface:IndexableObjectGet the entity that is linked to this indexable object- Returns:
- a database entity
-
setIndexedObject
Description copied from interface:IndexableObjectSet the entity that is linked to this indexable object- Parameters:
metadataField- the database entity
-
getTypeText
- Returns:
- a textual alias of the Entity Type @see
IndexableObject.getType()
-