1 package org.paneris.jammyjoes.model; 2 3 import java.sql.Timestamp; 4 5 import org.paneris.jammyjoes.model.generated.AffiliateTransactionBase; 6 import org.paneris.jammyjoes.mvp.AffiliateTotals; 7 8 public class AffiliateTransaction extends AffiliateTransactionBase implements Graphable { 9 10 public AffiliateTransaction() { } 11 12 13 public double getAmountForGraph() { 14 return 1D; 15 } 16 17 18 public Timestamp getDate() { 19 return super.getHit(); 20 } 21 22 23 public void total(AffiliateTotals totals) { 24 totals.total(1); 25 } 26 27 } 28