Predictor - public abstract class AbstractStructureProcessor<Predictor> extends ModelPredictor<Predictor,IStructureRecord>
| Modifier and Type | Field and Description |
|---|---|
protected UpdateExecutor |
exec |
protected UpdateStructure |
updateStructure |
applicationRootReference, classIndex, filter, header, imageSize, model, modelReporter, propertyReporter, record, structureRequired, targetURI, valuesRequired| Constructor and Description |
|---|
AbstractStructureProcessor(org.restlet.data.Reference applicationRootReference,
ModelQueryResults model,
ModelURIReporter modelReporter,
PropertyURIReporter propertyReporter,
String[] targetURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignResults(IStructureRecord record,
Object value) |
void |
close() |
String |
getCompoundURL(IStructureRecord target) |
Object |
predict(IStructureRecord target) |
void |
setConnection(Connection connection) |
createPredictor, createResultReference, extractRecordID, getClassIndex, getHeader, getImage, getImage, getImageSize, getLegend, getModel, getModelReporter, getPredictor, getPropertyReporter, isStructureRequired, isSupported, isValuesRequired, open, process, setImageSize, setModelReporter, setPropertyReporter, setStructureRequired, setValuesRequired, toString, writeMessagesgetConnection, isCloseConnection, isEnabled, setCloseConnectionaddPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabledprotected UpdateStructure updateStructure
protected UpdateExecutor exec
public AbstractStructureProcessor(org.restlet.data.Reference applicationRootReference,
ModelQueryResults model,
ModelURIReporter modelReporter,
PropertyURIReporter propertyReporter,
String[] targetURI)
throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceExceptionpublic void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection in interface net.idea.modbcum.i.IDBProcessor<IStructureRecord,IStructureRecord>setConnection in class net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>net.idea.modbcum.i.exceptions.DbAmbitExceptionpublic void close()
throws Exception
close in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>close in class net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>Exceptionpublic String getCompoundURL(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
getCompoundURL in class ModelPredictor<Predictor,IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic void assignResults(IStructureRecord record, Object value) throws net.idea.modbcum.i.exceptions.AmbitException
assignResults in class ModelPredictor<Predictor,IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic Object predict(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
predict in class ModelPredictor<Predictor,IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.