Package org.dspace.eperson
Class SubscriptionParameter
- java.lang.Object
-
- org.dspace.eperson.SubscriptionParameter
-
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity public class SubscriptionParameter extends Object implements ReloadableEntity<Integer>
Database entity representation of the subscription_parameter table SubscriptionParameter represents a frequency with which an user wants to be notified.- Author:
- Alba Aliu at atis.al
-
-
Constructor Summary
Constructors Constructor Description SubscriptionParameter()SubscriptionParameter(Integer id, Subscription subscription, String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetID()The unique identifier of this entity instance.StringgetName()SubscriptiongetSubscription()StringgetValue()voidsetId(Integer id)voidsetName(String name)voidsetSubscription(Subscription subscription)voidsetValue(String value)
-
-
-
Constructor Detail
-
SubscriptionParameter
public SubscriptionParameter()
-
SubscriptionParameter
public SubscriptionParameter(Integer id, Subscription subscription, String name, String value)
-
-
Method Detail
-
getSubscription
public Subscription getSubscription()
-
setSubscription
public void setSubscription(Subscription subscription)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
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.
-
setId
public void setId(Integer id)
-
-