Package org.drools.examples.banking
Class AllocatedCashflow
- java.lang.Object
-
- org.drools.examples.banking.Cashflow
-
- org.drools.examples.banking.TypedCashflow
-
- org.drools.examples.banking.AllocatedCashflow
-
public class AllocatedCashflow extends TypedCashflow
-
-
Field Summary
-
Fields inherited from class org.drools.examples.banking.TypedCashflow
CREDIT, DEBIT
-
-
Constructor Summary
Constructors Constructor Description AllocatedCashflow()AllocatedCashflow(Account account, Date date, int type, double amount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountgetAccount()voidsetAccount(Account account)StringtoString()-
Methods inherited from class org.drools.examples.banking.TypedCashflow
getType, setType
-
-
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
toString
public String toString()
- Overrides:
toStringin classTypedCashflow
-
-