Drools examples 6.0.3-SNAPSHOT

org.drools.examples.cashflow
Class CashFlow

java.lang.Object
  extended by org.drools.examples.cashflow.CashFlow

public class CashFlow
extends Object


Constructor Summary
CashFlow(Date date, int amount, CashFlowType type, int accountNo)
           
 
Method Summary
 boolean equals(Object o)
           
 int getAccountNo()
           
 int getAmount()
           
 Date getDate()
           
 CashFlowType getType()
           
 int hashCode()
           
 void setAccountNo(int accountNo)
           
 void setAmount(int amount)
           
 void setDate(Date date)
           
 void setType(CashFlowType type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CashFlow

public CashFlow(Date date,
                int amount,
                CashFlowType type,
                int accountNo)
Method Detail

getDate

public Date getDate()

setDate

public void setDate(Date date)

getAmount

public int getAmount()

setAmount

public void setAmount(int amount)

getType

public CashFlowType getType()

setType

public void setType(CashFlowType type)

getAccountNo

public int getAccountNo()

setAccountNo

public void setAccountNo(int accountNo)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Drools examples 6.0.3-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.