public class Debt extends Object implements ToxicityNode, Comparable<Debt>
| Modifier and Type | Method and Description |
|---|---|
void |
addCost(BigDecimal value) |
int |
compareTo(Debt o) |
Node |
convertToXml(Document xml) |
boolean |
equals(Object obj) |
BigDecimal |
getCost() |
DebtType |
getDebtType() |
int |
hashCode() |
void |
readFromXml(Node node) |
String |
toString() |
public static final String NODE_NAME
public Debt(DebtType debtType)
public Node convertToXml(Document xml)
convertToXml in interface ToxicityNodepublic void readFromXml(Node node)
readFromXml in interface ToxicityNodepublic BigDecimal getCost()
public DebtType getDebtType()
public void addCost(BigDecimal value)
public int compareTo(Debt o)
compareTo in interface Comparable<Debt>Copyright © 2012 Cezar Coca. All Rights Reserved.