OperationFactory.java [src/nodes/factories] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nodes.factories;
import nodes.Operation;
import nodes.WEPSOperation;
import translators.Translator.FORMAT;
/**
*
* @author Brad
*/
public class OperationFactory {
/*
Created this so we could add a model like WEPP or something else down the road
*/
public static Operation createOperation(FORMAT type) {
Operation op = null;
switch (type) {
case WEPS:
op = new WEPSOperation();
break;
}
return op;
}
}