public class JdbcTypeSG extends TypeSGChainImpl
Modifier | Constructor and Description |
---|---|
protected |
JdbcTypeSG(JaxMeJdbcSG pJdbcSG,
TypeSGChain o,
XSType pType) |
Modifier and Type | Method and Description |
---|---|
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.
|
getComplexTypeSG, getExtendedType, getFactory, getLocator, getName, getProperty, getRestrictedType, getRuntimeType, getSchema, getSchemaHeader, getSimpleTypeSG, getXMLField, getXMLGetMethod, getXMLIsSetMethod, getXMLSetMethod, init, isComplex, isExtension, isGlobalClass, isGlobalType, isRestriction, newSimpleTypeSG, setProperty
protected JdbcTypeSG(JaxMeJdbcSG pJdbcSG, TypeSGChain o, XSType pType)
public java.lang.Object newComplexTypeSG(TypeSG pController) throws org.xml.sax.SAXException
newComplexTypeSG
in interface TypeSGChain
newComplexTypeSG
in class TypeSGChainImpl
org.xml.sax.SAXException
public void generate(TypeSG pController) throws org.xml.sax.SAXException
generate
in interface TypeSGChain
generate
in class TypeSGChainImpl
org.xml.sax.SAXException
public void generate(TypeSG pController, JavaSource pSource) throws org.xml.sax.SAXException
generate
in interface TypeSGChain
generate
in class TypeSGChainImpl
org.xml.sax.SAXException
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.
org.xml.sax.SAXException
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
.
org.xml.sax.SAXException
protected void getFinally(JavaMethod pMethod, DirectAccessible pRessource, java.lang.Object pSqlMsg, java.lang.Object pJaxbMsg)
protected JavaMethod getPMClassInsertMethod(TypeSG pController, JavaSource pSource, CustomTableData pData) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected JavaMethod getPMClassUpdateMethod(TypeSG pController, JavaSource pSource, CustomTableData pData) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected JavaMethod getPMClassDeleteMethod(TypeSG pController, JavaSource pSource, CustomTableData pData) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected JavaMethod getPMClassSelectMethod(TypeSG pController, JavaSource pSource, CustomTableData pData) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void getPMClass(TypeSG pController, JavaSource pSource, CustomTableData pTableData) throws org.xml.sax.SAXException
org.xml.sax.SAXException