return (Locatable) item;
}
public void applyToEditedTransformation() throws WizardPageException {
checkState(toEdit != null, "This wizard is not editing an existing transformation");
Transformation tf = toEdit.getTransformation();
DatabaseStructure struct = getDefinedStructure();
if (sourceTarget == SourceTarget.Source) {
tf.setInputStructure(struct);
tf.setSourceId(struct.getSourceId());
} else {
tf.setOutputStructure(struct);
tf.setTargetId(struct.getTargetId());
applyInsertMode(tf);
}
}