org.eclipse.datatools.connectivity.sqm.loader
Class JDBCRoutineLoader.ProcedureFactory
java.lang.Object
   org.eclipse.datatools.connectivity.sqm.loader.JDBCRoutineLoader.ProcedureFactory
org.eclipse.datatools.connectivity.sqm.loader.JDBCRoutineLoader.ProcedureFactory
- All Implemented Interfaces: 
- JDBCRoutineLoader.IRoutineFactory
- Direct Known Subclasses: 
- JDBCRoutineLoader.UserDefinedFunctionFactory, SchemaASABaseLoader.ASABaseRoutineLoader.ASAProcedureFactory, SchemaASABaseLoader.ASABaseRoutineLoader.ASAUseDefinedFunctionFactory
- Enclosing class:
- JDBCRoutineLoader
- public static class JDBCRoutineLoader.ProcedureFactory 
- extends java.lang.Object- implements JDBCRoutineLoader.IRoutineFactory
Base factory implementation for SP.
 
| Method Summary | 
|  Routine | createRoutine(java.sql.ResultSet rs)Creates and initializes a new Procedure object from the meta-data in
 the result set.
 | 
|  org.eclipse.emf.ecore.EClass | getRoutineEClass()
 | 
|  void | initialize(Routine routine,
           java.sql.ResultSet rs)Initializes the new Routine object using the meta-data in the result
 set.
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JDBCRoutineLoader.ProcedureFactory
public JDBCRoutineLoader.ProcedureFactory()
getRoutineEClass
public org.eclipse.emf.ecore.EClass getRoutineEClass()
- 
- Specified by:
- getRoutineEClassin interface- JDBCRoutineLoader.IRoutineFactory
 
- 
- Returns:
- SQLRoutinesPackage.eINSTANCE.getProcedure()
- See Also:
- JDBCRoutineLoader.IRoutineFactory.getRoutineEClass()
 
createRoutine
public Routine createRoutine(java.sql.ResultSet rs)
                      throws java.sql.SQLException
- Creates and initializes a new Procedure object from the meta-data in
 the result set.
 
- 
- Specified by:
- createRoutinein interface- JDBCRoutineLoader.IRoutineFactory
 
- 
- Parameters:
- rs- the result set
- Returns:
- a new, initialized Routine object.
- Throws:
- java.sql.SQLException- if anything goes wrong
- See Also:
- JDBCRoutineLoader.IRoutineFactory.createRoutine(java.sql.ResultSet)
 
initialize
public void initialize(Routine routine,
                       java.sql.ResultSet rs)
                throws java.sql.SQLException
- Initializes the new Routine object using the meta-data in the result
 set. This method initializes the name and description of the
 procedure.
 
- 
- Specified by:
- initializein interface- JDBCRoutineLoader.IRoutineFactory
 
- 
- Parameters:
- routine- a new Routine object
- rs- the result set
- Throws:
- java.sql.SQLException- if anything goes wrong