use of com.developmentontheedge.be5.databasemodel.EntityModel in project be5 by DevelopmentOnTheEdge.
the class DatabaseModel method getEntity.
@Override
public EntityModel getEntity(String entityName) {
Objects.requireNonNull(entityName);
Entity entity = meta.getEntity(entityName);
if (entity == null)
throw Be5Exception.unknownEntity(entityName);
return new EntityModelBase(sqlService, dpsHelper, validator, operationHelper, operationExecutor, meta, entity);
}
Aggregations