Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.obs.ejb.accounting.bean
Class AccountEJB  view AccountEJB download AccountEJB.java

java.lang.Object
  extended bycom.obs.ejb.templates.TemplateUtilityBean
      extended bycom.obs.ejb.templates.TemplateEntityBean
          extended bycom.obs.ejb.templates.CreatedThingEntity
              extended bycom.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


Field Summary
static java.lang.String LocalREF
           
private static java.lang.String SEQ_HOME
           
 
Fields inherited from class com.obs.ejb.templates.TemplateEntityBean
ctx
 
Fields inherited from class com.obs.ejb.templates.TemplateUtilityBean
ictx
 
Constructor Summary
AccountEJB()
           
 
Method Summary
 java.lang.String ejbCreate(java.lang.String id, java.lang.String name, com.obs.common.accounting.objects.AccountType accountType)
           
 void ejbPostCreate(java.lang.String id, java.lang.String Name, com.obs.common.accounting.objects.AccountType actType)
           
 com.obs.common.accounting.objects.AccountType getAccountType()
          Wrapped Accessor for getType Usage of Typed Object for Cohesion This is the EXPOSED Accessor
abstract  java.lang.Double getBalance()
           
abstract  com.obs.ejb.domain.interfaces.DomainLocal getDomain()
           
abstract  java.util.Collection getJournalLines()
           
abstract  java.lang.Integer getType()
          For EJBQL purposes use java.lang objects for CMP
 com.obs.common.accounting.views.AccountView getView()
           
 void markCreated()
          TODO implement in subclass to set the creation time and to peform any other time related functions
 void setAccountType(com.obs.common.accounting.objects.AccountType accountType)
           
abstract  void setBalance(java.lang.Double balance)
           
abstract  void setDomain(com.obs.ejb.domain.interfaces.DomainLocal domain)
           
abstract  void setJournalLines(java.util.Collection journalLines)
           
abstract  void setType(java.lang.Integer type)
           
 
Methods inherited from class com.obs.ejb.templates.CreatedThingEntity
getActive, getCreateTime, getName, getTimeCreated, setActive, setName, setTimeCreated
 
Methods inherited from class com.obs.ejb.templates.TemplateEntityBean
ejbLoad, ejbStore, getId, getObjectID, setEntityContext, setId, unsetEntityContext
 
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
 
Methods inherited from interface javax.ejb.EntityBean
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, unsetEntityContext
 

Field Detail

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
Constructor Detail

AccountEJB

public AccountEJB()
Method Detail

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