|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.generator.SchemaAnnotationOwner de.ispsoft.jaxme.generator.SchemaElement de.ispsoft.jaxme.generator.SchemaComplexElement de.ispsoft.jaxme.generator.SchemaComplexJdbcElement
An extension of the SchemaComplexElement with additional information related to JDBC.
Nested Class Summary |
Nested classes inherited from class de.ispsoft.jaxme.generator.SchemaElement |
SchemaElement.ClassExtension, SchemaElement.ImplementedInterface, SchemaElement.PieceOfJavaSource |
Field Summary | |
JdbcTable |
table
|
JdbcView |
view
|
Fields inherited from class de.ispsoft.jaxme.generator.SchemaComplexElement |
COMPLEX_TYPE_ALL, COMPLEX_TYPE_CHOICE, COMPLEX_TYPE_SEQUENCE |
Constructor Summary | |
SchemaComplexJdbcElement(SchemaAnnotationOwner pParent)
Creates a new instance of SchemaComplexJdbcElement |
Method Summary | |
void |
addSqlField(SqlField pField)
Adds an element to the list of SQL fields. |
void |
clearSqlFields()
Clears the list of SQL fields. |
java.lang.String |
getSelectTables()
Returns the elements table list. |
java.util.Iterator |
getSqlFieldList()
Returns an iterator to the list of SQL fields. |
JdbcTable |
getTable()
Returns the elements table name. |
boolean |
getUseDataSource()
Returns whether to use a DataSource. |
JdbcView |
getView()
Returns the current view. |
java.lang.String |
getWhere()
Returns an additional filter for the where clause. |
boolean |
isTable()
Returns whether this element is based on a table. |
boolean |
isView()
Returns whether this element is a view. |
void |
setSelectTables(java.lang.String pSelectTables)
Sets the elements table list. |
void |
setTable(JdbcTable pTable)
Sets the elements table name. |
void |
setUseDataSource(boolean pUseDataSource)
Sets whether to use a DataSource. |
void |
setView(JdbcView pView)
Adds a new view to the list of generated views. |
void |
setWhere(java.lang.String pWhere)
Sets an additional filter for the where clause. |
Methods inherited from class de.ispsoft.jaxme.generator.SchemaComplexElement |
addAttribute, addChild, clearAttributes, clearChilds, getAttributes, getChilds, getClassName, getComplexType, getDefaultClassName, getErrorCode, getFieldType, getInstanceType, getPrefixList, hasProtectedConstructor, isAnyType, isAttribute, isComplex, setComplexType, setErrorCode, setPrefixList, setProtectedConstructor |
Methods inherited from class de.ispsoft.jaxme.generator.SchemaAnnotationOwner |
getAccessors, getDocumentation, getExtendsClassName, getPackageName, setAccessors, setDocumentation, setExtendsClassName, setPackageName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public JdbcView view
public JdbcTable table
Constructor Detail |
public SchemaComplexJdbcElement(SchemaAnnotationOwner pParent)
Method Detail |
public java.util.Iterator getSqlFieldList()
Returns an iterator to the list of SQL fields.
public void addSqlField(SqlField pField)
Adds an element to the list of SQL fields.
public void clearSqlFields()
Clears the list of SQL fields.
public java.lang.String getSelectTables()
Returns the elements table list. By default the table name is returned.
public void setSelectTables(java.lang.String pSelectTables)
Sets the elements table list.
public JdbcTable getTable()
Returns the elements table name.
public void setTable(JdbcTable pTable) throws SchemaException
Sets the elements table name.
SchemaException
public void setWhere(java.lang.String pWhere)
Sets an additional filter for the where clause.
public java.lang.String getWhere()
Returns an additional filter for the where clause.
public void setUseDataSource(boolean pUseDataSource)
Sets whether to use a DataSource. This means that the
generated Manager will by default extend JMJdbcDataSourceManager
and not JMJdbcManager
.
getUseDataSource()
public boolean getUseDataSource()
Returns whether to use a DataSource. This means that the
generated Manager will by default extend JMJdbcDataSourceManager
and not JMJdbcManager
.
setUseDataSource(boolean)
public void setView(JdbcView pView) throws SchemaException
Adds a new view to the list of generated views.
SchemaException
public JdbcView getView()
Returns the current view.
public boolean isTable()
Returns whether this element is based on a table.
public boolean isView()
Returns whether this element is a view.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |