| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| MutableTransactionSplit |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Created on Aug 22, 2007 by wyatt | |
| 3 | */ | |
| 4 | package org.homeunix.thecave.buddi.plugin.api.model; | |
| 5 | ||
| 6 | import org.homeunix.thecave.buddi.plugin.api.exception.InvalidValueException; | |
| 7 | ||
| 8 | public interface MutableTransactionSplit extends ImmutableTransactionSplit { | |
| 9 | ||
| 10 | /** | |
| 11 | * Sets the amount associated with this transaction split | |
| 12 | * @param amount | |
| 13 | */ | |
| 14 | public void setAmount(long amount) throws InvalidValueException; | |
| 15 | ||
| 16 | /** | |
| 17 | * Sets the given source | |
| 18 | * @param from | |
| 19 | */ | |
| 20 | public void setSource(MutableSource from) throws InvalidValueException; | |
| 21 | } |