Class IndexableLDNNotification

java.lang.Object
org.dspace.discovery.indexobject.AbstractIndexableObject<LDNMessageEntity,String>
org.dspace.discovery.indexobject.IndexableLDNNotification
All Implemented Interfaces:
IndexableObject<LDNMessageEntity,String>

public class IndexableLDNNotification extends AbstractIndexableObject<LDNMessageEntity,String>
LDNMessageEntity implementation for the IndexableObject
Author:
Stefano Maffei at 4science.com
  • Field Details

    • TYPE

      public static final String TYPE
  • Constructor Details

    • IndexableLDNNotification

      public IndexableLDNNotification(LDNMessageEntity ldnMessage)
  • Method Details

    • getType

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

      public String 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 LDNMessageEntity getIndexedObject()
      Description copied from interface: IndexableObject
      Get the entity that is linked to this indexable object
      Returns:
      a database entity
    • setIndexedObject

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

      public String getTypeText()
      Returns:
      a textual alias of the Entity Type @see IndexableObject.getType()