org.drools.tutorials.banking
Class AllocatedCashflow

java.lang.Object
  extended by org.drools.tutorials.banking.Cashflow
      extended by org.drools.tutorials.banking.TypedCashflow
          extended by org.drools.tutorials.banking.AllocatedCashflow

public class AllocatedCashflow
extends TypedCashflow


Field Summary
 
Fields inherited from class org.drools.tutorials.banking.TypedCashflow
CREDIT, DEBIT
 
Constructor Summary
AllocatedCashflow()
           
AllocatedCashflow(Account account, Date date, int type, double amount)
           
 
Method Summary
 Account getAccount()
           
 void setAccount(Account account)
           
 String toString()
           
 
Methods inherited from class org.drools.tutorials.banking.TypedCashflow
getType, setType
 
Methods inherited from class org.drools.tutorials.banking.Cashflow
getAmount, getDate, setAmount, setDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllocatedCashflow

public AllocatedCashflow()

AllocatedCashflow

public AllocatedCashflow(Account account,
                         Date date,
                         int type,
                         double amount)
Method Detail

getAccount

public Account getAccount()

setAccount

public void setAccount(Account account)

toString

public String toString()
Overrides:
toString in class TypedCashflow


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.