|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableModelObjectImpl
org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableTransactionImpl
public class ImmutableTransactionImpl
| Constructor Summary | |
|---|---|
ImmutableTransactionImpl(Transaction transaction)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
long |
getAmount()
Returns the amouns associated with this transaction |
long |
getBalanceFrom()
Returns the balance in the From account at the point in time of this transaction |
long |
getBalanceTo()
Returns the balance in the To account at the point in time of this transaction |
java.util.Date |
getDate()
Returns the date associated with this transaction |
java.lang.String |
getDescription()
Returns the description associated with this transaction |
ImmutableSource |
getFrom()
Returns the source associated with this transaction's From field |
java.lang.String |
getMemo()
Returns the memo associated with this transaction |
java.lang.String |
getNumber()
Returns the cheque number associated with this transaction |
ImmutableSource |
getTo()
Returns the source associated with this transaction's To field |
Transaction |
getTransaction()
Returns the wrapped object from the underlying data model. |
boolean |
isClearedFrom()
Is this transaction marked as cleared? |
boolean |
isClearedTo()
Is this transaction marked as cleared? |
boolean |
isDeleted()
Is the transaction marked as deleted? |
boolean |
isInflow()
Does this transacton represent an inflow of cash or an outflow? |
boolean |
isReconciledFrom()
Is this transaction marked as reconciled? |
boolean |
isReconciledTo()
Is this transaction marked as reconciled? |
boolean |
isScheduled()
Was this transaction created through a scheduled transaction? |
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableModelObjectImpl |
|---|
compareTo, getModified, getRaw, getUid, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableModelObject |
|---|
getModified, getRaw, getUid |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public ImmutableTransactionImpl(Transaction transaction)
| Method Detail |
|---|
public Transaction getTransaction()
ImmutableTransaction
getTransaction in interface ImmutableTransactionpublic boolean isClearedFrom()
ImmutableTransaction
isClearedFrom in interface ImmutableTransactionpublic boolean isClearedTo()
ImmutableTransaction
isClearedTo in interface ImmutableTransactionpublic java.util.Date getDate()
ImmutableTransaction
getDate in interface ImmutableTransactionpublic java.lang.String getDescription()
ImmutableTransaction
getDescription in interface ImmutableTransactionpublic java.lang.String getMemo()
ImmutableTransaction
getMemo in interface ImmutableTransactionpublic java.lang.String getNumber()
ImmutableTransaction
getNumber in interface ImmutableTransactionpublic boolean isReconciledFrom()
ImmutableTransaction
isReconciledFrom in interface ImmutableTransactionpublic boolean isReconciledTo()
ImmutableTransaction
isReconciledTo in interface ImmutableTransactionpublic boolean isScheduled()
ImmutableTransaction
isScheduled in interface ImmutableTransactionpublic ImmutableSource getFrom()
ImmutableTransaction
getFrom in interface ImmutableTransactionpublic ImmutableSource getTo()
ImmutableTransaction
getTo in interface ImmutableTransactionpublic long getBalanceFrom()
ImmutableTransaction
getBalanceFrom in interface ImmutableTransactionpublic long getBalanceTo()
ImmutableTransaction
getBalanceTo in interface ImmutableTransactionpublic boolean isInflow()
ImmutableTransaction
isInflow in interface ImmutableTransactionpublic long getAmount()
ImmutableTransaction
getAmount in interface ImmutableTransactionpublic boolean equals(java.lang.Object obj)
equals in class ImmutableModelObjectImplpublic boolean isDeleted()
ImmutableTransaction
isDeleted in interface ImmutableTransaction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||