TypeBinder has been renamed to TypeMapper

This commit is contained in:
Luca Frosini 2020-02-04 09:30:43 +01:00
parent 3c9455fbcc
commit c9642920d9
2 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ import org.gcube.informationsystem.model.impl.relations.ConsistsOfImpl;
import org.gcube.informationsystem.model.reference.entities.Facet;
import org.gcube.informationsystem.model.reference.entities.Resource;
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
import org.gcube.informationsystem.types.TypeBinder;
import org.gcube.informationsystem.types.TypeMapper;
import org.gcube.informationsystem.utils.ElementMapper;
import org.gcube.resourcemanagement.model.impl.entities.facets.CPUFacetImpl;
import org.gcube.resourcemanagement.model.impl.entities.facets.ContactFacetImpl;
@ -34,7 +34,7 @@ public class Serializer {
@Test
public void serializeAccessPoint() throws Exception {
logger.trace(TypeBinder.serializeType(AccessPointFacet.class));
logger.trace(TypeMapper.serializeType(AccessPointFacet.class));
}
@Test

View File

@ -3,19 +3,19 @@ package org.gcube.resourcemanagement.model.reference.entities.resources;
import org.gcube.informationsystem.base.reference.entities.EntityElement;
import org.gcube.informationsystem.model.reference.entities.Entity;
import org.gcube.informationsystem.model.reference.entities.Resource;
import org.gcube.informationsystem.types.TypeBinder;
import org.gcube.informationsystem.types.TypeMapper;
import org.junit.Test;
public class ResourceTypeDefintionsTest {
@Test
public void serialize() throws Exception{
TypeBinder.serializeType(EntityElement.class);
TypeBinder.serializeType(Entity.class);
TypeBinder.serializeType(Resource.class);
TypeBinder.serializeType(GCubeResource.class);
TypeBinder.serializeType(Actor.class);
TypeBinder.serializeType(Dataset.class);
TypeMapper.serializeType(EntityElement.class);
TypeMapper.serializeType(Entity.class);
TypeMapper.serializeType(Resource.class);
TypeMapper.serializeType(GCubeResource.class);
TypeMapper.serializeType(Actor.class);
TypeMapper.serializeType(Dataset.class);
}
}