Package org.dspace.eperson
Class Subscription
- java.lang.Object
-
- org.dspace.eperson.Subscription
-
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity public class Subscription extends Object implements ReloadableEntity<Integer>
Database entity representation of the subscription table- Author:
- kevinvandevelde at atmire.com
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubscription()Protected constructor, create object using:SubscribeService.subscribe(Context, EPerson, Collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectiongetCollection()EPersongetePerson()IntegergetID()The unique identifier of this entity instance.
-
-
-
Constructor Detail
-
Subscription
protected Subscription()
Protected constructor, create object using:SubscribeService.subscribe(Context, EPerson, Collection)
-
-
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.
-
getCollection
public Collection getCollection()
-
getePerson
public EPerson getePerson()
-
-