|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--theory.smart.foundation.EntityImpl | +--theory.smart.axiom.accounting.AccountEntryImpl
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
AccountEntry
,
AccountEntryHome
,
AccountEntryValue
, Serialized FormField Summary | |
Quantity |
amount
amount [AccountEntry] <*>------> [ theory.smart.axiom.units.Quantity ]
|
java.sql.Date |
booked
booked [AccountEntry] <*>------> [ java.sql.Date ]
|
java.sql.Date |
charged
charged [AccountEntry] <*>------> [ java.sql.Date ]
|
SmartHandle |
from
from [AccountEntry] <>------> [ theory.smart.axiom.accounting.Account ]
|
java.lang.String |
identifier
identifier [AccountEntry] <*>------> [ String ] (Primary Key)
|
java.lang.String |
memo
memo [AccountEntry] <*>------> [ String ]
|
SmartHandle |
to
to [AccountEntry] <>------> [ theory.smart.axiom.accounting.Account ]
|
Fields inherited from class theory.smart.foundation.EntityImpl |
ctx,
isDirty,
isLoaded |
Constructor Summary | |
AccountEntryImpl()
|
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. |
void |
ejbActivate()
ejbActivate method. |
AccountEntryPk |
ejbCreate(AccountEntryPk accountEntryPk)
|
java.util.Enumeration |
ejbFindAll()
|
AccountEntryPk |
ejbFindByPrimaryKey(AccountEntryPk pk)
|
void |
ejbLoad()
ejbLoad method. |
void |
ejbPassivate()
ejbPassivate method. |
void |
ejbPostCreate(AccountEntryPk accountEntryPk)
|
void |
ejbRemove()
ejbRemove method. |
void |
ejbStore()
ejbStore method. |
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 |
setEntityContext(javax.ejb.EntityContext ctx)
setEntityContext method. |
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 |
void |
unsetEntityContext()
unsetEntityContext method. |
Methods inherited from class theory.smart.foundation.EntityImpl |
ejbCreate,
ejbPostCreate,
getEntityContext,
isModified |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String identifier
identifier
[AccountEntry] <*>------> [String
] (Primary Key)
public java.sql.Date booked
booked
[AccountEntry] <*>------> [java.sql.Date
]
public java.sql.Date charged
charged
[AccountEntry] <*>------> [java.sql.Date
]
public java.lang.String memo
memo
[AccountEntry] <*>------> [String
]
public Quantity amount
amount
[AccountEntry] <*>------> [theory.smart.axiom.units.Quantity
]
public SmartHandle from
from
[AccountEntry] <>------> [theory.smart.axiom.accounting.Account
]
public SmartHandle to
to
[AccountEntry] <>------> [theory.smart.axiom.accounting.Account
]
Constructor Detail |
public AccountEntryImpl() throws javax.ejb.CreateException
Method Detail |
public AccountEntryValue getAccountEntryByValue() throws java.rmi.RemoteException
public void setAccountEntryByValue(AccountEntryValue value) throws java.rmi.RemoteException
AccountEntryValue
- the AccountEntry value objectpublic AccountEntryPk ejbCreate(AccountEntryPk accountEntryPk) throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbPostCreate(AccountEntryPk accountEntryPk) throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbLoad() throws java.rmi.RemoteException
public void ejbStore() throws java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException, javax.ejb.RemoveException
public void ejbActivate() throws java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
public void setEntityContext(javax.ejb.EntityContext ctx) throws java.rmi.RemoteException
public void unsetEntityContext() throws java.rmi.RemoteException
public AccountEntryPk ejbFindByPrimaryKey(AccountEntryPk pk) throws javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration ejbFindAll() throws javax.ejb.FinderException, java.rmi.RemoteException
public java.sql.Date getBooked() throws java.rmi.RemoteException
public void setBooked(java.sql.Date booked) throws java.rmi.RemoteException
booked
- booked to be addedpublic java.sql.Date getCharged() throws java.rmi.RemoteException
public void setCharged(java.sql.Date charged) throws java.rmi.RemoteException
charged
- charged to be addedpublic java.lang.String getIdentifier() throws java.rmi.RemoteException
public java.lang.String getMemo() throws java.rmi.RemoteException
public void setMemo(java.lang.String memo) throws java.rmi.RemoteException
memo
- memo to be addedpublic Quantity getAmount() throws java.rmi.RemoteException
public void setAmount(Quantity amount) throws java.rmi.RemoteException
amount
- 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 |