org.drools.tutorials.banking
Class TypedCashflow

java.lang.Object
  extended by org.drools.tutorials.banking.Cashflow
      extended by org.drools.tutorials.banking.TypedCashflow
Direct Known Subclasses:
AllocatedCashflow

public class TypedCashflow
extends Cashflow


Field Summary
static int CREDIT
           
static int DEBIT
           
 
Constructor Summary
TypedCashflow()
           
TypedCashflow(Date date, int type, double amount)
           
 
Method Summary
 int getType()
           
 void setType(int type)
           
 String toString()
           
 
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
 

Field Detail

CREDIT

public static final int CREDIT
See Also:
Constant Field Values

DEBIT

public static final int DEBIT
See Also:
Constant Field Values
Constructor Detail

TypedCashflow

public TypedCashflow()

TypedCashflow

public TypedCashflow(Date date,
                     int type,
                     double amount)
Method Detail

getType

public int getType()

setType

public void setType(int type)

toString

public String toString()
Overrides:
toString in class Cashflow


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