|
bea Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An Account Entry is synonymous with a transaction. In most cases it records the movement of an entity from one account to another. In such cases the Account Entry is shared by the two accounts involved in the transaction. In cases where it is associated with a single account it records the entry, or exit, of the entity into, or from, the accounting system. Each AccountEntry includes two separate dates. The booked date is the date on which the transaction was initially recorded. The charged date represents the successful completion of the transaction.
Primary Key = theory.smart.axiom.accounting.AccountEntryPk
identifier
[AccountEntry] <*>------> [String
] (Primary Key)
booked
[AccountEntry] <*>------> [java.sql.Date
]
charged
[AccountEntry] <*>------> [java.sql.Date
]
memo
[AccountEntry] <*>------> [String
]
amount
[AccountEntry] <*>------> [theory.smart.axiom.units.Quantity
]
from
[AccountEntry] <>------> [theory.smart.axiom.accounting.Account
]
to
[AccountEntry] <>------> [theory.smart.axiom.accounting.Account
]
AccountEntryPk
,
AccountEntryHome
,
AccountEntryImpl
,
AccountEntryValue
Method Summary | |
void |
charge()
Note that at the current date and time the transaction was completed. |
void |
charge(java.sql.Date date)
Note that at the specified date and time the transaction was completed. |
AccountEntryValue |
getAccountEntryByValue()
Get all of AccountEntry's attributes. |
Quantity |
getAmount()
Get the value of amount |
java.sql.Date |
getBooked()
Get the value of booked |
java.sql.Date |
getCharged()
Get the value of charged |
Account |
getFrom()
Get the remote object reference of from |
java.lang.String |
getIdentifier()
|
java.lang.String |
getMemo()
Get the value of memo |
Account |
getTo()
Get the remote object reference of to |
void |
setAccountEntryByValue(AccountEntryValue value)
Set all of AccountEntry's attributes to the passed in value. |
void |
setAmount(Quantity amount)
Set the value of amount |
void |
setBooked(java.sql.Date booked)
Set the value of booked |
void |
setCharged(java.sql.Date charged)
Set the value of charged |
void |
setFrom(Account from)
Set the remote object reference of from |
void |
setMemo(java.lang.String memo)
Set the value of memo |
void |
setTo(Account to)
Set the remote object reference of to |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public AccountEntryValue getAccountEntryByValue() throws java.rmi.RemoteException
public void setAccountEntryByValue(AccountEntryValue value) throws java.rmi.RemoteException
AccountEntryValue
- the AccountEntry value objectpublic java.lang.String getIdentifier() throws java.rmi.RemoteException
public java.sql.Date getBooked() throws java.rmi.RemoteException
public void setBooked(java.sql.Date booked) throws java.rmi.RemoteException
bookeds
- booked to be addedpublic java.sql.Date getCharged() throws java.rmi.RemoteException
public void setCharged(java.sql.Date charged) throws java.rmi.RemoteException
chargeds
- charged to be addedpublic java.lang.String getMemo() throws java.rmi.RemoteException
public void setMemo(java.lang.String memo) throws java.rmi.RemoteException
memos
- memo to be addedpublic Quantity getAmount() throws java.rmi.RemoteException
public void setAmount(Quantity amount) throws java.rmi.RemoteException
amounts
- amount to be addedpublic Account getFrom() throws java.rmi.RemoteException
public void setFrom(Account from) throws java.rmi.RemoteException
froms
- from to be addedpublic Account getTo() throws java.rmi.RemoteException
public void setTo(Account to) throws java.rmi.RemoteException
tos
- to to be addedpublic void charge() throws java.rmi.RemoteException
public void charge(java.sql.Date date) throws java.rmi.RemoteException
|
bea Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |