use of io.crnk.core.engine.registry.ResourceEntry in project crnk-framework by crnk-project.
the class DefaultRegistryEntryBuilder method build.
@Override
public RegistryEntry build() {
ResourceInformation resourceInformation = buildResource();
ResourceEntry resourceEntry = buildResourceRepository(resourceInformation);
Map<ResourceField, ResponseRelationshipEntry> relationshipEntries = buildRelationships(resourceInformation);
RegistryEntry entry = new RegistryEntry(resourceEntry, relationshipEntries);
entry.initialize(moduleRegistry);
return entry;
}
Aggregations