public abstract class AbstractPropertyWriter<Target,Result> extends AbstractRepositoryWriter<Target,Result>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractPropertyWriter.mode |
AbstractRepositoryWriter.OP
Modifier and Type | Field and Description |
---|---|
protected CreatePropertyAnnotation |
annotationsWriter |
protected SourceDataset |
dataset |
protected CreateProperty |
propertyWriter |
protected ReadProperty |
readProperty |
protected RetrieveFieldNames |
selectField |
protected DatasetTemplateAddProperty |
templateDefWriter |
exec, operation, queryexec
Constructor and Description |
---|
AbstractPropertyWriter() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
descriptorEntry(Target target,
Property property,
int propertyIndex,
int idtuple) |
protected abstract String |
getComments(String name,
Target target) |
SourceDataset |
getDataset() |
protected abstract Iterable<Property> |
getPropertyNames(Target target) |
protected int |
getTuple(SourceDataset dataset) |
protected void |
propertyEntry(Property property) |
void |
setDataset(SourceDataset dataset) |
protected abstract Result |
transform(Target target) |
protected void |
write(Property property) |
Result |
write(Target target) |
close, create, delete, getOperation, open, prepareStatement, process, read, setConnection, setOperation, transaction, update
getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected CreatePropertyAnnotation annotationsWriter
protected CreateProperty propertyWriter
protected DatasetTemplateAddProperty templateDefWriter
protected SourceDataset dataset
protected RetrieveFieldNames selectField
protected ReadProperty readProperty
public SourceDataset getDataset()
public void setDataset(SourceDataset dataset)
protected abstract void descriptorEntry(Target target, Property property, int propertyIndex, int idtuple) throws SQLException
SQLException
protected int getTuple(SourceDataset dataset)
public Result write(Target target) throws SQLException, net.idea.modbcum.i.exceptions.AmbitException, OperationNotSupportedException
write
in class AbstractRepositoryWriter<Target,Result>
SQLException
net.idea.modbcum.i.exceptions.AmbitException
OperationNotSupportedException
protected void propertyEntry(Property property) throws SQLException
SQLException
protected void write(Property property) throws SQLException
SQLException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.