001 package org.hackystat.tickertape.tickerlingua; 002 003 /** 004 * Supports Twitter notifications. 005 * @author Philip Johnson 006 */ 007 public class TwitterAccount 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 TwitterAccount(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 TwitterAccount(org.hackystat.tickertape.tickerlingua.jaxb.TwitterAccount jaxb) { 024 this(jaxb.getId(), jaxb.getUser(), jaxb.getPassword()); 025 } 026 027 }