diff --git a/src/main/java/org/gcube/informationsystem/types/impl/TypeDefinitionImpl.java b/src/main/java/org/gcube/informationsystem/types/impl/TypeDefinitionImpl.java index d6be112..d0fd9ff 100644 --- a/src/main/java/org/gcube/informationsystem/types/impl/TypeDefinitionImpl.java +++ b/src/main/java/org/gcube/informationsystem/types/impl/TypeDefinitionImpl.java @@ -28,7 +28,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; // @JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY) @JsonTypeName(value=TypeDefinition.NAME) -public abstract class TypeDefinitionImpl extends ISManageableImpl implements TypeDefinition { +public class TypeDefinitionImpl extends ISManageableImpl implements TypeDefinition { /** * Generated Serial Version UID @@ -106,7 +106,7 @@ public abstract class TypeDefinitionImpl extends ISMan } else if(BaseProperty.class.isAssignableFrom(clz)){ return new PropertyTypeDefinitionImpl(clz); } else if(TypeDefinition.class.isAssignableFrom(clz)) { - return new DummyTypeDefinitionImpl(clz); + return new TypeDefinitionImpl(clz); } else { throw new RuntimeException("Serialization required"); }