001    package org.hackystat.tickertape.tickerlingua;
002    
003    /**
004     * An abstract class representing all possible Notification services in Tickertape.
005     * @author Philip Johnson
006     */
007    public class NotificationService {
008      
009      private String id;
010      private String user;
011      private String password;
012    
013      /**
014       * Creates a new notification service. 
015       * @param id The unique ID. 
016       * @param user The user name.
017       * @param password Their password. 
018       */
019      public NotificationService(String id, String user, String password) {
020        this.id = id;
021        this.user = user;
022        this.password = password;
023      }
024      
025      /**
026       * Return the id. 
027       * @return The id. 
028       */
029      public String getId() {
030        return this.id;
031      }
032    
033      /**
034       * Return the user. 
035       * @return The user. 
036       */
037      public String getUser() {
038        return this.user;
039      }
040      
041      /**
042       * Return the password.
043       * @return The password.
044       */
045      public String getPassword() {
046        return this.password;
047      }
048    
049    }