org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.routineeditor.commonui
Class ParametersData
java.lang.Object
   org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
       org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.routineeditor.commonui.ParametersData
org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.routineeditor.commonui.ParametersData
- All Implemented Interfaces: 
- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- public class ParametersData 
- extends org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
- Author:
- Dafan Yang, Hui Cao
 
 
 
| Methods inherited from class org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData | 
| addTableDataChangeListener, deleteRow, fireUpdated, isNewRowDataAllowed, removeTableDataChangeListener, resetRowsToOriginal, revert, setRows | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
INOUT_MAPPING
public static java.util.HashMap INOUT_MAPPING
TSQL_INOUT_MAPPING
public static java.util.HashMap TSQL_INOUT_MAPPING
COLUMN_LENGTH
public static final int[] COLUMN_LENGTH
DIRTY_COLUMN
public static final int DIRTY_COLUMN
- See Also:
- Constant Field Values
NAME_COLUMN
public static final int NAME_COLUMN
- See Also:
- Constant Field Values
TYPE_COLUMN
public static final int TYPE_COLUMN
- See Also:
- Constant Field Values
INOUT_COLUMN
public static final int INOUT_COLUMN
- See Also:
- Constant Field Values
DEFAULT_COLUMN
public static final int DEFAULT_COLUMN
- See Also:
- Constant Field Values
ParametersData
public ParametersData()
ParametersData
public ParametersData(org.eclipse.emf.common.util.EList params,
                      DatabaseDefinition dbdef)
init
public void init(org.eclipse.emf.common.util.EList params,
                 DatabaseDefinition dbdef)
- 
 
init
public void init(org.eclipse.emf.common.util.EList params,
                 DatabaseDefinition dbdef,
                 boolean tsql)
- 
 
isReadonly
public boolean isReadonly()
- 
- Specified by:
- isReadonlyin interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Specified by:
- isReadonlyin class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
getColumnCount
public int getColumnCount()
- 
- Specified by:
- getColumnCountin interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Specified by:
- getColumnCountin class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
getColumnName
public java.lang.String getColumnName(int col)
- 
- Specified by:
- getColumnNamein interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Specified by:
- getColumnNamein class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
getColumnType
public int getColumnType(int col)
- 
- Specified by:
- getColumnTypein interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Specified by:
- getColumnTypein class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
getColumnHeader
public java.lang.String getColumnHeader(int col)
- 
- Specified by:
- getColumnHeaderin interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Specified by:
- getColumnHeaderin class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
getRows
public java.util.Vector getRows()
- 
- Specified by:
- getRowsin interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Specified by:
- getRowsin class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
save
public boolean save()
             throws java.lang.Exception
- 
- Specified by:
- savein interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Specified by:
- savein class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
- Throws:
- java.lang.Exception
 
dispose
public void dispose()
- 
 
insertRow
public org.eclipse.datatools.sqltools.common.core.tableviewer.IRowData insertRow()
- 
- Specified by:
- insertRowin interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Overrides:
- insertRowin class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
insertRow
public void insertRow(org.eclipse.datatools.sqltools.common.core.tableviewer.IRowData rowData,
                      int row)
- 
- Specified by:
- insertRowin interface- org.eclipse.datatools.sqltools.common.core.tableviewer.ITableData
- Overrides:
- insertRowin class- org.eclipse.datatools.sqltools.common.core.tableviewer.AbstractTableData
 
- 
 
getParameterMode
public ParameterMode getParameterMode(java.lang.String modeValue)
- Returns the ParameterMode matching the customized mode string representation. Vendors that have particular representations
 for the parameter modes can override this method.
 
- 
- Parameters:
- modeValue-
- Returns:
 
getParameterModeValue
public java.lang.String getParameterModeValue(ParameterMode mode)
- Returns the the customized mode string representation matching the given ParameterMode. Vendors that have particular representations
 for the parameter modes can override this method.
 
- 
- Parameters:
- mode-
- Returns: