/* (non-Javadoc)
@see net.finmath.montecarlo.assetderivativevaluation.AssetModelMonteCarloSimulationModel#getCloneWithModifiedSeed(int)
486989
@Override
	public AssetModelMonteCarloSimulationModel getCloneWithModifiedSeed(int seed) {
		// Create a corresponding MC process
		MonteCarloProcessFromProcessModel process = new EulerSchemeFromProcessModel(new BrownianMotionLazyInit(this.getTimeDiscretization(), 1 /* numberOfFactors */, this.getNumberOfPaths(), seed));
		return new MonteCarloBlackScholesModel(initialValue, model.getRiskFreeRate().getAverage(), model.getVolatility().getAverage(), process);
	}
141208
protected ClientVersionBean getClientVersionInternal(String organizationId, String clientId, String version,
            boolean hasPermission) {
        try {
            storage.beginTx();
            ClientVersionBean clientVersion = storage.getClientVersion(organizationId, clientId, version);
            if (clientVersion == null) {
                throw ExceptionFactory.clientVersionNotFoundException(clientId, version);
            }
            // Hide some data if the user doesn't have the clientView permission
            if (!hasPermission) {
                clientVersion.setApikey(null);
            }
            storage.commitTx();
            log.debug(String.format("Got new client version %s: %s", clientVersion.getClient().getName(), clientVersion)); //$NON-NLS-1$
            return clientVersion;
        } catch (AbstractRestException e) {
            storage.rollbackTx();
            throw e;
        } catch (Exception e) {
            storage.rollbackTx();
            throw new SystemErrorException(e);
        }
    }
618187
@Override
    public String getCacheDigest(String cacheInstance, boolean useMemoryCacheDigest,
                                 boolean cacheIDOnly, boolean debug) throws javax.management.AttributeNotFoundException { // LI4337-17

        if (tc.isEntryEnabled()) {
            Tr.entry(tc, "getCacheDigest: cacheInstance=" + cacheInstance + " useMemoryCacheDigest=" + useMemoryCacheDigest +
                         " cacheIDOnly=" + cacheIDOnly + " debug=" + debug);
        }
        // Get the cache for this cacheInstance
        DCache cache1 = getCache(cacheInstance);

        // Get the message digest
        getMessageDigestMD5();

        // Calculate total hashcode for cache ids and cache value in memory cache  
        int totalHashcode = cache1.getMemoryCacheHashcode(debug, !cacheIDOnly);

        if (cacheIDOnly == true) {
            // Calculate total hashcode for cache ids in PushPullTable  
            totalHashcode += cache1.getCacheIdsHashcodeInPushPullTable(debug);
        }

        if (useMemoryCacheDigest == false) {
            // Calculate total hashcode for cache ids and cache value in disk cache  
            try {
                totalHashcode += cache1.getDiskCacheHashcode(debug, !cacheIDOnly);
            } catch (DynamicCacheException e) {
                Tr.error(tc, "DYNA1053E", new Object[] { DynaCacheConstants.MBEAN_GET_CACHE_DIGEST, e.getMessage() });
                throw new AttributeNotFoundException(e.getMessage());
            }
        }

        // Convert hashcode to MD5 digest
        String md5Hash = MessageDigestUtility.processMessageDigestForData(MBeans.messageDigestMD5, totalHashcode);

        if (tc.isEntryEnabled()) {
            Tr.exit(tc, "getCacheDigest: Exiting. Entire cache hash in MD5 is " + md5Hash + " for cacheInstance = " + cacheInstance);
        }
        return md5Hash;
    }
390821
public Object getRepeatedField(final FieldDescriptorType descriptor,
                                 final int index) {
    if (!descriptor.isRepeated()) {
      throw new IllegalArgumentException(
        "getRepeatedField() can only be called on repeated fields.");
    }

    final Object value = getField(descriptor);

    if (value == null) {
      throw new IndexOutOfBoundsException();
    } else {
      return ((List<?>) value).get(index);
    }
  }
62552
public static long getMaxIdForClass(
            PersistenceBroker brokerForClass, ClassDescriptor cldForOriginalOrExtent, FieldDescriptor original)
            throws PersistenceBrokerException
    {
        FieldDescriptor field = null;
        if (!original.getClassDescriptor().equals(cldForOriginalOrExtent))
        {
            // check if extent match not the same table
            if (!original.getClassDescriptor().getFullTableName().equals(
                    cldForOriginalOrExtent.getFullTableName()))
            {
                // we have to look for id's in extent class table
                field = cldForOriginalOrExtent.getFieldDescriptorByName(original.getAttributeName());
            }
        }
        else
        {
            field = original;
        }
        if (field == null)
        {
            // if null skip this call
            return 0;
        }

        String column = field.getColumnName();
        long result = 0;
        ResultSet rs = null;
        Statement stmt = null;
        StatementManagerIF sm = brokerForClass.serviceStatementManager();
        String table = cldForOriginalOrExtent.getFullTableName();
        // String column = cld.getFieldDescriptorByName(fieldName).getColumnName();
        String sql = SM_SELECT_MAX + column + SM_FROM + table;
        try
        {
            //lookup max id for the current class
            stmt = sm.getGenericStatement(cldForOriginalOrExtent, Query.NOT_SCROLLABLE);
            rs = stmt.executeQuery(sql);
            rs.next();
            result = rs.getLong(1);
        }
        catch (Exception e)
        {
            log.warn("Cannot lookup max value from table " + table + " for column " + column +
                    ", PB was " + brokerForClass + ", using jdbc-descriptor " +
                    brokerForClass.serviceConnectionManager().getConnectionDescriptor(), e);
        }
        finally
        {
            try
            {
                sm.closeResources(stmt, rs);
            }
            catch (Exception ignore)
            {
                // ignore it
           }
        }
        return result;
    }
394025
WComponent getChildAt(final int index) {
		ComponentModel model = getComponentModel();
		return model.getChildren().get(index);
	}
545208
@Override
  public final IProcessor lazyGet(//NOPMD
    final Map<String, Object> pAddParam,
      final String pBeanName) throws Exception {
    IProcessor proc = this.processorsMap.get(pBeanName);
    if (proc == null) {
      // locking:
      synchronized (this.processorsMap) {
        // make sure again whether it's null after locking:
        proc = this.processorsMap.get(pBeanName);
        if (proc == null) {
          if (pBeanName.equals(PrcDelItemFromCart.class.getSimpleName())) {
            proc = lazyGetPrcDelItemFromCart(pAddParam);
          } else if (pBeanName.equals(PrCart.class.getSimpleName())) {
            proc = lazyGetPrCart(pAddParam);
          } else if (pBeanName.equals(PrcItemInCart.class.getSimpleName())) {
            proc = lazyGetPrcItemInCart(pAddParam);
          } else if (pBeanName.equals(PrLog.class.getSimpleName())) {
            proc = lazyGetPrLog(pAddParam);
          } else if (pBeanName.equals(PrcCheckOut.class.getSimpleName())) {
            proc = lazyGetPrcCheckOut(pAddParam);
          } else if (pBeanName.equals(PrBuOr.class.getSimpleName())) {
            proc = lazyGetPrBuOr(pAddParam);
          } else if (pBeanName.equals(PrBur.class.getSimpleName())) {
            proc = lazyGetPrBur(pAddParam);
          } else if (pBeanName.equals(PrPur.class.getSimpleName())) {
            proc = lazyGetPrPur(pAddParam);
          } else if (pBeanName.equals(PrcItemPage.class.getSimpleName())) {
            proc = lazyGetPrcItemPage(pAddParam);
          } else if (pBeanName.equals(PrcWebstorePage.class.getSimpleName())) {
            proc = lazyGetPrcWebstorePage(pAddParam);
          }
        }
      }
    }
    if (proc == null) {
      throw new ExceptionWithCode(ExceptionWithCode.CONFIGURATION_MISTAKE,
        "There is no processor with name " + pBeanName);
    }
    return proc;
  }
99314
public void executeUpdate(ClassDescriptor cld, Object obj) throws PersistenceBrokerException
    {
        if (logger.isDebugEnabled())
        {
            logger.debug("executeUpdate: " + obj);
        }

        // obj with nothing but key fields is not updated
        if (cld.getNonPkRwFields().length == 0)
        {
            return;
        }

        final StatementManagerIF sm = broker.serviceStatementManager();
        PreparedStatement stmt = null;
        // BRJ: preserve current locking values
        // locking values will be restored in case of exception
        ValueContainer[] oldLockingValues;
        oldLockingValues = cld.getCurrentLockingValues(obj);
        try
        {
            stmt = sm.getUpdateStatement(cld);
            if (stmt == null)
            {
                logger.error("getUpdateStatement returned a null statement");
                throw new PersistenceBrokerException("getUpdateStatement returned a null statement");
            }

            sm.bindUpdate(stmt, cld, obj);
            if (logger.isDebugEnabled())
                logger.debug("executeUpdate: " + stmt);

            if ((stmt.executeUpdate() == 0) && cld.isLocking()) //BRJ
            {
                /**
                 * Kuali Foundation modification -- 6/19/2009
                 */
            	String objToString = "";
            	try {
            		objToString = obj.toString();
            	} catch (Exception ex) {}
                throw new OptimisticLockException("Object has been modified by someone else: " + objToString, obj);
                /**
                 * End of Kuali Foundation modification
                 */
            }

            // Harvest any return values.
            harvestReturnValues(cld.getUpdateProcedure(), obj, stmt);
        }
        catch (OptimisticLockException e)
        {
            // Don't log as error
            if (logger.isDebugEnabled())
                logger.debug(
                    "OptimisticLockException during the execution of update: " + e.getMessage(),
                    e);
            throw e;
        }
        catch (PersistenceBrokerException e)
        {
            // BRJ: restore old locking values
            setLockingValues(cld, obj, oldLockingValues);

            logger.error(
                "PersistenceBrokerException during the execution of the update: " + e.getMessage(),
                e);
            throw e;
        }
        catch (SQLException e)
        {
            final String sql = broker.serviceSqlGenerator().getPreparedUpdateStatement(cld).getStatement();
            throw ExceptionHelper.generateException(e, sql, cld, logger, obj);
        }
        finally
        {
            sm.closeResources(stmt, null);
        }
    }
1095916
private static Object getRawElem(Scriptable target, long index) {
        if (index > Integer.MAX_VALUE) {
            return ScriptableObject.getProperty(target, Long.toString(index));
        }
        return ScriptableObject.getProperty(target, (int)index);
    }
645543
public BeanO getBean(ContainerTx tx, BeanId id)
    {
        return id.getActivationStrategy().atGet(tx, id);
    }
390355
public Object getLobFromGFSEntity(GridFS gfs, EntityMetadata m, Object entity, KunderaMetadata kunderaMetadata)
    {
        MetamodelImpl metaModel = (MetamodelImpl) kunderaMetadata.getApplicationMetadata()
                .getMetamodel(m.getPersistenceUnit());
        EntityType entityType = metaModel.entity(m.getEntityClazz());
        Set<Attribute> columns = entityType.getAttributes();
        for (Attribute column : columns)
        {
            boolean isLob = ((Field) column.getJavaMember()).getAnnotation(Lob.class) != null;
            if (isLob)
            {
                return PropertyAccessorHelper.getObject(entity, (Field) column.getJavaMember());
            }
        }
        return null;
    }
51115
@Override
    public String getCloneID() {
        if (allowedProps != null) {
            return (String) allowedProps.get(CFG_CLONE_ID);
        }
        return null;
    }
241027
public Object get(int indexValue)
    {
        Object result = null;
        TransactionLocalStorage txStorage = (TransactionLocalStorage) perTransactionStorage.get(MithraManagerProvider.getMithraManager().zGetCurrentTransactionWithNoCheck());
        Index perThreadAdded = txStorage == null ? null : txStorage.added;
        if (perThreadAdded != null)
        {
            result = perThreadAdded.get(indexValue);
        }
        if (result == null)
        {
            result = this.mainIndex.get(indexValue);
            result = this.checkDeletedIndex(result, txStorage);
        }
        return result;
    }
280193
public int getField(int index, int defaultValue)
	{
		if (index >= 0 && index < this.version.length)
		{
			return version[index];
		}
		else
		{
			return defaultValue;
		}
	}
1071698
public FileGetPropertiesFromComputeNodeHeaders withLastModified(DateTime lastModified) {
        if (lastModified == null) {
            this.lastModified = null;
        } else {
            this.lastModified = new DateTimeRfc1123(lastModified);
        }
        return this;
    }
690507
public int getField(int index)
	{
		assert (index >= 0 && index < version.length);

		if (index >= 0 && index < this.version.length)
		{
			return version[index];
		}
		else
		{
			throw new IllegalArgumentException("The field index requested does not exist in this Version object");
		}
	}
626930
@Override
  public final IEntityProcessor lazyGet(
    final Map<String, Object> pAddParam,
      final String pBeanName) throws Exception {
    IEntityProcessor proc =
      this.processorsMap.get(pBeanName);
    if (proc == null) {
      synchronized (this) {
        proc = this.processorsMap.get(pBeanName);
        if (proc == null) {
          if (pBeanName.equals(PrcAccEntryCopy.class.getSimpleName())) {
            proc = lazyGetPrcAccEntryCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntryCreate.class.getSimpleName())) {
            proc = lazyGetPrcAccEntryCreate(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntrySave.class.getSimpleName())) {
            proc = lazyGetPrcAccEntrySave(pAddParam);
          } else if (pBeanName
            .equals(PrcInpAccEntriesRetrieve.class.getSimpleName())) {
            proc = lazyGetPrcInpAccEntriesRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntityWithSubaccRetrieve.class.getSimpleName())) {
            proc = lazyGetPrcAccEntityWithSubaccRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntrySaveDescr.class.getSimpleName())) {
            proc = createPutPrcAccEntrySaveDescr(pAddParam);
          } else if (pBeanName
            .equals(PrcReplicationAccMethodSave.class.getSimpleName())) {
            proc = createPutPrcReplicationAccMethodSave(pAddParam);
          } else if (pBeanName
            .equals(PrcReplExcludeAccountsDebitCreditSave
              .class.getSimpleName())) {
            proc = createPutPrcReplExcludeAccountsDebitCreditSave(pAddParam);
          } else if (pBeanName
            .equals(PrcSubaccountLineCreate.class.getSimpleName())) {
            proc = createPutPrcSubaccountLineCreate(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntityWithSubaccCreate.class.getSimpleName())) {
            proc = createPutPrcAccEntityWithSubaccCreate(pAddParam);
          } else if (pBeanName.equals(PrcSalesInvoiceServiceLineDelete
            .class.getSimpleName())) {
            proc = createPutPrcSalesInvoiceServiceLineDelete(pAddParam);
          } else if (pBeanName.equals(PrcPurchaseInvoiceServiceLineDelete
            .class.getSimpleName())) {
            proc = createPutPrcPurchaseInvoiceServiceLineDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcEntityFDelete.class.getSimpleName())) {
            proc = createPutPrcEntityFDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcEntityFSave.class.getSimpleName())) {
            proc = createPutPrcEntityFSave(pAddParam);
          } else if (pBeanName
            .equals(PrcEntityFfolDelete.class.getSimpleName())) {
            proc = createPutPrcEntityFfolDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcEntityFfolSave.class.getSimpleName())) {
            proc = createPutPrcEntityFfolSave(pAddParam);
          } else if (pBeanName
            .equals(PrcAccSettingsLineSave.class.getSimpleName())) {
            proc = lazyGetPrcAccSettingsLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcInvoiceLnCreate.class.getSimpleName())) {
            proc = lazyGetPrcInvoiceLnCreate(pAddParam);
          } else if (pBeanName
            .equals(PrcSalRetLnCreate.class.getSimpleName())) {
            proc = lazyGetPrcSalRetLnCreate(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseReturnLineCreate.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseReturnLineCreate(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseReturnLineGfr.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseReturnLineGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseReturnLineCopy.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseReturnLineCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesReturnLineGfr.class.getSimpleName())) {
            proc = lazyGetPrcSalesReturnLineGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesReturnLineCopy.class.getSimpleName())) {
            proc = lazyGetPrcSalesReturnLineCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcUsedMaterialLineGfr.class.getSimpleName())) {
            proc = lazyGetPrcUsedMaterialLineGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcUsedMaterialLineCopy.class.getSimpleName())) {
            proc = lazyGetPrcUsedMaterialLineCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcMoveItemsLineSave.class.getSimpleName())) {
            proc = lazyGetPrcMoveItemsLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcUsedMaterialLineSave.class.getSimpleName())) {
            proc = lazyGetPrcUsedMaterialLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcGoodsLossSave.class.getSimpleName())) {
            proc = lazyGetPrcGoodsLossSave(pAddParam);
          } else if (pBeanName
            .equals(PrcGoodsLossLineGfr.class.getSimpleName())) {
            proc = lazyGetPrcGoodsLossLineGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcGoodsLossLineCopy.class.getSimpleName())) {
            proc = lazyGetPrcGoodsLossLineCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcGoodsLossLineSave.class.getSimpleName())) {
            proc = lazyGetPrcGoodsLossLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesInvoiceLineGfr.class.getSimpleName())) {
            proc = lazyGetPrcSalesInvoiceLineGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesInvoiceLineCopy.class.getSimpleName())) {
            proc = lazyGetPrcSalesInvoiceLineCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesInvoiceLineSave.class.getSimpleName())) {
            proc = lazyGetPrcSalesInvoiceLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcBeginningInventoryLineGfr.class.getSimpleName())) {
            proc = lazyGetPrcBeginningInventoryLineGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcBeginningInventoryLineCopy.class.getSimpleName())) {
            proc = lazyGetPrcBeginningInventoryLineCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcBeginningInventoryLineSave.class.getSimpleName())) {
            proc = lazyGetPrcBeginningInventoryLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseInvoiceLineGfr.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseInvoiceLineGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseInvoiceLineCopy.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseInvoiceLineCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcInvTaxLnSave.class.getSimpleName() + "SRTL")) {
            proc = lazyGetPrcSalRetTaxLnSave(pAddParam);
          } else if (pBeanName
            .equals(PrcInvTaxLnSave.class.getSimpleName() + "SITL")) {
            proc = lazyGetPrcSalInvTaxLnSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPurRetTaxLnSave.class.getSimpleName())) {
            proc = lazyGetPrcPurchRetTaxLnSave(pAddParam);
          } else if (pBeanName
            .equals(PrcInvTaxLnSave.class.getSimpleName() + "PITL")) {
            proc = lazyGetPrcPurchInvTaxLnSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseInvoiceLineSave.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseInvoiceLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntityPbWithSubaccCopy.class.getSimpleName())) {
            proc = lazyGetPrcAccEntityPbWithSubaccCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocWithTaxesCopy.class.getSimpleName())) {
            proc = lazyGetPrcAccDocWithTaxesCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocWithTaxesPaymentsCopy.class.getSimpleName())) {
            proc = lazyGetPrcAccDocWithTaxesPaymentsCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocWithTaxesGetForReverse.class.getSimpleName())) {
            proc = lazyGetPrcAccDocWithTaxesGetForReverse(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocGetForReverse.class.getSimpleName())) {
            proc = lazyGetPrcAccDocGetForReverse(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntityWithSubaccCopy.class.getSimpleName())) {
            proc = createPutPrcAccEntityWithSubaccCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcAccEntityPbWithSubaccEditDelete.class.getSimpleName())) {
            proc = createPutPrcAccEntityPbWithSubaccEditDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcEmailMsgSave.class.getSimpleName())) {
            proc = createPutPrcEmailMsgSave(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesInvoiceServiceLineSave.class.getSimpleName())) {
            proc = lazyGetPrcSalesInvoiceServiceLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseInvoiceServiceLineSave.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseInvoiceServiceLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseReturnLineSave.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseReturnLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcWageTaxLineDelete.class.getSimpleName())) {
            proc = lazyGetPrcWageTaxLineDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcWageTaxLineSave.class.getSimpleName())) {
            proc = lazyGetPrcWageTaxLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcWageLineDelete.class.getSimpleName())) {
            proc = lazyGetPrcWageLineDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcWageLineSave.class.getSimpleName())) {
            proc = lazyGetPrcWageLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesReturnLineSave.class.getSimpleName())) {
            proc = lazyGetPrcSalesReturnLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesReturnSave.class.getSimpleName())) {
            proc = lazyGetPrcSalesReturnSave(pAddParam);
          } else if (pBeanName
            .equals(PrcAccSettingsSave.class.getSimpleName())) {
            proc = lazyGetPrcAccSettingsSave(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesInvoiceSave.class.getSimpleName())) {
            proc = lazyGetPrcSalesInvoiceSave(pAddParam);
          } else if (pBeanName
            .equals(PrcManufactureSave.class.getSimpleName())) {
            proc = lazyGetPrcManufactureSave(pAddParam);
          } else if (pBeanName
            .equals(PrcManufactureGfr.class.getSimpleName())) {
            proc = createPutPrcManufactureGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcManufactureCopy.class.getSimpleName())) {
            proc = createPutPrcManufactureCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcManufacturingProcessSave.class.getSimpleName())) {
            proc = lazyGetPrcManufacturingProcessSave(pAddParam);
          } else if (pBeanName
            .equals(PrcManufacturingProcessGfr.class.getSimpleName())) {
            proc = createPutPrcManufacturingProcessGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcInvItemTaxCategoryLineDelete.class.getSimpleName())) {
            proc = lazyGetPrcInvItemTaxCategoryLineDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcInvItemTaxCategoryLineSave.class.getSimpleName())) {
            proc = lazyGetPrcInvItemTaxCategoryLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcAdditionCostLineDelete.class.getSimpleName())) {
            proc = lazyGetPrcAdditionCostLineDelete(pAddParam);
          } else if (pBeanName
            .equals(PrcBankStatementLineSave.class.getSimpleName())) {
            proc = lazyGetPrcBankStatementLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcSalesRetGfe.class.getSimpleName())) {
            proc = lazyGetPrcSalesRetGfe(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchRetGfe.class.getSimpleName())) {
            proc = lazyGetPrcPurchRetGfe(pAddParam);
          } else if (pBeanName
            .equals(PrcInvoiceGfe.class.getSimpleName())) {
            proc = lazyGetPrcInvoiceGfe(pAddParam);
          } else if (pBeanName
            .equals(PrcInvoiceLnGfe.class.getSimpleName())) {
            proc = lazyGetPrcInvoiceLnGfe(pAddParam);
          } else if (pBeanName
            .equals(PrcBankStatementLineGfe.class.getSimpleName())) {
            proc = lazyGetPrcBankStatementLineGfe(pAddParam);
          } else if (pBeanName
            .equals(PrcBankStatementSave.class.getSimpleName())) {
            proc = lazyGetPrcBankStatementSave(pAddParam);
          } else if (pBeanName
            .equals(PrcAdditionCostLineSave.class.getSimpleName())) {
            proc = lazyGetPrcAdditionCostLineSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseReturnSave.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseReturnSave(pAddParam);
          } else if (pBeanName
            .equals(PrcBeginningInventorySave.class.getSimpleName())) {
            proc = lazyGetPrcBeginningInventorySave(pAddParam);
          } else if (pBeanName
            .equals(PrcPurchaseInvoiceSave.class.getSimpleName())) {
            proc = lazyGetPrcPurchaseInvoiceSave(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocFullRetrieve.class.getSimpleName())) {
            proc = createPutPrcAccDocFullRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcMoveItemsRetrieve.class.getSimpleName())) {
            proc = lazyGetPrcMoveItemsRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocUseMaterialRetrieve.class.getSimpleName())) {
            proc = lazyGetPrcAccDocUseMaterialRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocCogsRetrieve.class.getSimpleName())) {
            proc = lazyGetPrcAccDocCogsRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocWithSubaccRetrieve.class.getSimpleName())) {
            proc = lazyGetPrcAccDocWithSubaccRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcAccDocRetrieve.class.getSimpleName())) {
            proc = lazyGetPrcAccDocRetrieve(pAddParam);
          } else if (pBeanName
            .equals(PrcPaymentFromSave.class.getSimpleName())) {
            proc = createPutPrcPaymentFromSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPaymentFromGfr.class.getSimpleName())) {
            proc = createPutPrcPaymentFromGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcPaymentFromCopy.class.getSimpleName())) {
            proc = createPutPrcPaymentFromCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcWageSave.class.getSimpleName())) {
            proc = createPutPrcWageSave(pAddParam);
          } else if (pBeanName
            .equals(PrcWageGfr.class.getSimpleName())) {
            proc = createPutPrcWageGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcWageCopy.class.getSimpleName())) {
            proc = createPutPrcWageCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcPaymentToSave.class.getSimpleName())) {
            proc = createPutPrcPaymentToSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPaymentToGfr.class.getSimpleName())) {
            proc = createPutPrcPaymentToGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcPaymentToCopy.class.getSimpleName())) {
            proc = createPutPrcPaymentToCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcPrepaymentFromSave.class.getSimpleName())) {
            proc = createPutPrcPrepaymentFromSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPrepaymentFromGfr.class.getSimpleName())) {
            proc = createPutPrcPrepaymentFromGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcPrepaymentFromCopy.class.getSimpleName())) {
            proc = createPutPrcPrepaymentFromCopy(pAddParam);
          } else if (pBeanName
            .equals(PrcPrepaymentToSave.class.getSimpleName())) {
            proc = createPutPrcPrepaymentToSave(pAddParam);
          } else if (pBeanName
            .equals(PrcPrepaymentToGfr.class.getSimpleName())) {
            proc = createPutPrcPrepaymentToGfr(pAddParam);
          } else if (pBeanName
            .equals(PrcPrepaymentToCopy.class.getSimpleName())) {
            proc = createPutPrcPrepaymentToCopy(pAddParam);
          } else {
            proc = this.fctBnEntitiesProcessors.lazyGet(pAddParam, pBeanName);
          }
        }
      }
    }
    if (proc == null) {
      throw new ExceptionWithCode(ExceptionWithCode.CONFIGURATION_MISTAKE,
        "There is no entity processor with name " + pBeanName);
    }
    return proc;
  }