Removed unneeded test
This commit is contained in:
parent
9ceaa7ffc8
commit
01ee4939a2
|
@ -1,46 +0,0 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.resourcemanagement.model.reference.entities.facets;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.informationsystem.model.reference.entities.Facet;
|
||||
import org.gcube.informationsystem.types.TypeBinder;
|
||||
import org.gcube.informationsystem.types.annotations.ISProperty;
|
||||
import org.gcube.resourcemanagement.model.reference.properties.ValueSchema;
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class EntitySchemaDefinition {
|
||||
|
||||
private static Logger logger = LoggerFactory.getLogger(EntitySchemaDefinition.class);
|
||||
|
||||
public interface AuxFacet extends Facet {
|
||||
|
||||
public static final String NAME = AuxFacet.class.getSimpleName();
|
||||
|
||||
@ISProperty
|
||||
public List<String> getProperties();
|
||||
|
||||
public void setProperties(List<String> properties);
|
||||
|
||||
@ISProperty(name = "vsProperties")
|
||||
public List<ValueSchema> getVSProperties();
|
||||
|
||||
public void setVSProperties(List<ValueSchema> vsProperties);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() throws Exception {
|
||||
Class<? extends Facet> clz = AuxFacet.class;
|
||||
String json = TypeBinder.serializeType(clz);
|
||||
logger.trace(json);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue