org.eclipse.datatools.connectivity.sqm.loader
Interface JDBCUserDefinedTypeLoader.IUDTFactory
- All Known Implementing Classes:
- JDBCUserDefinedTypeLoader.StructTypeFactory
- Enclosing interface:
- JDBCUserDefinedTypeLoader
- public static interface JDBCUserDefinedTypeLoader.IUDTFactory
Interface for providing creation logic for UDTs.
getUDTEClass
public EClass getUDTEClass()
- Returns:
- the EClass used to represent the UDT objects created by this
factory. This is used to identify existing objects in the
model during a refresh (e.g. to reuse the object, preventing
external references from breaking).
createUDT
public UserDefinedType createUDT(java.sql.ResultSet rs)
throws java.sql.SQLException
- Creates and initializes a UDT object based on the meta-data in the
result set.
- Parameters:
rs - the result set
- Returns:
- a new, initialized UserDefinedType object.
- Throws:
java.sql.SQLException - if anything goes wrong
Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.