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() |
String |
toString() |
public static final String NODE_NAME
public Debt(DebtType debtType)
public Node convertToXml(Document xml)
convertToXml 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–2015 Cezar Coca. All rights reserved.