# Column Data Accessor

###### Identifier:

org.eclipse.datatools.sqltools.data.core.columnDataAccessor

###### Since:

08/10/2005

###### Description:

The columnDataAccessor allows to contribute an IColumnDataAccessor object to be used with a particular vendor, version and datatype. The contributed object is then used to perform the data access in the table editor, allowing to implement support for database-specific data types.

###### Configuration Markup:

<!ELEMENT extension (accessor)*>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT accessor EMPTY>

<!ATTLIST accessor

vendor CDATA #IMPLIED

version CDATA #IMPLIED

dataType CDATA #IMPLIED

class CDATA #REQUIRED>

This element specifies an IColumnDataAccessor to be used with a combination of vendor/version/data type. If several contributions matches a given column, the most specific contribution is used (the one that specifies the highest number of criteria).

- vendor - Vendor ID: 'product' attribute from the org.eclipse.wst.rdb.core.databaseDefinition extension. Ommit to match all vendors, or separate multiple vendors with commas.
- version - Version ID: 'version' attribute from the org.eclipse.wst.rdb.core.databaseDefinition extension. Ommit to match all versions, or separate multiple versions with commas.
- dataType - Data type ID: type name from the product xmi definition. Ommit to match all data types, or separate multiple data types with commas.
- class - A class that implements IColumnDataAccessor.

Copyright (c) 2001, 2004 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html