throw new OBException("No entity for table with name " + table.getName());
}
return entity;
}
if (property.getEntity().getName().equals(Attachment.ENTITY_NAME)) {
final Attachment attachment = (Attachment) obObject;
final Entity entity = ModelProvider.getInstance().getEntity(attachment.getTable().getName());
if (entity == null) {
throw new OBException("No entity for table with name " + attachment.getTable().getName());
}
return entity;
}
if (property.getEntity().getName().equals(AccountingFact.ENTITY_NAME)) {
if (property.getName().equals(AccountingFact.PROPERTY_RECORDID2)) {