Fixed constructor
This commit is contained in:
parent
45beeff1ef
commit
fe15bea3de
|
@ -28,7 +28,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||||
|
|
||||||
// @JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY)
|
// @JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY)
|
||||||
@JsonTypeName(value=TypeDefinition.NAME)
|
@JsonTypeName(value=TypeDefinition.NAME)
|
||||||
public abstract class TypeDefinitionImpl<ISM extends ISManageable> extends ISManageableImpl implements TypeDefinition<ISM> {
|
public class TypeDefinitionImpl<ISM extends ISManageable> extends ISManageableImpl implements TypeDefinition<ISM> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated Serial Version UID
|
* Generated Serial Version UID
|
||||||
|
@ -106,7 +106,7 @@ public abstract class TypeDefinitionImpl<ISM extends ISManageable> extends ISMan
|
||||||
} else if(BaseProperty.class.isAssignableFrom(clz)){
|
} else if(BaseProperty.class.isAssignableFrom(clz)){
|
||||||
return new PropertyTypeDefinitionImpl(clz);
|
return new PropertyTypeDefinitionImpl(clz);
|
||||||
} else if(TypeDefinition.class.isAssignableFrom(clz)) {
|
} else if(TypeDefinition.class.isAssignableFrom(clz)) {
|
||||||
return new DummyTypeDefinitionImpl(clz);
|
return new TypeDefinitionImpl(clz);
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException("Serialization required");
|
throw new RuntimeException("Serialization required");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue