001    package org.hackystat.tickertape.tickerlingua;
002    
003    /**
004     * Supports Nabaztag notifications.
005     * 
006     * Note that the serialnumber is the user, and the token is the password. 
007     * @author Philip Johnson
008     */
009    public class Nabaztag extends NotificationService {
010    
011      /**
012       * Create the account.
013       * @param id The unique ID for this account.
014       * @param user The user name.
015       * @param password Their password. 
016       */
017      public Nabaztag(String id, String user, String password) {
018        super(id, user, password);
019      }
020      
021      /**
022       * Create an account from the JAXB version. 
023       * @param jaxb The JAXB account.
024       */
025      public Nabaztag(org.hackystat.tickertape.tickerlingua.jaxb.Nabaztag jaxb) {
026        this(jaxb.getId(), jaxb.getSerialnumber(), jaxb.getToken());
027      }
028    
029    }