Package com.iizigo.db.editor
Class CustomParameterMarkers
- java.lang.Object
- com.iizigo.db.editor.CustomParameterMarkers
public class CustomParameterMarkers extends java.lang.ObjectA helper class that takes a SQLStatement as input and substitute the parameter markers with value by invoking the ParameterWizard dialog.The class is copied from the ParameterMarkers and modified to work with VS Fields.
- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description CustomParameterMarkers(CustomSQLBuilder builder, org.eclipse.datatools.modelbase.sql.query.QueryStatement sqlStatement)Custom parameter markers.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetContinueExecution()Returns if execution should continue.java.util.VectorgetMarkerValues()Gets thge current marker values.java.lang.StringsubstituteParameters()Return the SQL statement with values substituted if there are any markers
Constructor Detail
CustomParameterMarkers
public CustomParameterMarkers(CustomSQLBuilder builder, org.eclipse.datatools.modelbase.sql.query.QueryStatement sqlStatement)
Custom parameter markers.- Parameters:
builder- The SQL Builder.sqlStatement- The statement.
Method Detail
getContinueExecution
public boolean getContinueExecution()
Returns if execution should continue.- Returns:
- false to abort.
getMarkerValues
public java.util.Vector getMarkerValues()
Gets thge current marker values.- Returns:
- The array.
substituteParameters
public java.lang.String substituteParameters()
Return the SQL statement with values substituted if there are any markers- Returns:
- The substituted variable string.