java.lang.Object
com.obs.ejb.templates.TemplateUtilityBean
com.obs.ejb.templates.TemplateEntityBean
com.obs.ejb.templates.CreatedThingEntity
com.obs.ejb.accounting.bean.AccountEJB
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public abstract class AccountEJB
- extends com.obs.ejb.templates.CreatedThingEntity
- implements javax.ejb.EntityBean
| Methods inherited from class com.obs.ejb.templates.TemplateUtilityBean |
ejbActivate, ejbPassivate, ejbRemove, getCalendarFromLong, getCurrentTime, getCurrentTimeLong, getLongFromCalendar, isEmpty, loadByPrimaryKey, loadLocalHome, removeByPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalREF
public static final java.lang.String LocalREF
- See Also:
- Constant Field Values
SEQ_HOME
private static final java.lang.String SEQ_HOME
- See Also:
- Constant Field Values
AccountEJB
public AccountEJB()
getBalance
public abstract java.lang.Double getBalance()
setBalance
public abstract void setBalance(java.lang.Double balance)
getType
public abstract java.lang.Integer getType()
- For EJBQL purposes use java.lang objects for CMP
setType
public abstract void setType(java.lang.Integer type)
getAccountType
public com.obs.common.accounting.objects.AccountType getAccountType()
- Wrapped Accessor for getType
Usage of Typed Object for Cohesion
This is the EXPOSED Accessor
setAccountType
public void setAccountType(com.obs.common.accounting.objects.AccountType accountType)
getDomain
public abstract com.obs.ejb.domain.interfaces.DomainLocal getDomain()
setDomain
public abstract void setDomain(com.obs.ejb.domain.interfaces.DomainLocal domain)
getJournalLines
public abstract java.util.Collection getJournalLines()
setJournalLines
public abstract void setJournalLines(java.util.Collection journalLines)
getView
public com.obs.common.accounting.views.AccountView getView()
markCreated
public void markCreated()
throws javax.ejb.CreateException
- Description copied from class:
com.obs.ejb.templates.CreatedThingEntity
- TODO
implement in subclass to set the creation time
and to peform any other time related functions
ejbCreate
public java.lang.String ejbCreate(java.lang.String id,
java.lang.String name,
com.obs.common.accounting.objects.AccountType accountType)
throws javax.ejb.CreateException
ejbPostCreate
public void ejbPostCreate(java.lang.String id,
java.lang.String Name,
com.obs.common.accounting.objects.AccountType actType)
throws javax.ejb.CreateException