Added default constructor, required for jackson

This commit is contained in:
Luca Frosini 2020-01-16 16:56:03 +01:00
parent 006cfb03e4
commit 6e73f54de5
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ public class ResourceTypeDefinitionImpl extends EntityTypeDefinitionImpl impleme
protected List<ResourceEntryDefinition> facets; protected List<ResourceEntryDefinition> facets;
protected List<ResourceEntryDefinition> resources; protected List<ResourceEntryDefinition> resources;
protected ResourceTypeDefinitionImpl() {
super();
}
public ResourceTypeDefinitionImpl(Class<? extends Resource> clz) { public ResourceTypeDefinitionImpl(Class<? extends Resource> clz) {
super(clz); super(clz);
setResourceSchemaEntries(clz); setResourceSchemaEntries(clz);