001    package org.hackystat.tickertape.tickerlingua;
002    
003    /**
004     * Supports Facebook notification.
005     * @author Philip Johnson
006     */
007    public class FacebookAccount extends NotificationService {
008    
009      /**
010       * Create the account.
011       * @param id The unique ID for this account.
012       * @param user The user name.
013       * @param password Their password. 
014       */
015      public FacebookAccount(String id, String user, String password) {
016        super(id, user, password);
017      }
018      
019      /**
020       * Create an account from the JAXB version. 
021       * @param jaxb The JAXB account.
022       */
023      public FacebookAccount(org.hackystat.tickertape.tickerlingua.jaxb.FacebookAccount jaxb) {
024        this(jaxb.getId(), jaxb.getUser(), jaxb.getPassword());
025      }
026    }