/** Returns the Employee object */ public Employee getEmployee() throws DataException { return BusinessObjectDAO.getInstance().read(empId); }
/** Returns the Rental object */ public Rental getRental() throws DataException { return BusinessObjectDAO.getInstance().read(rentalId); }
/** Returns the ConceptualProduct object */ public ConceptualProduct getConceptualProduct() throws DataException { return BusinessObjectDAO.getInstance().read(conceptualProductId); }
/** Returns the store object */ public Store getStore() throws DataException { return BusinessObjectDAO.getInstance().read(storeId); }
public List<CreditDebit> getCDs() throws DataException { return BusinessObjectDAO.getInstance() .searchForList("CreditDebit", new SearchCriteria("journalid", id)); }
public Transaction getTran() throws DataException { return BusinessObjectDAO.getInstance().read(tranId); }