public class ScheduleAssignmentAdapter extends DefaultOptimizationModelAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADAPTER_SQLLOGGER |
Constructor and Description |
---|
ScheduleAssignmentAdapter() |
Modifier and Type | Method and Description |
---|---|
static java.util.Date |
convertStringToDate(java.lang.String dateString,
java.util.Locale locale) |
java.io.Serializable |
getInputParameters(OptimizationModelAdapterInputDataContext inputDataContext,
java.lang.Long skdProjectId)
Get the optimization input parameters.
|
MXLogger |
getSqlLogger()
Get the logger
|
void |
prepareInputData(OptimizationModelAdapterInputDataContext inputDataContext,
OptimizationInputProcessParameters inputProcessParameters)
Prepare the input data needed to solve the optimization problem.
|
void |
processOptimizedData(OptimizationModelAdapterOutputDataContext outputDataContext,
OptimizationOutputProcessParameters outputProcessParameters) |
void |
processOutputData(OptimizationModelAdapterOutputDataContext outputDataContext,
OptimizationOutputProcessParameters outputProcessParameters)
Process the optimization solution.
|
public static final java.lang.String ADAPTER_SQLLOGGER
public void prepareInputData(OptimizationModelAdapterInputDataContext inputDataContext, OptimizationInputProcessParameters inputProcessParameters) throws MXException
MXOptimizationModelAdapter
prepareInputData
in interface MXOptimizationModelAdapter
prepareInputData
in class DefaultOptimizationModelAdapter
MXException
public void processOutputData(OptimizationModelAdapterOutputDataContext outputDataContext, OptimizationOutputProcessParameters outputProcessParameters) throws MXException
MXOptimizationModelAdapter
processOutputData
in interface MXOptimizationModelAdapter
processOutputData
in class DefaultOptimizationModelAdapter
MXException
public void processOptimizedData(OptimizationModelAdapterOutputDataContext outputDataContext, OptimizationOutputProcessParameters outputProcessParameters) throws MXException
MXException
public static java.util.Date convertStringToDate(java.lang.String dateString, java.util.Locale locale) throws java.text.ParseException
java.text.ParseException
public MXLogger getSqlLogger()
public java.io.Serializable getInputParameters(OptimizationModelAdapterInputDataContext inputDataContext, java.lang.Long skdProjectId) throws MXException
MXOptimizationModelAdapter
getInputParameters
in interface MXOptimizationModelAdapter
getInputParameters
in class DefaultOptimizationModelAdapter
MXException