Package ch.tocco.nice2.model.entity.api
Interface DataModel
- All Known Subinterfaces:
NiceDataModel
- All Known Implementing Classes:
DataModelImpl
public interface DataModel
Provides some entity model infrastructure.
-
Method Summary
Modifier and TypeMethodDescription@Nullable EntityModel
getEntityModel
(String model) requireEntityModel
(String model)
-
Method Details
-
getEntityModels
Collection<EntityModel> getEntityModels() -
getEntityModel
- Parameters:
model
- the model's name- Returns:
- null if there is no such model
- See Also:
-
requireEntityModel
- Parameters:
model
- the model's name- Throws:
ModelException
- If there is no such model.
-
getTypeManager
TypeManager getTypeManager()
-