org.apache.ws.jaxme.pm.generator.jdbc
Class JdbcTypeSG
java.lang.Object
   org.apache.ws.jaxme.generator.sg.impl.TypeSGChainImpl
org.apache.ws.jaxme.generator.sg.impl.TypeSGChainImpl
       org.apache.ws.jaxme.pm.generator.jdbc.JdbcTypeSG
org.apache.ws.jaxme.pm.generator.jdbc.JdbcTypeSG
- All Implemented Interfaces: 
- TypeSGChain
- public class JdbcTypeSG- extends TypeSGChainImpl
- Author:
- Jochen Wiedmann
 
| Method Summary | 
|  void | generate(TypeSG pController)
 | 
|  void | generate(TypeSG pController,
         JavaSource pSource)
 | 
| protected  void | getFinally(JavaMethod pMethod,
           DirectAccessible pRessource,
           java.lang.Object pSqlMsg,
           java.lang.Object pJaxbMsg)
 | 
| protected  void | getPMClass(TypeSG pController,
           JavaSource pSource,
           CustomTableData pTableData)
 | 
| protected  JavaMethod | getPMClassDeleteMethod(TypeSG pController,
                       JavaSource pSource,
                       CustomTableData pData)
 | 
| protected  JavaMethod | getPMClassInsertMethod(TypeSG pController,
                       JavaSource pSource,
                       CustomTableData pData)
 | 
| protected  JavaMethod | getPMClassSelectMethod(TypeSG pController,
                       JavaSource pSource,
                       CustomTableData pData)
 | 
| protected  JavaMethod | getPMClassUpdateMethod(TypeSG pController,
                       JavaSource pSource,
                       CustomTableData pData)
 | 
| protected  java.lang.Object | getResultSetValue(JavaMethod pMethod,
                  Column pColumn,
                  java.lang.Object pRs,
                  java.lang.Object pParamNum,
                  TypeSG pTypeSG)Generates code for fetching a value from a
 ResultSet. | 
|  java.lang.Object | newComplexTypeSG(TypeSG pController)
 | 
| protected  void | setPreparedStatementValue(JavaMethod pMethod,
                          Column pColumn,
                          java.lang.Object pStmt,
                          java.lang.Object pParamNum,
                          java.lang.Object pValue,
                          TypeSG pTypeSG)Generates code for setting a PreparedStatement's parameter.
 | 
 
| Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.TypeSGChainImpl | 
| getComplexTypeSG, getExtendedType, getFactory, getLocator, getName, getProperty, getRestrictedType, getRuntimeType, getSchema, getSchemaHeader, getSimpleTypeSG, getXMLField, getXMLGetMethod, getXMLIsSetMethod, getXMLSetMethod, init, isComplex, isExtension, isGlobalClass, isGlobalType, isRestriction, newSimpleTypeSG, setProperty | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JdbcTypeSG
protected JdbcTypeSG(JaxMeJdbcSG pJdbcSG,
                     TypeSGChain o,
                     XSType pType)
newComplexTypeSG
public java.lang.Object newComplexTypeSG(TypeSG pController)
                                  throws org.xml.sax.SAXException
- 
- Specified by:
- newComplexTypeSGin interface- TypeSGChain
- Overrides:
- newComplexTypeSGin class- TypeSGChainImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
generate
public void generate(TypeSG pController)
              throws org.xml.sax.SAXException
- 
- Specified by:
- generatein interface- TypeSGChain
- Overrides:
- generatein class- TypeSGChainImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
generate
public void generate(TypeSG pController,
                     JavaSource pSource)
              throws org.xml.sax.SAXException
- 
- Specified by:
- generatein interface- TypeSGChain
- Overrides:
- generatein class- TypeSGChainImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
setPreparedStatementValue
protected void setPreparedStatementValue(JavaMethod pMethod,
                                         Column pColumn,
                                         java.lang.Object pStmt,
                                         java.lang.Object pParamNum,
                                         java.lang.Object pValue,
                                         TypeSG pTypeSG)
                                  throws org.xml.sax.SAXException
- Generates code for setting a PreparedStatement's parameter. - 
 
- 
- Throws:
- org.xml.sax.SAXException
 
getResultSetValue
protected java.lang.Object getResultSetValue(JavaMethod pMethod,
                                             Column pColumn,
                                             java.lang.Object pRs,
                                             java.lang.Object pParamNum,
                                             TypeSG pTypeSG)
                                      throws org.xml.sax.SAXException
- Generates code for fetching a value from a - ResultSet.
 - 
 
- 
- Throws:
- org.xml.sax.SAXException
 
getFinally
protected void getFinally(JavaMethod pMethod,
                          DirectAccessible pRessource,
                          java.lang.Object pSqlMsg,
                          java.lang.Object pJaxbMsg)
- 
 
getPMClassInsertMethod
protected JavaMethod getPMClassInsertMethod(TypeSG pController,
                                            JavaSource pSource,
                                            CustomTableData pData)
                                     throws org.xml.sax.SAXException
- 
- Throws:
- org.xml.sax.SAXException
 
getPMClassUpdateMethod
protected JavaMethod getPMClassUpdateMethod(TypeSG pController,
                                            JavaSource pSource,
                                            CustomTableData pData)
                                     throws org.xml.sax.SAXException
- 
- Throws:
- org.xml.sax.SAXException
 
getPMClassDeleteMethod
protected JavaMethod getPMClassDeleteMethod(TypeSG pController,
                                            JavaSource pSource,
                                            CustomTableData pData)
                                     throws org.xml.sax.SAXException
- 
- Throws:
- org.xml.sax.SAXException
 
getPMClassSelectMethod
protected JavaMethod getPMClassSelectMethod(TypeSG pController,
                                            JavaSource pSource,
                                            CustomTableData pData)
                                     throws org.xml.sax.SAXException
- 
- Throws:
- org.xml.sax.SAXException
 
getPMClass
protected void getPMClass(TypeSG pController,
                          JavaSource pSource,
                          CustomTableData pTableData)
                   throws org.xml.sax.SAXException
- 
- Throws:
- org.xml.sax.SAXException