com.ibm.ram.common.data
Class Subscription

java.lang.Object
  extended by com.ibm.ram.common.data.Subscription

public class Subscription
extends java.lang.Object

Denotes the subscriptions for a user. Subscription types are defined in the Constants class.

Since:
7.1
See Also:
Constants

Constructor Summary
Subscription()
           
 
Method Summary
 long getCreatedTime()
           
 long getDbid()
          The database id of the object that the subscription is for.
 int getId()
           
 long getLastRunTime()
           
 java.lang.String getName()
           
 java.lang.String getParameters()
           
 int getSubscriptionTypeID()
           
 UserInformation getUser()
           
 void setCreatedTime(long createdTime)
           
 void setDbid(long dbid)
          The database id of the object that the subscription is for.
 void setId(int id)
          Set the unique id of the subscription.
 void setLastRunTime(long lastRunTime)
           
 void setName(java.lang.String name)
           
 void setParameters(java.lang.String parameters)
           
 void setSubscriptionTypeID(int subscriptionTypeID)
           
 void setUser(UserInformation user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subscription

public Subscription()
Method Detail

getId

public int getId()
Returns:
the unique id of the subscription.
Since:
7.1

setId

public void setId(int id)
Set the unique id of the subscription.

Parameters:
id -
Since:
7.1

getCreatedTime

public long getCreatedTime()
Returns:
Returns the createdTime.
Since:
7.1

setCreatedTime

public void setCreatedTime(long createdTime)
Parameters:
createdTime - The createdTime to set.
Since:
7.1

getLastRunTime

public long getLastRunTime()
Returns:
Returns the lastRunTime.
Since:
7.1

setLastRunTime

public void setLastRunTime(long lastRunTime)
Parameters:
lastRunTime - The lastRunTime to set.
Since:
7.1

getName

public java.lang.String getName()
Returns:
Returns the name.
Since:
7.1

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.
Since:
7.1

getParameters

public java.lang.String getParameters()
Returns:
Returns the parameters.
Since:
7.1

setParameters

public void setParameters(java.lang.String parameters)
Parameters:
parameters - The parameters to set.
Since:
7.1

getSubscriptionTypeID

public int getSubscriptionTypeID()
Returns:
Returns the subscriptionTypeID.
Since:
7.1

setSubscriptionTypeID

public void setSubscriptionTypeID(int subscriptionTypeID)
Parameters:
subscriptionTypeID - The subscriptionTypeID to set.
Since:
7.1

getUser

public UserInformation getUser()
Returns:
Returns the user.
Since:
7.1

setUser

public void setUser(UserInformation user)
Parameters:
user - The user to set.
Since:
7.1

getDbid

public long getDbid()
The database id of the object that the subscription is for.

Returns:
Returns the dbid. null if not set.
Since:
7.1

setDbid

public void setDbid(long dbid)
The database id of the object that the subscription is for.

Parameters:
dbid - The dbid to set. null if should be set to not set.
Since:
7.1