Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Date Created :- 08-01-2011
- * TO DO :- later we can add here implementation for other account category wise voucher store .
- */
- package ledger.account;
- import ledger.account.grouphead.party.PartyVoucherStore;
- /**
- * @author Administrator
- *
- */
- public class SimpleVoucherStoreFactory {
- /*
- * Voucher Store is Created runtime by Account Ledger Category for which we r
- * Looking this Ledger.Here storeType means account Ledger Type .for example whether it is of type
- * party , cash , bank etc..
- *
- */
- /**
- * @author Mihir Parekh
- * @param storeType which is actually account type of the given account ledger .
- * @return returns VoucherStore type Concrete Object based on storeType parameter.
- */
- public static VoucherStore createVoucherStore(String storeType) throws Exception{
- VoucherStore voucherStore = null;
- /*
- * Right Now we r just Passing the Object of PartyVoucherStore Object
- */
- voucherStore = new PartyVoucherStore();
- return voucherStore;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement