Package org.openbravo.model.financialmgmt.accounting

Examples of org.openbravo.model.financialmgmt.accounting.AccountingFact


    }
    if (property.getEntity().getName().equals(AccountingFact.ENTITY_NAME)) {
      if (property.getName().equals(AccountingFact.PROPERTY_RECORDID2)) {
        return ModelProvider.getInstance().getEntity(DebtPayment.ENTITY_NAME);
      }
      final AccountingFact accountingFact = (AccountingFact) obObject;
      final Entity entity = ModelProvider.getInstance().getEntity(
          accountingFact.getTable().getName());
      if (entity == null) {
        throw new OBException("No entity for table with name "
            + accountingFact.getTable().getName());
      }
      return entity;
    }
    throw new OBException("Property " + property + " is not a primitive reference");
  }
View Full Code Here

TOP

Related Classes of org.openbravo.model.financialmgmt.accounting.AccountingFact

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.