org.hackystat.tickertape.tickerlingua
Class NotificationService

java.lang.Object
  extended by org.hackystat.tickertape.tickerlingua.NotificationService
Direct Known Subclasses:
FacebookAccount, Nabaztag, TwitterAccount

public class NotificationService
extends java.lang.Object

An abstract class representing all possible Notification services in Tickertape.

Author:
Philip Johnson

Constructor Summary
NotificationService(java.lang.String id, java.lang.String user, java.lang.String password)
          Creates a new notification service.
 
Method Summary
 java.lang.String getId()
          Return the id.
 java.lang.String getPassword()
          Return the password.
 java.lang.String getUser()
          Return the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationService

public NotificationService(java.lang.String id,
                           java.lang.String user,
                           java.lang.String password)
Creates a new notification service.

Parameters:
id - The unique ID.
user - The user name.
password - Their password.
Method Detail

getId

public java.lang.String getId()
Return the id.

Returns:
The id.

getUser

public java.lang.String getUser()
Return the user.

Returns:
The user.

getPassword

public java.lang.String getPassword()
Return the password.

Returns:
The password.