TypeBinder has been renamed to TypeMapper
This commit is contained in:
parent
62b11a4691
commit
3e7996c2be
|
@ -5,7 +5,7 @@ import java.util.UUID;
|
|||
|
||||
import org.gcube.informationsystem.base.reference.Element;
|
||||
import org.gcube.informationsystem.base.reference.IdentifiableElement;
|
||||
import org.gcube.informationsystem.types.TypeBinder;
|
||||
import org.gcube.informationsystem.types.TypeMapper;
|
||||
import org.gcube.informationsystem.utils.ElementMapper;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
|
@ -52,7 +52,7 @@ public abstract class Utility {
|
|||
if(!clz.isInterface()){
|
||||
return clz.getAnnotation(JsonTypeName.class).value();
|
||||
}else {
|
||||
return TypeBinder.getType(clz);
|
||||
return TypeMapper.getType(clz);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue