Package org.dspace.discovery.indexobject
Class IndexablePoolTask
- java.lang.Object
-
- org.dspace.discovery.indexobject.AbstractIndexableObject<PoolTask,Integer>
-
- org.dspace.discovery.indexobject.IndexablePoolTask
-
- All Implemented Interfaces:
IndexableObject<PoolTask,Integer>
public class IndexablePoolTask extends AbstractIndexableObject<PoolTask,Integer>
PoolTask implementation for the IndexableObject- Author:
- Kevin Van de Velde (kevin at atmire dot com)
-
-
Constructor Summary
Constructors Constructor Description IndexablePoolTask(PoolTask poolTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetID()Return the identifier of this indexableObject, this will be the identifier of the object in the databasePoolTaskgetIndexedObject()Get the entity that is linked to this indexable objectStringgetType()StringgetTypeText()voidsetIndexedObject(PoolTask poolTask)Set the entity that is linked to this indexable object-
Methods inherited from class org.dspace.discovery.indexobject.AbstractIndexableObject
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.discovery.IndexableObject
getLastModified, getUniqueIndexID
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
-
-
Constructor Detail
-
IndexablePoolTask
public IndexablePoolTask(PoolTask poolTask)
-
-
Method Detail
-
getIndexedObject
public PoolTask getIndexedObject()
Description copied from interface:IndexableObjectGet the entity that is linked to this indexable object- Returns:
- a database entity
-
setIndexedObject
public void setIndexedObject(PoolTask poolTask)
Description copied from interface:IndexableObjectSet the entity that is linked to this indexable object- Parameters:
poolTask- the database entity
-
getType
public String getType()
- Returns:
- the string constant representing the Entity Type, @see
Constants
-
getTypeText
public String getTypeText()
- Returns:
- a textual alias of the Entity Type @see
IndexableObject.getType()
-
getID
public Integer 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
-
-