Package org.dspace.handle
Class Handle
- java.lang.Object
-
- org.dspace.handle.Handle
-
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity public class Handle extends Object implements ReloadableEntity<Integer>
Database entity representation of the handle table- Author:
- kevinvandevelde at atmire.com
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHandle()Protected constructor, create object using:HandleService.createHandle(Context, DSpaceObject)orHandleService.createHandle(Context, DSpaceObject, String)orHandleService.createHandle(Context, DSpaceObject, String, boolean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DSpaceObjectgetDSpaceObject()StringgetHandle()IntegergetID()The unique identifier of this entity instance.IntegergetResourceTypeId()inthashCode()voidsetDSpaceObject(DSpaceObject dso)voidsetHandle(String handle)voidsetResourceTypeId(Integer resourceTypeId)
-
-
-
Constructor Detail
-
Handle
protected Handle()
Protected constructor, create object using:HandleService.createHandle(Context, DSpaceObject)orHandleService.createHandle(Context, DSpaceObject, String)orHandleService.createHandle(Context, DSpaceObject, String, boolean)
-
-
Method Detail
-
getID
public Integer getID()
Description copied from interface:ReloadableEntityThe unique identifier of this entity instance.- Specified by:
getIDin interfaceReloadableEntity<Integer>- Returns:
- the value of the primary key for this instance.
-
getHandle
public String getHandle()
-
setHandle
public void setHandle(String handle)
-
setDSpaceObject
public void setDSpaceObject(DSpaceObject dso)
-
getDSpaceObject
public DSpaceObject getDSpaceObject()
-
setResourceTypeId
public void setResourceTypeId(Integer resourceTypeId)
-
getResourceTypeId
public Integer getResourceTypeId()
-
-