public class ProcessorOntology extends net.idea.modbcum.p.AbstractDBProcessor<Object,Dictionary>
Modifier and Type | Class and Description |
---|---|
static class |
ProcessorOntology.OP |
static class |
ProcessorOntology.SIDE |
Modifier and Type | Field and Description |
---|---|
protected ProcessorOntology.SIDE |
currentSide |
protected UpdateExecutor |
executor |
protected ProcessorOntology.OP |
operation |
protected Dictionary[] |
template |
Constructor and Description |
---|
ProcessorOntology() |
Modifier and Type | Method and Description |
---|---|
protected Dictionary |
createProperty(Property property,
ProcessorOntology.SIDE side) |
protected Dictionary |
createTemplate(Dictionary d,
ProcessorOntology.SIDE side) |
protected Dictionary |
deleteProperty(Property property,
ProcessorOntology.SIDE side) |
ProcessorOntology.SIDE |
getCurrentSide() |
ProcessorOntology.OP |
getOperation() |
ProcessorOntology.SIDE |
getOtherSide() |
protected Dictionary |
getTemplate(ProcessorOntology.SIDE side) |
protected Dictionary |
moveProperty(Property property,
ProcessorOntology.SIDE source,
ProcessorOntology.SIDE destination) |
protected Dictionary |
moveTemplate(Dictionary d,
ProcessorOntology.SIDE source,
ProcessorOntology.SIDE destination) |
void |
open() |
Dictionary |
process(Object target) |
void |
setCurrentSide(ProcessorOntology.SIDE currentSide) |
void |
setOperation(ProcessorOntology.OP operation) |
Dictionary |
setTemplate(Dictionary dictionary,
ProcessorOntology.SIDE side) |
close, getConnection, isCloseConnection, isEnabled, setCloseConnection, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected Dictionary[] template
protected UpdateExecutor executor
protected ProcessorOntology.OP operation
protected ProcessorOntology.SIDE currentSide
public ProcessorOntology.SIDE getCurrentSide()
public void setCurrentSide(ProcessorOntology.SIDE currentSide)
public ProcessorOntology.SIDE getOtherSide()
public ProcessorOntology.OP getOperation()
public void setOperation(ProcessorOntology.OP operation)
public Dictionary setTemplate(Dictionary dictionary, ProcessorOntology.SIDE side) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected Dictionary moveProperty(Property property, ProcessorOntology.SIDE source, ProcessorOntology.SIDE destination) throws Exception
Exception
protected Dictionary getTemplate(ProcessorOntology.SIDE side)
protected Dictionary createProperty(Property property, ProcessorOntology.SIDE side) throws Exception
Exception
protected Dictionary deleteProperty(Property property, ProcessorOntology.SIDE side) throws Exception
Exception
protected Dictionary moveTemplate(Dictionary d, ProcessorOntology.SIDE source, ProcessorOntology.SIDE destination) throws Exception
Exception
protected Dictionary createTemplate(Dictionary d, ProcessorOntology.SIDE side) throws Exception
Exception
public Dictionary process(Object target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<Object,Dictionary>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<Object,Dictionary>
net.idea.modbcum.i.exceptions.DbAmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.