Methods Summary |
---|
public double | getAmount()Returns the entry amount.
return amount;
|
public java.util.Date | getDate()Returns the entry date.
if (date == null) {
date = new Date();
}
return date;
|
public int | getId()Returns the entry ID.
return id;
|
public int | getType()Returns the entry type.
return type;
|
public void | setAmount(double amount)Sets the entry amount.
this.amount = amount;
|
public void | setDate(java.util.Date date)Sets the entry date.
this.date = date;
|
public void | setId(int id)Sets the entry ID.
this.id = id;
|
public void | setType(int type)Sets the entry type.
this.type = type;
|
public java.lang.String | toString()Returns a String with all entry properties.
return "id: " + id + " date: " + date + " type: " + type +
" amount: " + amount;
|