de.ispsoft.jaxme.generator.javaclasswriter
Class JdbcViewClassWriter

java.lang.Object
  extended byde.ispsoft.jaxme.generator.javaclasswriter.BasicJavaClassWriter
      extended byde.ispsoft.jaxme.generator.javaclasswriter.JdbcTableClassWriter
          extended byde.ispsoft.jaxme.generator.javaclasswriter.JdbcViewClassWriter
All Implemented Interfaces:
JavaClassWriter

public class JdbcViewClassWriter
extends JdbcTableClassWriter

An extension of the JdbcJavaClassWriter for JaxMe views.

Author:
Jochen Wiedmann

Field Summary
 
Fields inherited from class de.ispsoft.jaxme.generator.javaclasswriter.BasicJavaClassWriter
sourceWriter
 
Constructor Summary
JdbcViewClassWriter(SourceWriterImpl pSourceWriter, SchemaComplexElement pElement)
          Creates a new instance of JdbcViewClassWriter
 
Method Summary
protected  JavaMethod getDeleteMethod(JavaSource pJs)
           
protected  JavaMethod getGetFieldListMethod(JavaSource pJs)
           
protected  JavaMethod getGetTableListMethod(JavaSource pJs)
           
protected  JavaMethod getGetWhereMethod(JavaSource pJs)
           
protected  JavaMethod getInsertMethod(JavaSource pJs)
           
protected  JdbcListMethod[] getListMethods()
           
 JavaSource getManagerClass()
          Generates a JMManager class.
protected  JavaComment getManagerClassDocs()
           
protected  JavaMethod getQueryMethod(JavaSource pJs)
           
protected  JavaMethod getUpdateMethod(JavaSource pJs)
           
 
Methods inherited from class de.ispsoft.jaxme.generator.javaclasswriter.JdbcTableClassWriter
addColumnReadCode, generatePrepareStatements, getContextSize, getGetInsertCreatesPrimaryKeyMethod, getInitMethod, getListMethod, getNewPrimaryKeyMethod, getTopLevelFields, getTopLevelKeys, getTopLevelNonKeys, getVoidListMethod
 
Methods inherited from class de.ispsoft.jaxme.generator.javaclasswriter.BasicJavaClassWriter
addRestrictions, addValidationException, fillPrefixList, generateCloneFor, generateField, generateFields, getAddFieldMethod, getChildMap, getChildsToSAXMethod, getCloneMethod, getDefaultConstructor, getDefaultHandlerConstructor, getFieldDeclaration, getGetAttributeMethod, getGetAttributesMethod, getGetElementMethod, getGetFieldMethod, getGetPrefixListMethod, getHandlerClass, getImports, getLocalNameField, getLogWithLog4j, getMyElemField, getNamespaceUriField, getNewContentHandlerMethod, getNewResultNodeMethod, getPrefixListField, getProcessResultNodeMethod, getProtectedConstructor, getSetAttributeMethod, getSetFieldMethod, getStateField, getValidateMeMethod, getValidateMethod, getXmlClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcViewClassWriter

public JdbcViewClassWriter(SourceWriterImpl pSourceWriter,
                           SchemaComplexElement pElement)
Creates a new instance of JdbcViewClassWriter

Method Detail

getGetWhereMethod

protected JavaMethod getGetWhereMethod(JavaSource pJs)
Overrides:
getGetWhereMethod in class JdbcTableClassWriter

getGetTableListMethod

protected JavaMethod getGetTableListMethod(JavaSource pJs)
Overrides:
getGetTableListMethod in class JdbcTableClassWriter

getGetFieldListMethod

protected JavaMethod getGetFieldListMethod(JavaSource pJs)
Overrides:
getGetFieldListMethod in class JdbcTableClassWriter

getInsertMethod

protected JavaMethod getInsertMethod(JavaSource pJs)
Overrides:
getInsertMethod in class JdbcTableClassWriter

getUpdateMethod

protected JavaMethod getUpdateMethod(JavaSource pJs)
Overrides:
getUpdateMethod in class JdbcTableClassWriter

getDeleteMethod

protected JavaMethod getDeleteMethod(JavaSource pJs)
Overrides:
getDeleteMethod in class JdbcTableClassWriter

getManagerClassDocs

protected JavaComment getManagerClassDocs()
Overrides:
getManagerClassDocs in class JdbcTableClassWriter

getQueryMethod

protected JavaMethod getQueryMethod(JavaSource pJs)

getListMethods

protected JdbcListMethod[] getListMethods()
Overrides:
getListMethods in class JdbcTableClassWriter

getManagerClass

public JavaSource getManagerClass()
Description copied from class: BasicJavaClassWriter

Generates a JMManager class.

Specified by:
getManagerClass in interface JavaClassWriter
Overrides:
getManagerClass in class JdbcTableClassWriter