|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.generator.parserdata.JdbcTable
Describes a table being mapped to the element.
Constructor Summary | |
JdbcTable()
Creates a new instance of JdbcTable |
Method Summary | |
void |
addListMethod(JdbcListMethod pListMethod)
Adds a new list method to the array of list methods. |
boolean |
getCreateKeyPostInsert()
Returns whether to create a key (if any) before the insert operation (false, default) or after the operation (true). |
java.lang.String |
getCreateKeyQuery()
Returns an SQL query being used in insert operations to create a primary key. |
java.util.Map |
getJdbcKeys()
Returns a map of primary key column names. |
JdbcListMethod[] |
getListMethods()
Returns the array of list methods. |
java.lang.String |
getName()
Returns the views name. |
void |
setCreateKeyPostInsert(boolean pPostInsert)
Sets whether to create a key (if any) before the insert operation (false, default) or after the operation (true). |
void |
setCreateKeyQuery(java.lang.String pQuery)
Sets an SQL query being used in insert operations to create a primary key. |
void |
setJdbcKeys(java.util.Map pKeys)
Sets a map of primary key column names. |
void |
setName(java.lang.String pName)
Sets the views name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JdbcTable()
Method Detail |
public void setName(java.lang.String pName)
Sets the views name.
public java.lang.String getName()
Returns the views name.
public void addListMethod(JdbcListMethod pListMethod)
Adds a new list method to the array of list methods.
public JdbcListMethod[] getListMethods()
Returns the array of list methods.
public void setJdbcKeys(java.util.Map pKeys)
Sets a map of primary key column names. The map keys are the column names and the map values are Integers to be used for sorting the column names.
public java.util.Map getJdbcKeys()
Returns a map of primary key column names. The map keys are the column names and the map values are Integers to be used for sorting the column names.
public void setCreateKeyQuery(java.lang.String pQuery)
Sets an SQL query being used in insert operations to create a primary key.
pQuery
- The query or null to disable key generation.public java.lang.String getCreateKeyQuery()
Returns an SQL query being used in insert operations to create a primary key.
public void setCreateKeyPostInsert(boolean pPostInsert)
Sets whether to create a key (if any) before the insert operation (false, default) or after the operation (true).
public boolean getCreateKeyPostInsert()
Returns whether to create a key (if any) before the insert operation (false, default) or after the operation (true).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |