vre-modeler/src/org/gcube/vremanagement/vremodeler/resources/handlers/NativeMetadataFormatHandler...

25 lines
771 B
Java

package org.gcube.vremanagement.vremodeler.resources.handlers;
//import org.gcube.common.core.utils.logging.GCUBELog;
import org.gcube.vremanagement.vremodeler.db.DBInterface;
import org.gcube.vremanagement.vremodeler.resources.MFRelationNative;
public class NativeMetadataFormatHandler implements ResourceHandler<MFRelationNative> {
//private static GCUBELog logger= new GCUBELog(NativeMetadataFormatHandler.class);
public static final String tableName="NATIVEMDF";
public void add(MFRelationNative resource) throws Exception {
DBInterface.connect();
DBInterface.insertIntoListable(tableName, resource);
}
public void drop(String resourceId) throws Exception {
// TODO Auto-generated method stub
}
public void initialize() throws Exception {}
}