/**
 * 
 */
package com.thinkbiganalytics.metadata.core.dataset.files;

import java.nio.file.Path;

import com.thinkbiganalytics.metadata.api.datasource.filesys.DirectoryDatasource;
import com.thinkbiganalytics.metadata.core.dataset.BaseDatasource;

/**
 *
 * @author Sean Felten
 */
public class BaseDirectoryDatasource extends BaseDatasource implements DirectoryDatasource {
    
    private Path directory;

    public BaseDirectoryDatasource(String name, String descr, Path dir) {
        super(name, descr);
        
        this.directory = dir;
    }

    public BaseDirectoryDatasource(BaseDatasource ds, Path dir) {
        this(ds.getName(), ds.getDescription(), dir);
    }

    public Path getDirectory() {
        return this.directory;
    }

}

@@ -750,10 +750,100 @@
 %0A    %7D%0A%0A
+    @Override%0A    public void setDirectory(Path path) %7B%0A        directory = path;%0A    %7D%0A%0A%0A
 %7D%0A

fix build