/** * <p>Create entity.</p> * @param pAddParam additional param * @return entity instance * @throws Exception - an exception **/ @Override public final T createEntity( final Map<String, Object> pAddParam) throws Exception { T entity = this.srvOrm.createEntity(this.entityClass); entity.setIsNew(true); return entity; }
/** * <p>Create entity.</p> * @param pAddParam additional param * @return entity instance * @throws Exception - an exception **/ @Override public final T createEntity( final Map<String, Object> pAddParam) throws Exception { T entity = this.srvOrm.createEntity(this.entityClass); entity.setIsNew(true); addAccSettingsIntoAttrs(pAddParam); return entity; }
/** * <p>Create entity.</p> * @param pAddParam additional param * @return entity instance * @throws Exception - an exception **/ @Override public final T createEntity( final Map<String, Object> pAddParam) throws Exception { T entity = getSrvOrm().createEntity(this.entityClass); entity.setIsNew(true); addAccSettingsIntoAttrs(pAddParam); return entity; }
/** * <p>Create entity.</p> * @param pAddParam additional param * @return entity instance * @throws Exception - an exception **/ @Override public final ReplicationAccMethod createEntity( final Map<String, Object> pAddParam) throws Exception { ReplicationAccMethod entity = getSrvOrm() .createEntity(ReplicationAccMethod.class); entity.setIsNew(true); addAccSettingsIntoAttrs(pAddParam); return entity; }
/** * <p>Create entity.</p> * @param pAddParam additional param * @return entity instance * @throws Exception - an exception **/ @Override public final T createEntity( final Map<String, Object> pAddParam) throws Exception { T entity = getSrvOrm() .createEntity(getEntityClass()); entity.setIsNew(true); addAccSettingsIntoAttrs(pAddParam); return entity; }
if (subaccUsed == null) { subaccUsed = (ASubaccountUsed) getSrvOrm() .createEntity(subaccClassUsed); ASubaccount subaccount = (ASubaccount) getSrvOrm() .createEntity(subaccClass); subaccount.setItsId(pSubaccId); subaccUsed.setSubaccount(subaccount);
&& totalWageYear .compareTo(wttl.getYearWageTo()) < 0) { WageTaxLine wtl = getSrvOrm().createEntity(WageTaxLine.class); wtl.setItsOwner(pWage); wtl.setAllowance(wtte.getAllowance());