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, writeMessages
getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled
protected 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.ResourceException
public 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.DbAmbitException
public 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>
Exception
public String getCompoundURL(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
getCompoundURL
in class ModelPredictor<Predictor,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
public void assignResults(IStructureRecord record, Object value) throws net.idea.modbcum.i.exceptions.AmbitException
assignResults
in class ModelPredictor<Predictor,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
public Object predict(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
predict
in class ModelPredictor<Predictor,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.