org.zeroexchange.mcredit
Class CreditPaths

java.lang.Object
  extended by org.zeroexchange.mcredit.CreditPaths
All Implemented Interfaces:
Serializable, Cloneable

public class CreditPaths
extends Object
implements Serializable, Cloneable

Author:
black
See Also:
Serialized Form

Constructor Summary
CreditPaths()
           
 
Method Summary
 Object clone()
           
 User getCreditor()
           
 User getDebtor()
           
 BigDecimal getFirstDebtorDebt()
           
 List<CreditPath> getPaths()
           
 boolean isEmpty()
          Returns true if the paths collection is empty.
 void setCreditor(User creditor)
           
 void setDebtor(User debtor)
           
 void setPaths(List<CreditPath> paths)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreditPaths

public CreditPaths()
Method Detail

getPaths

public List<CreditPath> getPaths()

setPaths

public void setPaths(List<CreditPath> paths)

getDebtor

public User getDebtor()

setDebtor

public void setDebtor(User debtor)

getCreditor

public User getCreditor()

setCreditor

public void setCreditor(User creditor)

isEmpty

public boolean isEmpty()
Returns true if the paths collection is empty.


getFirstDebtorDebt

public BigDecimal getFirstDebtorDebt()

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2013. All Rights Reserved.